增加品牌方案管理

This commit is contained in:
2026-07-23 18:56:35 +08:00
parent 4c07ec5455
commit b689656faf
67 changed files with 5572 additions and 231 deletions
+14
View File
@@ -1,10 +1,24 @@
<script>
const brandStore = require('./store/brand')
export default {
onLaunch: function() {
console.log('App Launch')
// 冷启动时拉取品牌配置(以缓存为准立即显示,后台拉取最新)
brandStore.fetchConfig().then(changed => {
if (changed) {
brandStore.applyTabBar()
}
})
},
onShow: function() {
console.log('App Show')
// 每次回到前台拉取最新配置
brandStore.fetchConfig().then(changed => {
if (changed) {
brandStore.applyTabBar()
}
})
},
onHide: function() {
console.log('App Hide')