diff --git a/App.vue b/App.vue index f17a89b..850f8d6 100644 --- a/App.vue +++ b/App.vue @@ -3,6 +3,8 @@ const jpushModule = uni.requireNativePlugin("JG-JPush"); // #endif + import Cache from '@/utils/cache'; + export default { onLaunch: function() { console.log('App Launch') @@ -11,8 +13,15 @@ plus.screen.lockOrientation('landscape-primary'); // #endif + }, + onLoad() { + + }, onShow: function() { + + + console.log('App Show') const audioContext = uni.createInnerAudioContext() // 设置音频文件地址 @@ -46,6 +55,5 @@ } @import "static/css/base.css"; - @import url('static/iconfont/iconfont.css') \ No newline at end of file diff --git a/androidPrivacy.json b/androidPrivacy.json new file mode 100644 index 0000000..759f5c2 --- /dev/null +++ b/androidPrivacy.json @@ -0,0 +1,35 @@ +{ + "version" : "1", + "prompt" : "template", + "title" : "服务协议和隐私政策", + "message" : "  请你务必审慎阅读、充分理解“服务协议”和“隐私政策”各条款,包括但不限于:为了更好的向你提供服务,我们需要收集你的设备标识、操作日志等信息用于分析、优化应用性能。
  你可阅读《服务协议》《隐私政策》了解详细信息。如果你同意,请点击下面按钮开始接受我们的服务。", + "buttonAccept" : "同意并接受", + "buttonRefuse" : "暂不同意", + "hrefLoader" : "system|default", + "backToExit" : "false", + "second" : { + "title" : "确认提示", + "message" : "  进入应用前,你需先同意《服务协议》《隐私政策》,否则将退出应用。", + "buttonAccept" : "同意并继续", + "buttonRefuse" : "退出应用" + }, + "disagreeMode" : { + "support" : false, + "loadNativePlugins" : false, + "visitorEntry" : true, + "showAlways" : false + }, + "styles" : { + "backgroundColor" : "#fff", + "borderRadius" : "5px", + "title" : { + "color" : "#000" + }, + "buttonAccept" : { + "color" : "#000" + }, + "buttonRefuse" : { + "color" : "#000" + } + } +} diff --git a/components/index/detaila.vue b/components/index/detaila.vue index ba05276..e752e1c 100644 --- a/components/index/detaila.vue +++ b/components/index/detaila.vue @@ -1,5 +1,5 @@