配置化平台品牌名称

This commit is contained in:
2026-06-24 22:13:00 +08:00
parent eda109cb62
commit 61b8cc6d23
34 changed files with 139 additions and 32 deletions
+4 -2
View File
@@ -1,6 +1,8 @@
const { BRAND_CONFIG } = require('../../utils/config')
Page({
data: {
shopName: 'Fingertip Designer',
shopName: BRAND_CONFIG.defaultShopName,
phone: '店长端',
menus: [
{ title: '店铺设置', url: '/pages/shop-settings/index' },
@@ -13,7 +15,7 @@ Page({
onShow() {
const app = getApp()
this.setData({
shopName: app.globalData.shopName || '指尖管理师',
shopName: app.globalData.shopName || BRAND_CONFIG.appName,
phone: (app.globalData.userInfo && (app.globalData.userInfo.phone || app.globalData.userInfo.account)) || '店长端'
})
},