Parcourir la source

首页跳转修改

asd26269546 il y a 2 ans
Parent
commit
098c9abfd7
2 fichiers modifiés avec 13 ajouts et 1 suppressions
  1. 13 1
      pages/index/index.vue
  2. 0 0
      unpackage/dist/dev/app-plus/app-service.js

+ 13 - 1
pages/index/index.vue

@@ -22,6 +22,17 @@
 					</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>
 		<u-modal v-model="show" content="是否退出账号" :show-cancel-button="true" @confirm="logOut"></u-modal>
 	</view>
@@ -33,7 +44,8 @@
 		data() {
 			return {
 				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,
 				timer: null,
 				

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/app-plus/app-service.js


Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff