提交 33034fbb 作者: ZhangLingKun

修复:网点页面优化

上级 e663d1a3
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
{ {
"path": "pages/index/index", "path": "pages/index/index",
"style": { "style": {
"navigationBarTitleText": "全国网点", "navigationBarTitleText": " ",
"navigationStyle": "custom" "navigationStyle": "custom"
} }
}, },
......
...@@ -100,10 +100,18 @@ export default { ...@@ -100,10 +100,18 @@ export default {
this.getServiceBitmap() this.getServiceBitmap()
// console.log('执行到此处 --->', option) // console.log('执行到此处 --->', option)
}, },
onShow() {
uni.setNavigationBarTitle({
title: this.networkTypeList[this.currentTypeIndex]?.name
})
},
methods: { methods: {
// 切换类型 // 切换类型
handleSelectType(index) { handleSelectType(index) {
this.currentTypeIndex = index this.currentTypeIndex = index
uni.setNavigationBarTitle({
title: this.networkTypeList[this.currentTypeIndex]?.name
})
this.getServiceBitmap() this.getServiceBitmap()
}, },
// 获取当前列表 // 获取当前列表
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论