|
@@ -22,6 +22,17 @@
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
+ <!-- <view v-for="(menu, menuIndex) in menus" :key="menuIndex">
|
|
|
|
+ <view class="title">
|
|
|
|
+ <span>{{ menu.name }}</span>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="list">
|
|
|
|
+ <view class="item flex-column-center" @tap="go(item.key)" v-for="(item, index) in menu.children" :key="index">
|
|
|
|
+ <u-image width="60%" mode="widthFix" :src="item.icon"></u-image>
|
|
|
|
+ <span class="title">{{ item.name }}</span>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ </view> -->
|
|
</view>
|
|
</view>
|
|
<u-modal v-model="show" content="是否退出账号" :show-cancel-button="true" @confirm="logOut"></u-modal>
|
|
<u-modal v-model="show" content="是否退出账号" :show-cancel-button="true" @confirm="logOut"></u-modal>
|
|
</view>
|
|
</view>
|
|
@@ -33,7 +44,8 @@
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
config,
|
|
config,
|
|
- menus: this.$storage.getStorageSync('userInfo').menus,
|
|
|
|
|
|
+ //menus: this.$storage.getStorageSync('userInfo').menus,
|
|
|
|
+ menus:[1,2,3,4,5,6,7,8,9,10],
|
|
show: false,
|
|
show: false,
|
|
timer: null,
|
|
timer: null,
|
|
|
|
|