|
@ -46,6 +46,12 @@ export default { |
|
|
"selectedIconPath": "static/tabbar/service-active.png", |
|
|
"selectedIconPath": "static/tabbar/service-active.png", |
|
|
"text": "服务" |
|
|
"text": "服务" |
|
|
}, |
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"pagePath": "pages/community/index", |
|
|
|
|
|
"iconPath": "static/tabbar/xiaoqu.png", |
|
|
|
|
|
"selectedIconPath": "static/tabbar/xiaoqu-active.png", |
|
|
|
|
|
"text": "小区" |
|
|
|
|
|
}, |
|
|
{ |
|
|
{ |
|
|
"pagePath": "pages/index/index", |
|
|
"pagePath": "pages/index/index", |
|
|
"iconPath": "static/tabbar/store.png", |
|
|
"iconPath": "static/tabbar/store.png", |
|
@ -67,7 +73,7 @@ export default { |
|
|
tabClick(val) { |
|
|
tabClick(val) { |
|
|
console.log('val', val) |
|
|
console.log('val', val) |
|
|
if (val === 0 && this.current === 0) this.$jump('/pages/index/index') |
|
|
if (val === 0 && this.current === 0) this.$jump('/pages/index/index') |
|
|
if (val === 2) { |
|
|
|
|
|
|
|
|
if (val === 3) { |
|
|
uni.navigateToMiniProgram({ |
|
|
uni.navigateToMiniProgram({ |
|
|
appId: 'wxad2376fd45fb7eca', |
|
|
appId: 'wxad2376fd45fb7eca', |
|
|
complete() { |
|
|
complete() { |
|
|