| | |
| | | <span>{{row.label}}</span>
|
| | | </view>
|
| | | <div class="menu_list_list">
|
| | | <view class="menu_list_item" v-for="item in row.children" :key="item.id" @click="jump(item)">
|
| | | <view class="menu_list_item" v-for="item in row.children" :key="item.id" @click="jump(item.url)">
|
| | | <image :src="item.icon" mode="widthFix" />
|
| | | <span>{{item.label}}</span>
|
| | | </view>
|
| | |
| | | components: {
|
| | | myTabbar
|
| | | },
|
| | | computed: mapState([ |
| | | 'Menu' |
| | | ]),
|
| | | computed: {
|
| | | ...mapState(['Menu'])
|
| | | },
|
| | | data() {
|
| | | return {
|
| | |
|
| | |
| | | uni.hideTabBar()
|
| | | },
|
| | | methods: {
|
| | | jump(row) {
|
| | | console.log(row)
|
| | | jump(url) {
|
| | | uni.navigateTo({ url });
|
| | | }
|
| | | }
|
| | | }
|