Commit dd4daf8e authored by jyx's avatar jyx

灵思小说阁

parent 5c0bea3f
...@@ -54,22 +54,6 @@ ...@@ -54,22 +54,6 @@
} }
// checkUpdate(this); // 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) { onShow: function(options) {
this.globalData.resetLogin = true this.globalData.resetLogin = true
...@@ -77,9 +61,7 @@ ...@@ -77,9 +61,7 @@
onHide: function() { onHide: function() {
this.globalData.resetLogin = false this.globalData.resetLogin = false
}, },
methods: { methods: {},
},
globalData: { globalData: {
resetLogin: false, resetLogin: false,
statusBarHeight: 0, statusBarHeight: 0,
...@@ -89,7 +71,6 @@ ...@@ -89,7 +71,6 @@
bottomSafePadding: 12, bottomSafePadding: 12,
h5Url: 'https://api.mints-id.com/index.html', h5Url: 'https://api.mints-id.com/index.html',
baseUrl: 'https://dx.mints-tech.cn/minip-api/miniApi', baseUrl: 'https://dx.mints-tech.cn/minip-api/miniApi',
// baseUrl: 'http://192.168.110.141:8303/miniApi',
titleButtonWidth: 38, titleButtonWidth: 38,
token: '', token: '',
userId: 0, 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 @@ ...@@ -138,7 +138,7 @@
this.backvipBean = null; this.backvipBean = null;
} }
if (tt.getSystemInfoSync().platform === 'ios') { if (ks.getSystemInfoSync().platform === 'ios') {
this.os = 'ios'; this.os = 'ios';
} }
...@@ -232,17 +232,17 @@ ...@@ -232,17 +232,17 @@
}); });
}, },
ttPrePay(ttData, largeType) { ttPrePay(ttData, largeType) {
if (!tt.canIUse('requestOrder')) { // if (!ks.canIUse('requestOrder')) {
message.notify('请升级抖音APP版本.'); // message.notify('请升级抖音APP版本.');
return // return
} // }
uni.showLoading({ uni.showLoading({
title: '加载中...' title: '加载中...'
}); });
let that = this; let that = this;
tt.requestOrder({ ks.requestOrder({
data: ttData.params.data, data: ttData.params.data,
byteAuthorization: ttData.params.byteAuthorization, byteAuthorization: ttData.params.byteAuthorization,
success(res) { success(res) {
...@@ -258,19 +258,19 @@ ...@@ -258,19 +258,19 @@
ttPay(largeType, oid, ttData) { ttPay(largeType, oid, ttData) {
uni.hideLoading(); uni.hideLoading();
if (!tt.canIUse('getOrderPayment')) { // if (!ks.canIUse('getOrderPayment')) {
message.notify('请升级抖音APP版本!'); // message.notify('请升级抖音APP版本!');
return // return
} // }
let that = this; let that = this;
if (this.os == 'ios') { if (this.os == 'ios') {
if (!tt.canIUse('getOrderPayment.object.imId')) { // if (!ks.canIUse('getOrderPayment.object.imId')) {
message.notify('请升级抖音APP版本~'); // message.notify('请升级抖音APP版本~');
return // return
} // }
tt.getOrderPayment({ ks.getOrderPayment({
orderId: oid, orderId: oid,
imId: ttData.imId, imId: ttData.imId,
success(res) { success(res) {
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<image style="width: 30rpx;height: 30rpx;" src="@/static/index/ic_quit_white.png" mode="widthFix" /> <image style="width: 30rpx;height: 30rpx;" src="@/static/index/ic_quit_white.png" mode="widthFix" />
</view> </view>
<text class="mt-10" style="font-size: 46rpx;">如何继续使用?</text> <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 class="mt-30" mode="widthFix" :src="maskImage1"></image>
<image :src="maskImage2" mode="widthFix"></image> <image :src="maskImage2" mode="widthFix"></image>
......
...@@ -194,7 +194,7 @@ ...@@ -194,7 +194,7 @@
"uniStatistics" : { "uniStatistics" : {
"enable" : false "enable" : false
}, },
"appid" : "ks701435642108212394" "appid" : "ks714102018542969360"
}, },
"mp-lark" : { "mp-lark" : {
"uniStatistics" : { "uniStatistics" : {
......
import { import {
navigateTo,
redirectTo,
loading, loading,
message, message,
confirm,
alert
} from '../utils/fun.js'; } from '../utils/fun.js';
import { import {
apiPOST apiPOST
} from '../common/utils/apiRequest.js' } from '../common/utils/apiRequest.js'
const app = getApp();
export default { export default {
data() { data() {
return { return {
xhrPool: new Set(), xhrPool: new Set(),
bottomSafePadding: app.globalData.bottomSafePadding,
options: {}, options: {},
auth: false, // 登录验证 auth: false, // 登录验证
paying: false, // 支付按钮状态
}; };
}, },
onLoad(options) { onLoad(options) {
this.options = options; this.options = options;
},
onShow() {
this.loadData();
}, },
onHide() { onHide() {
if (this.xhrPool.size) { if (this.xhrPool && this.xhrPool.size) {
this.xhrPool.forEach((requestTask) => { this.xhrPool.forEach((requestTask) => {
requestTask.abort(); requestTask.abort();
}) })
} }
}, },
methods: { 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) { post(options) {
options = Object.assign({ options = Object.assign({
showLoading: true showLoading: true
...@@ -89,14 +34,6 @@ export default { ...@@ -89,14 +34,6 @@ export default {
}) })
this.req(options); this.req(options);
}, },
// get(options) {
// options = Object.assign({
// showLoading: false
// }, options, {
// method: 'GET'
// })
// this.req(options);
// },
req(options) { req(options) {
let { let {
showLoading, showLoading,
...@@ -123,7 +60,7 @@ export default { ...@@ -123,7 +60,7 @@ export default {
}) })
} else { } else {
fail(_data) fail(_data)
message.notify(res.data.message); message.notify(_data);
} }
} }
}) })
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
}, },
methods: { methods: {
tapVip() { tapVip() {
let isIOS = tt.getSystemInfoSync().platform; let isIOS = ks.getSystemInfoSync().platform;
if (isIOS === 'ios') { if (isIOS === 'ios') {
uni.showToast({ uni.showToast({
title: '暂不支持IOS系统', title: '暂不支持IOS系统',
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
{ {
"path": "pages/home", "path": "pages/home",
"style": { "style": {
"navigationBarTitleText": "河狸故事汇", "navigationBarTitleText": "灵思小说阁",
"navigationStyle": "default", "navigationStyle": "default",
"navigationBarBackgroundColor": "#ffffff", "navigationBarBackgroundColor": "#ffffff",
"navigationBarTextStyle": "black" "navigationBarTextStyle": "black"
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
return { return {
tips1: '', tips1: '',
slotParam: '', slotParam: '',
appName: '河狸故事汇' appName: '灵思小说阁'
} }
}, },
onLoad(options) { onLoad(options) {
...@@ -91,6 +91,9 @@ ...@@ -91,6 +91,9 @@
setTimeout(() => { setTimeout(() => {
redirectTo('home?&idcode=' + data.idcode); redirectTo('home?&idcode=' + data.idcode);
}, 500); }, 500);
},
fail(data) {
console.log(`login 调用失败`);
} }
}); });
}, },
...@@ -103,7 +106,7 @@ ...@@ -103,7 +106,7 @@
} }
}; };
</script> </script>
<style lang="scss"> <style lang="scss">
.body { .body {
background-color: white; background-color: white;
......
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 const VERSION_CODE = '1.0.0'
export function trim(str) { export function trim(str) {
return str ? str.replace(/(^\s*)|(\s*$)/g, "") : '' return str ? str.replace(/(^\s*)|(\s*$)/g, "") : ''
} }
......
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