From f625109e2d9cc8823f87d8cefd9340f5ea3e68ec Mon Sep 17 00:00:00 2001
From: "@fawn-nine" <1271023382@qq.com>
Date: Mon, 27 Nov 2023 16:00:43 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=97=E5=85=B6=E4=BB=96app?=
=?UTF-8?q?=E4=BC=A0=E9=80=92=E7=9A=84=E5=8F=82=E6=95=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
App.vue | 24 +++++++++++++++---------
manifest.json | 2 +-
pages/peanut/mine.vue | 5 +++--
3 files changed, 19 insertions(+), 12 deletions(-)
diff --git a/App.vue b/App.vue
index 8e1ba4d..22efeb7 100644
--- a/App.vue
+++ b/App.vue
@@ -17,11 +17,11 @@
import updata from '@/uni_modules/uni-upgrade-center-app/utils/check-update'
// #endif
import Vue from 'vue'
-
+
export default {
- data(){
- return{
- platform:null, // 系统
+ data() {
+ return {
+ platform: null, // 系统
}
},
onLaunch: function(e) {
@@ -144,10 +144,10 @@
}
// APPUpdate();
// #endif
-
+
},
- onShow: function(e) {
-
+ onShow: function(e) {
+
// #ifdef MP-WEIXIN
//获取二维码携带的参数
let scene = decodeURIComponent(e.query.scene);
@@ -192,6 +192,13 @@
});
}
// #endif
+ // #ifdef APP-PLUS
+ var args = plus.runtime.arguments;
+ if (args) {
+ // 处理args参数,如直达到某新页面等
+ console.log(args)
+ }
+ // #endif
},
onHide: function() {},
destroyed() {
@@ -200,8 +207,7 @@
})
console.log('页面销毁')
},
- methods: {
- }
+ methods: {}
};
diff --git a/manifest.json b/manifest.json
index ff03837..61cd12a 100644
--- a/manifest.json
+++ b/manifest.json
@@ -22,7 +22,7 @@
"prompt" : "template",
"template" : {
"title" : "用户协议和隐私政策",
- "message" : "请你务必审慎阅读、充分理解“隐私政策”各条款,包括但不限于:为了更好的向你提供服务,我们需要收集你的设备标识、操作日志等信息用于分析、优化应用性能。
你可阅读《用户协议》和《隐私协议》了解详细信息。如果你同意,请点击下面按钮开始接受我们的服务。",
+ "message" : "请你务必审慎阅读、充分理解“隐私政策”各条款,包括但不限于:为了更好的向你提供服务,我们需要收集你的设备标识、操作日志等信息用于分析、优化应用性能。
你可阅读《用户协议》和《隐私协议》了解详细信息。如果你同意,请点击下面按钮开始接受我们的服务。",
"buttonAccept" : "同意",
"buttonRefuse" : "暂不同意"
}
diff --git a/pages/peanut/mine.vue b/pages/peanut/mine.vue
index 4b234c7..291cccc 100644
--- a/pages/peanut/mine.vue
+++ b/pages/peanut/mine.vue
@@ -58,7 +58,8 @@
我的订单
-
+
+
打开一路健康
@@ -140,7 +141,7 @@
playData: {},
isAndorid: true,
platform: null, // 设备系统
- osName: null, // 系统名称
+ osName: '', // 系统名称
};
},
//第一次加载