From 1c9a1dced28b40e44159d05f83f51b428378ceb5 Mon Sep 17 00:00:00 2001
From: lin <1005713861@163.com>
Date: Thu, 09 Jul 2026 17:46:39 +0800
Subject: [PATCH] UI:齐享购IOS 新增网安信息
---
pages/my/my.vue | 74 +++++++++++++++++++++++++------------
1 files changed, 50 insertions(+), 24 deletions(-)
diff --git a/pages/my/my.vue b/pages/my/my.vue
index b34d3ad..f94a113 100644
--- a/pages/my/my.vue
+++ b/pages/my/my.vue
@@ -26,7 +26,7 @@
</template>
</view>
</view>
- </view>
+ </view>
<view class="myNavs">
<view class="myNavs-tips" @tap="$util.checkLogin('/pages/order/order')">
@@ -59,7 +59,7 @@
</view>
</view>
</view>
-
+
<view class="myServe">
<view class="myNavs-tips">
<text class="myNavs-tips-text">我的服务</text>
@@ -104,9 +104,17 @@
<text>|</text>
<text @tap="agreeDialog2">《隐私政策》</text>
</view>
- <view @tap="goWebUrl('http://beian.miit.gov.cn')">APP备案号: {{Config.icp}}</view>
- <view @tap="goWebUrl('http://beian.miit.gov.cn')">Copyright © 2025 {{Config.url}} All Rights Reserved.</view>
-
+ <view >客服电话:400-636-0330(8:00-20:00)</view>
+ <view @tap="goWebUrl('http://beian.miit.gov.cn')">Copyright © 2025 智葆汇科技 All Rights Reserved.</view>
+ <view style="display: flex;justify-content: center;gap: 5px;">
+ <view style="display: flex;align-items: center;justify-content: start;gap: 2px;" @tap="goWebUrl('https://beian.mps.gov.cn/#/query/webSearch')">
+ <image src="/static/imgs/wangan.png" style="width: 30rpx;height: 30rpx;"></image>
+ <span>新公网安备65010202001358号</span>
+ </view>
+ <view @click="goWebUrl('https://beian.miit.gov.cn/')">{{Config.icp}}</view>
+ </view>
+<!-- <view @tap="goWebUrl('http://beian.miit.gov.cn')">APP备案号: {{Config.icp}}</view>-->
+
</view>
<agreePup ref="agreePup1" :gp="1" title="注册协议"></agreePup>
<agreePup ref="agreePup2" :gp="2" title="隐私政策"></agreePup>
@@ -138,7 +146,8 @@
userInfo: this.$util.getUserInfo(),
Config: {put_open: 1},
isShop:false,
- errState:''
+ errState:'',
+ boughtEquity: 0,
}
},
onLoad() {
@@ -150,8 +159,15 @@
if(_this.$util.getUserInfo()?.phone){
await uni.request({
url: _this.$webHost+'/api/v2/auth/qxgIosUnionLogin?phone='+_this.$util.getUserInfo().phone,
+ // url: _this.$webHost+'/api/v2/auth/iosShopUnionLogin?phone='+_this.$util.getUserInfo().phone + '&configureToDomain=4',
+ data:{
+ customerId: uni.getStorageSync('qxgLogin').customerId,
+ appId: uni.getStorageSync('qxgLogin').appId
+ },
success: function (res) {
- _this.isShop = res.data.data.isShop;
+ _this.isShop = res?.data?.data?.isShop;
+ _this.boughtEquity = res?.data?.data?.boughtEquity;
+ uni.setStorageSync('qxgLogin', res.data.data)
}
})
}
@@ -162,21 +178,31 @@
if(!_this.isShop){
return
}
- uni.request({
- url: _this.$webHost+'/api/v2/customer/ryxIsBuyEquity?phone='+_this.$util.getUserInfo().phone,
- success: function (res) {
- if(res.data.code==200){
- uni.navigateTo( {
- url: '/pages/quanshou/index'
- })
+ if(_this.boughtEquity) {
+ uni.request({
+ url: _this.$webHost + '/api/v2/customer/ryxIsBuyEquity?phone=' + _this.$util.getUserInfo().phone,
+ data: {
+ customerId: uni.getStorageSync('qxgLogin').customerId,
+ appId: uni.getStorageSync('qxgLogin').appId
+ },
+ success: function (res) {
+ if (res.data.code == 200) {
+ uni.navigateTo({
+ url: '/pages/quanshou/index'
+ })
- } else {
- _this.errState = res.data.data;
- _this.$refs.comment.open()
+ } else {
+ _this.errState = res.data.data;
+ _this.$refs.comment.open()
+ }
}
- }
- })
+ })
+ } else {
+ uni.navigateTo({
+ url: '/pages/quanyi/index'
+ })
+ }
},
@@ -189,7 +215,7 @@
},
setImg(){
if(uni.getSystemInfoSync().platform != 'ios'){
- this.$refs['authpup'].open()
+ this.$refs['authpup'].open()
}else{
this.chooseImg()
}//调起自定义权限目的弹框,具体可看示例里面很详细
@@ -197,7 +223,7 @@
changeAuth () {
//这里是权限通过后执行自己的代码逻辑
if(uni.getSystemInfoSync().platform !='ios'){
- this.$refs['camears'].open()
+ this.$refs['camears'].open()
}
this.chooseImg()
},
@@ -259,7 +285,7 @@
})
},
wechatWork () {
- let t = this
+ let t = this
if(t.Config){
if(t.Config.put_open == 1){
uni.showModal({
@@ -282,11 +308,11 @@
console.log("success:" + JSON.stringify(res))
},
fail: (err) => {
- console.log("fail:" + JSON.stringify(err))
+ console.log("fail:" + JSON.stringify(err))
}
})
}
- }
+ }
}
}
}
--
Gitblit v1.9.3