From cf186b0a4de01261dea0870fd2a9529b5baee4e6 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期五, 18 七月 2025 10:58:36 +0800
Subject: [PATCH] 前端
---
small-program/pages/mine/mine.vue | 19 +++++++++++--------
1 files changed, 11 insertions(+), 8 deletions(-)
diff --git a/small-program/pages/mine/mine.vue b/small-program/pages/mine/mine.vue
index 81c0c85..6588fd9 100644
--- a/small-program/pages/mine/mine.vue
+++ b/small-program/pages/mine/mine.vue
@@ -80,7 +80,7 @@
<view class="paidan-label">鎺ュ彈绯荤粺鑷姩娲惧崟</view>
<view class="paidan-right">
<text>鍏抽棴</text>
- <u-switch activeColor="#00BC12" v-model="autoReceiveStatus"></u-switch>
+ <u-switch activeColor="#00BC12" @change="updateMemberInfo" v-model="autoReceiveStatus"></u-switch>
</view>
</view>
</view>
@@ -94,31 +94,31 @@
<text>鏀惰垂鏍囧噯</text>
<u-icon name="arrow-right" color="#111111" size="18"></u-icon>
</view>
- <view class="list-hz-item" @click="jump(2)">
+ <view class="list-hz-item" @click="jump(isLogin?2:5)">
<text>宸ヤ汉璧氶挶</text>
<view class="list-hz-item-r">
<text v-if="userInfo.workerIdentity === 2">宸茶璇�</text>
- <text class="bluetxt" v-else-if="userInfo.workerIdentity === 1">璁よ瘉涓�</text>
+ <text class="orangetxt" v-else-if="userInfo.workerIdentity === 1">璁よ瘉涓�</text>
<text class="redtxt" v-else-if="userInfo.workerIdentity === 3">璁よ瘉澶辫触</text>
<text v-else>鍙帴鐢ㄥ伐璁㈠崟</text>
<u-icon name="arrow-right" color="#111111" size="18"></u-icon>
</view>
</view>
- <view class="list-hz-item" @click="jump(3)">
+ <view class="list-hz-item" @click="jump(isLogin?3:5)">
<text>鍙告満璧氶挶</text>
<view class="list-hz-item-r">
<text v-if="userInfo.driverIdentity === 2">宸茶璇�</text>
- <text class="bluetxt" v-else-if="userInfo.driverIdentity === 1">璁よ瘉涓�</text>
+ <text class="orangetxt" v-else-if="userInfo.driverIdentity === 1">璁よ瘉涓�</text>
<text class="redtxt" v-else-if="userInfo.driverIdentity === 3">璁よ瘉澶辫触</text>
<text v-else>鍙帴杩愯揣璁㈠崟</text>
<u-icon name="arrow-right" color="#111111" size="18"></u-icon>
</view>
</view>
- <view class="list-hz-item" @click="jump(4)">
+ <view class="list-hz-item" @click="jump(isLogin?4:5)">
<text>鎴戣兘渚涢</text>
<view class="list-hz-item-r">
<text v-if="userInfo.chefIdentity === 2">宸茶璇�</text>
- <text class="bluetxt" v-else-if="userInfo.chefIdentity === 1">璁よ瘉涓�</text>
+ <text class="orangetxt" v-else-if="userInfo.chefIdentity === 1">璁よ瘉涓�</text>
<text class="redtxt" v-else-if="userInfo.chefIdentity === 3">璁よ瘉澶辫触</text>
<text v-else>鍙帴鐢ㄩ璁㈠崟</text>
<u-icon name="arrow-right" color="#111111" size="18"></u-icon>
@@ -265,7 +265,7 @@
that.changing1 = false
})
} ,
- updateMemberInfo() {
+ updateMemberInfo(e) {
if(this.changing){
return
}
@@ -573,4 +573,7 @@
.redtxt{
color:#FF0000 !important ;
}
+ .orangetxt{
+ color: #FF7200 !important ;
+ }
</style>
--
Gitblit v1.9.3