|
|
@@ -34,10 +34,11 @@
|
|
|
<text class="city-arrow">></text>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="notification-box" @click="navToMessage">
|
|
|
+ <!-- 此代码由AI生成 -->
|
|
|
+ <!-- <view class="notification-box" @click="navToMessage">
|
|
|
<image class="bell-img" src="/static/icons/bell.svg"></image>
|
|
|
<view class="badge-count" v-if="unreadCount > 0">{{ unreadCount > 99 ? '99+' : unreadCount }}</view>
|
|
|
- </view>
|
|
|
+ </view> -->
|
|
|
</view>
|
|
|
|
|
|
<!-- 统计卡片 -->
|
|
|
@@ -417,15 +418,18 @@ export default {
|
|
|
this.loadOrderStats()
|
|
|
this.loadTaskList()
|
|
|
this.loadServiceList() // 确保服务配置也是最新的
|
|
|
- this.fetchUnreadNotice() // 获取未读消息
|
|
|
- this.startNoticePolling() // 开始轮询
|
|
|
+ // 此代码由AI生成
|
|
|
+ // this.fetchUnreadNotice() // 获取未读消息
|
|
|
+ // this.startNoticePolling() // 开始轮询
|
|
|
}
|
|
|
},
|
|
|
onHide() {
|
|
|
- this.stopNoticePolling()
|
|
|
+ // 此代码由AI生成
|
|
|
+ // this.stopNoticePolling()
|
|
|
},
|
|
|
onUnload() {
|
|
|
- this.stopNoticePolling()
|
|
|
+ // 此代码由AI生成
|
|
|
+ // this.stopNoticePolling()
|
|
|
},
|
|
|
async onPullDownRefresh() {
|
|
|
this.checkWorkStatus();
|