From c5542e9e2b2fd14633b596334b957535459ae30e Mon Sep 17 00:00:00 2001
From: lin <1005713861@163.com>
Date: Fri, 10 Jul 2026 16:17:15 +0800
Subject: [PATCH] UI:澜品优选:1.行权问题修复;2.版本更新提示
---
pages/quanshou/index.vue | 2 +-
pages/my/my.vue | 3 ++-
main.js | 2 ++
App.vue | 18 +++++++++++++++---
4 files changed, 20 insertions(+), 5 deletions(-)
diff --git a/App.vue b/App.vue
index 6ceee2d..37722e1 100644
--- a/App.vue
+++ b/App.vue
@@ -35,10 +35,10 @@
url: '/pages/login/login'
})
return false
-
+
}
uni.setStorageSync('Config', JSON.stringify(res.data))
-
+
// #ifdef APP-PLUS
//机型
let platform = uni.getSystemInfoSync().platform.toLocaleLowerCase()
@@ -58,7 +58,8 @@
updateFlag = !updateFlag
updesc = res.data.android.desc
}
- if (downUrl && updateFlag) {
+ // if (downUrl && updateFlag) {
+ if (updateFlag) {
// uni.showModal({
// showCancel: false,
// confirmText: '立即更新',
@@ -70,6 +71,17 @@
// }
// }
// })
+ uni.showModal({
+ showCancel: false,
+ confirmText: '确定',
+ title: '版本更新提示!',
+ content: updesc,
+ success: res => {
+ if (res.confirm) {
+
+ }
+ }
+ })
}
})
// #endif
diff --git a/main.js b/main.js
index b512cd6..0fdaad9 100644
--- a/main.js
+++ b/main.js
@@ -16,6 +16,8 @@
// if(process.env.NODE_ENV === 'development') {
// Vue.prototype.$webHost = 'https://test-skfq.zrgy-bbg.com'
// }
+// 用澜品优选的appid,去后台查对应商城的appid
+Vue.prototype.$APPID = '05928c6e-4b07-41d5-a38d-6c1bfe186269'
Vue.prototype.$bank = [
'中国工商银行',
'中国建设银行',
diff --git a/pages/my/my.vue b/pages/my/my.vue
index 6147f84..a0b91a8 100644
--- a/pages/my/my.vue
+++ b/pages/my/my.vue
@@ -206,7 +206,8 @@
url: _this.$webHost+'/api/v2/customer/ryxIsBuyEquity?phone='+_this.$util.getUserInfo().phone,
data:{
customerId: uni.getStorageSync('ygxLogin').customerId,
- appId: uni.getStorageSync('ygxLogin').appId
+ appId: _this.$APPID
+ // appId: uni.getStorageSync('ygxLogin').appId
},
success: function (res) {
if(res.data.code==200){
diff --git a/pages/quanshou/index.vue b/pages/quanshou/index.vue
index ec76918..22a564e 100644
--- a/pages/quanshou/index.vue
+++ b/pages/quanshou/index.vue
@@ -66,7 +66,7 @@
const _this = this;
this.isAgree = uni.getStorageSync('boughtEquity')
uni.request({
- url: _this.$webHost+'/api/v2/customer/getRyxBenefitsRecordList?phone='+_this.$util.getUserInfo().phone+'&appId='+uni.getStorageSync('ygxLogin').appId,
+ url: _this.$webHost+'/api/v2/customer/getRyxBenefitsRecordList?phone='+_this.$util.getUserInfo().phone+'&appId='+_this.$APPID,
success: function (res) {
if(res.data.code==200){
_this.lst = res.data.data;
--
Gitblit v1.9.3