From e94ac3c8f45346809a72488bafe51bc5b2cd19e3 Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期一, 05 十二月 2022 11:02:46 +0800
Subject: [PATCH] #

---
 pages/index/index.vue |  107 +++++++++++++++++++++++++++++++++++++++++++----------
 1 files changed, 87 insertions(+), 20 deletions(-)

diff --git a/pages/index/index.vue b/pages/index/index.vue
index f744eb8..80fc7b5 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -3,12 +3,12 @@
 		<scroll-view scroll-y>
 			<view class="flex justify-end custom-position">
 				<view>
-					<image class="img-logo flex solid-bottom " src="../../static/zoneyung.png" mode="widthFix"></image>
+					<!-- <image class="img-logo flex solid-bottom " src="../../static/zoneyung.png" mode="widthFix"></image> -->
 				</view>
 			</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>
@@ -24,35 +24,102 @@
 			return {
 				elements:[
 					{
-						title: '涓嬬嚎鎵撳寘',
-						name: 'offline',
-						color: 'blue',
-						cuIcon: 'goods'
-					},
-					{
 						title: '缁勬墭鍏ュ簱',
 						name: 'pakin',
-						color: 'grey',
-						cuIcon: 'goods'
+						color: 'blue',
+						cuIcon: 'copy',
+						show: true
 					},
 					{
 						title: '璁㈠崟缁勬墭',
 						name: 'order',
-						color: 'grey',
-						cuIcon: 'goods'
-					},
-					{
-						title: '搴撲綅鐩樼偣',
-						name: 'stockCheck',
 						color: 'blue',
-						cuIcon: 'goods'
+						cuIcon: 'goods',
+						show: true
 					},
+					// {
+					// 	title: '搴撳瓨鏌ヨ',
+					// 	name: 'stockQuery',
+					// 	color: 'blue',
+					// 	cuIcon: 'searchlist',
+					// 	show: true
+					// },
+					// {
+					// 	title: '搴撳瓨鐩樼偣',
+					// 	name: 'stockCheck',
+					// 	color: 'blue',
+					// 	cuIcon: 'safe',
+					// 	show: true
+					// },
+					{
+						title: '鍛煎彨绌烘澘',
+						name: 'callEmpty',
+						color: 'blue',
+						cuIcon: 'safe',
+						show: true
+					},
+					// {
+					// 	title: '涓婃灦绠$悊',
+					// 	name: 'putOnSale',
+					// 	color: 'blue',
+					// 	cuIcon: 'video'
+					// },
+					// {
+					// 	title: '涓嬫灦绠$悊',
+					// 	name: 'offLines',
+					// 	color: 'blue',
+					// 	cuIcon: 'copy'
+					// },
+					
+					// {
+					// 	title: '鍚姩鍏ュ簱',
+					// 	name: 'startPakin',
+					// 	color: 'blue',
+					// 	cuIcon: 'goods',
+					// 	show: true
+					// },
+					
+					
+					// {
+					// 	title: '鍗曟嵁鍑哄簱',
+					// 	name: 'orderOut',
+					// 	color: 'blue',
+					// 	cuIcon: 'video'
+					// },
+					// {
+					// 	title: '搴撲綅鍑哄簱',
+					// 	name: 'stoOut',
+					// 	color: 'blue',
+					// 	cuIcon: 'video'
+					// },
+					// {
+					// 	title: '鍟嗗搧鍏ュ簱',
+					// 	name: 'pakStore',
+					// 	color: 'blue',
+					// 	cuIcon: 'video'
+					// },
+					
+					// {
+					// 	title: '骞充粨搴撳瓨鐩樼偣',
+					// 	name: 'manStoCheck',
+					// 	color: 'blue',
+					// 	cuIcon: 'safe'
+					// },
+					// {
+					// 	title: '骞充粨搴撳瓨鐩樼偣',
+					// 	name: 'manStoCheck',
+					// 	color: 'blue',
+					// 	cuIcon: 'safe'
+					// },
 					{
 						title: '閫�鍑虹櫥褰�',
 						name: 'logOut',
-						color: 'blue',
-						cuIcon: 'exit'
-					}]
+						color: 'grey',
+						cuIcon: 'exit',
+						show: true
+					},
+					
+					]
 			}
 		},
 		onLoad() {

--
Gitblit v1.9.1