Commit dd4daf8e authored by jyx's avatar jyx

灵思小说阁

parent 5c0bea3f
......@@ -54,22 +54,6 @@
}
// checkUpdate(this);
// #ifdef H5
if (window.location.host === 'www.baosheji.cn') {
var icp = document.createElement('div');
icp.innerText = '京ICP备18032652号';
icp.style.color = 'white';
icp.style.textAlign = 'center';
icp.style.position = 'fixed';
icp.style.bottom = '0';
icp.style.left = '0';
icp.style.right = '0';
icp.style.zIndex = '100';
document.body.appendChild(icp);
}
// #endif
},
onShow: function(options) {
this.globalData.resetLogin = true
......@@ -77,9 +61,7 @@
onHide: function() {
this.globalData.resetLogin = false
},
methods: {
},
methods: {},
globalData: {
resetLogin: false,
statusBarHeight: 0,
......@@ -89,7 +71,6 @@
bottomSafePadding: 12,
h5Url: 'https://api.mints-id.com/index.html',
baseUrl: 'https://dx.mints-tech.cn/minip-api/miniApi',
// baseUrl: 'http://192.168.110.141:8303/miniApi',
titleButtonWidth: 38,
token: '',
userId: 0,
......
{
"version" : "1",
"prompt" : "template",
"title" : "服务协议和隐私政策",
"message" : "请你务必审慎阅读、充分理解“服务协议”和“隐私政策”各条款,包括但不限于:为了更好的向你提供服务,我们需要收集你的设备标识、操作日志等信息用于分析、优化应用性能。<br/>  你可阅读<a href=\"https://shimo.im/docs/dPkpKL1EVNIBbXqO\">《用户协议》</a>和<a href=\"https://shimo.im/docs/aBAYVY4mNXfgLm3j\">《隐私政策》</a>了解详细信息。如果你同意,请点击下面按钮开始接受我们的服务。",
"buttonAccept" : "同意并接受",
"buttonRefuse" : "暂不同意",
"second" : {
"title" : "确认提示",
"message" : "进入应用前,你需先同意<a href=\"https://shimo.im/docs/dPkpKL1EVNIBbXqO\">《用户协议》</a>和<a href=\"https://shimo.im/docs/aBAYVY4mNXfgLm3j\">《隐私政策》</a>,否则将退出应用。",
"buttonAccept" : "同意并继续",
"buttonRefuse" : "退出应用"
},
"styles" : {
"backgroundColor" : "#ffffff",
"borderRadius" : "5px",
"title" : {
"color" : "#008cfb"
},
"buttonAccept" : {
"color" : "#008cfb"
},
"buttonRefuse" : {
"color" : "#c0c0c0"
}
}
}
......@@ -138,7 +138,7 @@
this.backvipBean = null;
}
if (tt.getSystemInfoSync().platform === 'ios') {
if (ks.getSystemInfoSync().platform === 'ios') {
this.os = 'ios';
}
......@@ -232,17 +232,17 @@
});
},
ttPrePay(ttData, largeType) {
if (!tt.canIUse('requestOrder')) {
message.notify('请升级抖音APP版本.');
return
}
// if (!ks.canIUse('requestOrder')) {
// message.notify('请升级抖音APP版本.');
// return
// }
uni.showLoading({
title: '加载中...'
});
let that = this;
tt.requestOrder({
ks.requestOrder({
data: ttData.params.data,
byteAuthorization: ttData.params.byteAuthorization,
success(res) {
......@@ -258,19 +258,19 @@
ttPay(largeType, oid, ttData) {
uni.hideLoading();
if (!tt.canIUse('getOrderPayment')) {
message.notify('请升级抖音APP版本!');
return
}
// if (!ks.canIUse('getOrderPayment')) {
// message.notify('请升级抖音APP版本!');
// return
// }
let that = this;
if (this.os == 'ios') {
if (!tt.canIUse('getOrderPayment.object.imId')) {
message.notify('请升级抖音APP版本~');
return
}
// if (!ks.canIUse('getOrderPayment.object.imId')) {
// message.notify('请升级抖音APP版本~');
// return
// }
tt.getOrderPayment({
ks.getOrderPayment({
orderId: oid,
imId: ttData.imId,
success(res) {
......
......@@ -5,7 +5,7 @@
<image style="width: 30rpx;height: 30rpx;" src="@/static/index/ic_quit_white.png" mode="widthFix" />
</view>
<text class="mt-10" style="font-size: 46rpx;">如何继续使用?</text>
<text class="m-10">找到“河狸故事汇”小程序</text>
<text class="m-10">找到“灵思小说阁”小程序</text>
<image class="mt-30" mode="widthFix" :src="maskImage1"></image>
<image :src="maskImage2" mode="widthFix"></image>
......
......@@ -194,7 +194,7 @@
"uniStatistics" : {
"enable" : false
},
"appid" : "ks701435642108212394"
"appid" : "ks714102018542969360"
},
"mp-lark" : {
"uniStatistics" : {
......
import {
navigateTo,
redirectTo,
loading,
message,
confirm,
alert
} from '../utils/fun.js';
import {
apiPOST
} from '../common/utils/apiRequest.js'
const app = getApp();
export default {
data() {
return {
xhrPool: new Set(),
bottomSafePadding: app.globalData.bottomSafePadding,
options: {},
auth: false, // 登录验证
paying: false, // 支付按钮状态
};
},
onLoad(options) {
this.options = options;
},
onShow() {
this.loadData();
},
onHide() {
if (this.xhrPool.size) {
if (this.xhrPool && this.xhrPool.size) {
this.xhrPool.forEach((requestTask) => {
requestTask.abort();
})
}
},
methods: {
authTo(url) { //登录校验
},
authToNs(url) { //登录校验不保留当前页面
},
loadData() {},
startPay() {
loading.show();
this.paying = true;
},
stopPay() {
loading.hide();
this.paying = false;
},
/**
* @param {Object} url 接口请求地址
* @param {Object} method 接口请求方式
* @param {Object} data 接口请求参数
*/
$http(url, method, data = {}, showLoading = false) {
return new Promise((resolve, reject) => {
this[method.toLowerCase()]({
url: url,
data: data,
showLoading: showLoading,
success: (res) => {
resolve(res)
},
fail: (e) => {
reject(e)
}
});
})
},
login() {
// navigateTo('user/login');
// let redirect = this.$scope.$page.fullPath.replace('/pages', '');
// console.log(redirect)
// navigateTo('user/login?redirect=' + encodeURIComponent(redirect));
},
logout() {
},
post(options) {
options = Object.assign({
showLoading: true
......@@ -89,14 +34,6 @@ export default {
})
this.req(options);
},
// get(options) {
// options = Object.assign({
// showLoading: false
// }, options, {
// method: 'GET'
// })
// this.req(options);
// },
req(options) {
let {
showLoading,
......@@ -123,7 +60,7 @@ export default {
})
} else {
fail(_data)
message.notify(res.data.message);
message.notify(_data);
}
}
})
......
......@@ -29,7 +29,7 @@
},
methods: {
tapVip() {
let isIOS = tt.getSystemInfoSync().platform;
let isIOS = ks.getSystemInfoSync().platform;
if (isIOS === 'ios') {
uni.showToast({
title: '暂不支持IOS系统',
......
......@@ -21,7 +21,7 @@
{
"path": "pages/home",
"style": {
"navigationBarTitleText": "河狸故事汇",
"navigationBarTitleText": "灵思小说阁",
"navigationStyle": "default",
"navigationBarBackgroundColor": "#ffffff",
"navigationBarTextStyle": "black"
......
......@@ -39,7 +39,7 @@
return {
tips1: '',
slotParam: '',
appName: '河狸故事汇'
appName: '灵思小说阁'
}
},
onLoad(options) {
......@@ -91,6 +91,9 @@
setTimeout(() => {
redirectTo('home?&idcode=' + data.idcode);
}, 500);
},
fail(data) {
console.log(`login 调用失败`);
}
});
},
......
vedio/static/logo-about.png

16.4 KB | W: | H:

vedio/static/logo-about.png

25.2 KB | W: | H:

vedio/static/logo-about.png
vedio/static/logo-about.png
vedio/static/logo-about.png
vedio/static/logo-about.png
  • 2-up
  • Swipe
  • Onion skin
export const PAKEAGE_NAME = 'com.mingce.kshelibook'
export const PAKEAGE_NAME = 'com.judong.kslingsi'
export const VERSION_CODE = '1.0.0'
export function trim(str) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment