功能:更新消息中心和 YumiNail 模块

This commit is contained in:
xiaowang
2026-05-13 12:43:01 +08:00
parent 6b9eba5aca
commit 2074addc40
284 changed files with 21031 additions and 4533 deletions
+21
View File
@@ -1,7 +1,28 @@
const auth = require('../../utils/auth')
Page({
data: {
navTitle: '游客模式'
},
onLoad() {
this.syncNavTitle()
wx.switchTab({
url: '/pages/home/index'
})
},
onShow() {
this.syncNavTitle()
},
syncNavTitle() {
const userInfo = auth.getStoredUserInfo()
const navTitle = userInfo && String(userInfo.shopName || '').trim()
? String(userInfo.shopName).trim()
: '游客模式'
this.setData({
navTitle
})
}
})