From ca1b3e6e1e626d1ff54258b9f4e785057bbe5ab6 Mon Sep 17 00:00:00 2001
From: lin <1005713861@163.com>
Date: Wed, 15 Jul 2026 15:30:37 +0800
Subject: [PATCH] UI:齐享购IOS,1.首页搜索调整;2.行权接口参数调整
---
pages/quanshou/index.vue | 3 ++-
pages/my/my.vue | 3 ++-
main.js | 2 ++
App.vue | 39 +++++++++++++++++++++++++--------------
pages/index/index.vue | 2 +-
5 files changed, 32 insertions(+), 17 deletions(-)
diff --git a/App.vue b/App.vue
index df3e9ab..0793c56 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,18 +58,29 @@
updateFlag = !updateFlag
updesc = res.data.android.desc
}
- if (downUrl && updateFlag) {
- uni.showModal({
- showCancel: false,
- confirmText: '立即更新',
- title: '温馨提示!',
- content: updesc || '有最新版本,请更新APP!',
- success: res => {
- if (res.confirm) {
- plus.runtime.openURL(downUrl)
- }
- }
- })
+ if (updateFlag) {
+ // uni.showModal({
+ // showCancel: false,
+ // confirmText: '立即更新',
+ // title: '温馨提示!',
+ // content: updesc || '有最新版本,请更新APP!',
+ // success: res => {
+ // if (res.confirm) {
+ // plus.runtime.openURL(downUrl)
+ // }
+ // }
+ // })
+ uni.showModal({
+ showCancel: false,
+ confirmText: '确定',
+ title: '版本更新提示!',
+ content: updesc,
+ success: res => {
+ if (res.confirm) {
+
+ }
+ }
+ })
}
})
// #endif
diff --git a/main.js b/main.js
index 404f9a3..426798c 100644
--- a/main.js
+++ b/main.js
@@ -9,6 +9,8 @@
Vue.prototype.$webHost = 'https://rbb98765.zrgy-bbg.com'
Vue.prototype.$util = util
Vue.prototype.$baseUrl = 'https://tmy.xjzbh.com'
+// 用齐享购的appid,去后台查对应商城的appid
+Vue.prototype.$APPID = '022db772-c741-4fef-87b5-e00462fc9ad2'
Vue.prototype.$bank = [
'中国工商银行',
'中国建设银行',
diff --git a/pages/index/index.vue b/pages/index/index.vue
index e552de3..abf1f57 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -24,7 +24,7 @@
<!-- </view>-->
<!-- </view>-->
</view>
- <view class="search">
+ <view class="search" @tap="$util.goPages('../search/search')">
<view class="search-1">
<image src="@/static/imgs/s2.png" mode=""></image>
<input type="text" placeholder="请输入关键词" />
diff --git a/pages/my/my.vue b/pages/my/my.vue
index f94a113..bd0d574 100644
--- a/pages/my/my.vue
+++ b/pages/my/my.vue
@@ -183,7 +183,8 @@
url: _this.$webHost + '/api/v2/customer/ryxIsBuyEquity?phone=' + _this.$util.getUserInfo().phone,
data: {
customerId: uni.getStorageSync('qxgLogin').customerId,
- appId: uni.getStorageSync('qxgLogin').appId
+ // appId: uni.getStorageSync('qxgLogin').appId,
+ appId: _this.$APPID
},
success: function (res) {
if (res.data.code == 200) {
diff --git a/pages/quanshou/index.vue b/pages/quanshou/index.vue
index f1d2c75..6977bce 100644
--- a/pages/quanshou/index.vue
+++ b/pages/quanshou/index.vue
@@ -62,7 +62,8 @@
url: _this.$webHost+'/api/v2/customer/getRyxBenefitsRecordList?phone='+_this.$util.getUserInfo().phone,
data:{
customerId: uni.getStorageSync('qxgLogin').customerId,
- appId: uni.getStorageSync('qxgLogin').appId
+ // appId: uni.getStorageSync('qxgLogin').appId,
+ appId: _this.$APPID
},
success: function (res) {
if(res.data.code==200){
--
Gitblit v1.9.3