Explorar o código

注释掉消息通知

Huanyi hai 1 semana
pai
achega
5abadf7d6a

+ 2 - 2
manifest.json

@@ -2,8 +2,8 @@
     "name" : "履约守护",
     "appid" : "__UNI__76F5C47",
     "description" : "履约守护",
-    "versionName" : "1.2.2",
-    "versionCode" : 22,
+    "versionName" : "1.2.3",
+    "versionCode" : 23,
     "transformPx" : false,
     /* 5+App特有相关 */
     "app-plus" : {

+ 10 - 6
pages/home/index.vue

@@ -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();

+ 5 - 3
pages/mine/index.vue

@@ -96,14 +96,15 @@
 
         <!-- 菜单列表 -->
         <view class="menu-list">
-            <view class="menu-item" @click="navToNotification">
+            <!-- 此代码由AI生成 -->
+            <!-- <view class="menu-item" @click="navToNotification">
                 <image class="menu-icon" src="/static/icons/bell_linear.svg"></image>
                 <text class="menu-text">消息中心</text>
                 <view class="menu-right">
                     <view class="red-dot" v-if="totalUnread > 0"></view>
                     <image class="arrow-icon" src="/static/icons/chevron_right.svg"></image>
                 </view>
-            </view>
+            </view> -->
             <view class="menu-item" @click="navToRewards">
                 <image class="menu-icon" src="/static/icons/money_linear.svg"></image>
                 <text class="menu-text">我的奖惩</text>
@@ -229,7 +230,8 @@ export default {
             this.loadProfile()
             this.loadLevelConfigs()
             this.fetchCustomerServiceSetting()
-            this.fetchUnreadCount()
+            // 此代码由AI生成
+            // this.fetchUnreadCount()
         }
     },
     methods: {

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
unpackage/cache/wgt/__UNI__76F5C47/app-service.js


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
unpackage/cache/wgt/__UNI__76F5C47/manifest.json


BIN=BIN
unpackage/release/apk/__UNI__76F5C47__20260407112055.apk → unpackage/release/apk/__UNI__76F5C47__20260407145031.apk


Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio