From 7a4b8764b68e0dbaeb90e292a8a4bd47cb379e68 Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期一, 27 四月 2026 17:26:02 +0800
Subject: [PATCH] 小程序端和PC端bug修复
---
small-program/pages/mine/mine.vue | 25 +++++++++++++++++++------
1 files changed, 19 insertions(+), 6 deletions(-)
diff --git a/small-program/pages/mine/mine.vue b/small-program/pages/mine/mine.vue
index c27aff3..910e2cf 100644
--- a/small-program/pages/mine/mine.vue
+++ b/small-program/pages/mine/mine.vue
@@ -49,9 +49,10 @@
<text class="menu-label">{{ item.label }}</text>
<view class="right-icon">
<text v-if="['闂ㄥ簵鍏ラ┗','闂ㄥ簵淇℃伅'].includes(item.label)" :class="{ 'status-red': userInfo.shopAuditStatus === 1 || userInfo.shopAuditStatus === 2 }">
- {{ userInfo.shopAuditStatus === 0 ? '瀹℃牳涓�' : userInfo.shopAuditStatus === 1 ? '瀹℃牳閫氳繃锛岃鏀粯鎶奸噾' : userInfo.shopAuditStatus === 2 ? '瀹℃牳鏈�氳繃' : userInfo.shopAuditStatus === 3 ? '闂ㄥ簵宸插叆椹�' : '' }}
+ {{userInfo.shopAuditStatus === 0 ? '瀹℃牳涓�' : userInfo.shopAuditStatus === 1 ? '瀹℃牳閫氳繃锛岃鏀粯鎶奸噾' : userInfo.shopAuditStatus === 2 ? '瀹℃牳鏈�氳繃' : userInfo.shopAuditStatus === 3 ? '闂ㄥ簵宸插叆椹�' : '' }}
</text>
- <u-icon name="arrow-right" size="18" color="#B5BBC5"></u-icon>
+ <button v-if="item.label === '鍦ㄧ嚎瀹㈡湇'" open-type="contact" type="default"> </button>
+ <u-icon name="arrow-right" size="18" color="#B5BBC5"></u-icon>
</view>
</view>
</view>
@@ -90,7 +91,8 @@
menuList: [
{ label: '闂ㄥ簵鍏ラ┗' },
{ label: '鎴戠殑闂ㄥ簵' },
- { label: '瑙勮寖椤荤煡' },
+ { label: '鐢ㄦ埛鏈嶅姟鍗忚' },
+ { label: '鐢ㄦ埛闅愮鏀跨瓥' },
{ label: '鍦ㄧ嚎瀹㈡湇' },
{ label: '鍏充簬鎴戜滑' }
]
@@ -129,8 +131,9 @@
const urlMap = {
'闂ㄥ簵鍏ラ┗': '/pages/store-apply/store-apply',
'鎴戠殑闂ㄥ簵': '/shop/pages/login/login',
- '瑙勮寖椤荤煡': '/pages/rich-text/rich-text?type=serverIntroduce',
- '鍏充簬鎴戜滑': '/pages/rich-text/rich-text?type=about'
+ '鐢ㄦ埛鏈嶅姟鍗忚': '/pages/rich-text/rich-text?type=0',
+ '鐢ㄦ埛闅愮鏀跨瓥': '/pages/rich-text/rich-text?type=1',
+ '鍏充簬鎴戜滑': '/pages/rich-text/rich-text?type=5'
}
if (['闂ㄥ簵鍏ラ┗','闂ㄥ簵淇℃伅'].includes(item.label) && [0,1,2,3].includes(this.userInfo.shopAuditStatus)) {
uni.navigateTo({
@@ -138,7 +141,7 @@
})
return
}
- if (urlMap[item.label]) {
+ if (item.label!=='鍦ㄧ嚎瀹㈡湇' && urlMap[item.label]) {
uni.navigateTo({
url: urlMap[item.label]
})
@@ -409,5 +412,15 @@
.status-red {
color: #FF0000;
}
+ button {
+ position: relative;
+ top: 0;
+ float:right;
+ right: 0;
+ width: 200rpx;
+ height: 48rpx;
+ opacity: 0;
+ z-index: 9999;
+ }
}
</style>
--
Gitblit v1.9.3