diff --git a/App.vue b/App.vue index f514d50..c7e2217 100644 --- a/App.vue +++ b/App.vue @@ -64,9 +64,18 @@ export default { // #endif }, - onShow() { + onShow() { // #ifndef H5 - this.getClipboard(); + // this.getClipboard(); + // #endif + // #ifdef APP-PLUS + console.log(storage.getShow()); + if (storage.getShow()) { + if(uni.getSystemInfoSync().platform == 'ios'){ + this.$u.route("/pages/tabbar/screen/fullScreen"); + // uni.reLaunch({ url: "/pages/tabbar/screen/fullScreen" }); + } + } // #endif }, methods: { diff --git a/androidPrivacy.json b/androidPrivacy.json new file mode 100644 index 0000000..5a57f2b --- /dev/null +++ b/androidPrivacy.json @@ -0,0 +1,17 @@ +{ + "version" : "1", + "prompt" : "template", + "title" : "服务协议和隐私政策", + "message" : "  请你务必审慎阅读、充分理解“服务协议”和“隐私政策”各条款,包括但不限于:为了更好的向你提供服务,我们需要收集你的设备标识、操作日志等信息用于分析、优化应用性能。
  你可阅读《服务协议》《隐私政策》了解详细信息。如果你同意,请点击下面按钮开始接受我们的服务。", + "buttonAccept" : "同意并接受", + "buttonRefuse" : "暂不同意", + "second" : { + "title" : "确认提示", + "message" : "  进入应用前,你需先同意《服务协议》《隐私政策》,否则将退出应用。", + "buttonAccept" : "同意并继续", + "buttonRefuse" : "退出应用" + }, + "styles" : { + "borderRadius" : "5px" + } +} diff --git a/manifest.json b/manifest.json index 6973972..33d1dd9 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "name" : "lili商城", - "appid" : "__UNI__C100675", + "appid" : "__UNI__83F0C3D", "description" : "", "versionName" : "4.2.5", "versionCode" : 4000250, diff --git a/pages.json b/pages.json index 9b10a21..4d1a33f 100644 --- a/pages.json +++ b/pages.json @@ -14,7 +14,18 @@ "enablePullDownRefresh":true } }, - + { + "path":"pages/tabbar/screen/fullScreen", + "style": { + "navigationStyle": "custom", // 隐藏系统导航栏 + "app-plus":{ + "animationType": "fade-in", // 设置fade-in淡入动画,为最合理的动画类型 + "background": "transparent", // 背景透明 + "backgroundColor": "rgba(0,0,0,0)", // 背景透明 + "popGesture": "none" // 关闭IOS屏幕左边滑动关闭当前页面的功能 + } + } + }, { "path": "pages/tabbar/cart/cartList", "style": { diff --git a/pages/tabbar/screen/fullScreen.vue b/pages/tabbar/screen/fullScreen.vue new file mode 100644 index 0000000..f089fa2 --- /dev/null +++ b/pages/tabbar/screen/fullScreen.vue @@ -0,0 +1,95 @@ + + + + + diff --git a/utils/storage.js b/utils/storage.js index 9fefeb3..f7befdd 100644 --- a/utils/storage.js +++ b/utils/storage.js @@ -18,7 +18,16 @@ export default { getHotWords() { return uni.getStorageSync(`hotWords`); }, - + //写入 展示还是不展示 + setShow(val) { + uni.setStorageSync("show", val); + }, + getShow() { + if (uni.getStorageSync(`show`) === "" || uni.getStorageSync(`show`) === undefined) { + return true; + } + return uni.getStorageSync(`show`); + }, // 获取face id登录 getFaceLogin() { return uni.getStorageSync(FACE_LOGIN);