From db975dac47fffcf97d76d9341b272412c5d4c520 Mon Sep 17 00:00:00 2001 From: zlwu <704541015@qq.com> Date: Thu, 13 Aug 2026 19:25:41 +0800 Subject: [PATCH] fix(mobile-h5): polish WeChat notify bind entry UX on home Co-authored-by: Cursor --- mobile-h5/pages/index/index.vue | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/mobile-h5/pages/index/index.vue b/mobile-h5/pages/index/index.vue index 9d63eb4a..c5cd4bb6 100644 --- a/mobile-h5/pages/index/index.vue +++ b/mobile-h5/pages/index/index.vue @@ -12,7 +12,11 @@ {{ deptName }} - + {{ mpNotifyBound ? '微信通知已开启' : '开启微信审批通知' }} 退出登录 @@ -135,7 +139,6 @@ menus: [], menusLoading: true, mpNotifyBound: false, - mpNotifyLoading: false, banners: [ { id: 'banner-video-1', @@ -165,14 +168,11 @@ }, methods: { async refreshMpBindStatus() { - this.mpNotifyLoading = true try { const res = await fetchMpBindStatus() this.mpNotifyBound = !!(res && res.bound) } catch (_) { this.mpNotifyBound = false - } finally { - this.mpNotifyLoading = false } }, onTapMpNotify() { @@ -269,6 +269,11 @@ text-underline-offset: 4rpx; } + .home-mp-notify--bound { + color: var(--text-muted, #5f7a6d); + text-decoration: none; + } + .home-menus-loading { display: flex; flex-direction: column;