From 323eaa02f36c1a8a5012639d5d66da92ededf6db Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期二, 18 十月 2022 17:16:14 +0800
Subject: [PATCH] #

---
 pages/index/index.vue |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/pages/index/index.vue b/pages/index/index.vue
index 0bc6bfc..86aec83 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -8,7 +8,7 @@
 			</view>
 			<view class="nav-list" >
 				<navigator hover-class="none" :url="'/pages/basics/' + item.name" class="nav-li" navigateTo :class="'bg-'+item.color"
-				 :style="[{animation: 'show ' + ((index+1)*0.2+1) + 's 1'}]" v-for="(item,index) in elements" :key="index" @click="checked()">
+				 :style="[{animation: 'show ' + ((index+1)*0.2+1) + 's 1'}]" v-for="(item,index) in elements" :key="index" @click="checked()" v-show="item.show">
 				<view class="nav-title">{{item.title}}</view>
 				<view class="nav-name">{{item.name}}</view>
 				<text :class="'cuIcon-' + item.cuIcon"></text>
@@ -39,19 +39,22 @@
 						title: '缁勬墭鍏ュ簱',
 						name: 'pakin',
 						color: 'blue',
-						cuIcon: 'copy'
+						cuIcon: 'copy',
+						show: true
 					},
 					{
 						title: '璁㈠崟缁勬墭',
 						name: 'order',
 						color: 'blue',
-						cuIcon: 'goods'
+						cuIcon: 'goods',
+						show: true
 					},
 					{
 						title: '鍚姩鍏ュ簱',
 						name: 'startPakin',
 						color: 'blue',
-						cuIcon: 'goods'
+						cuIcon: 'goods',
+						show: true
 					},
 					// {
 					// 	title: '搴撳瓨鏌ヨ',
@@ -100,7 +103,8 @@
 						title: '閫�鍑虹櫥褰�',
 						name: 'logOut',
 						color: 'grey',
-						cuIcon: 'exit'
+						cuIcon: 'exit',
+						show: true
 					},
 					
 					]

--
Gitblit v1.9.1