From c7712b3c72af60fd4bd01e4bd910e489fc223e6f Mon Sep 17 00:00:00 2001
From: whycq <whycq>
Date: 星期三, 09 三月 2022 15:45:02 +0800
Subject: [PATCH] #更新库存查询&注销不清用户

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

diff --git a/pages/index/index.vue b/pages/index/index.vue
index ebcd762..28bd97e 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -2,7 +2,7 @@
 	<view>
 		<scroll-view scroll-y>
 			<view class="vve">
-				<image src="../../static/zoneyung.png" mode="aspectFit"></image>
+				<image src="../../static/zoneyung.png" @click="changeImg" mode="aspectFit" :style="[{animation: 'show ' + ((0+1)*0.2+1) + 's 1'}]"></image>
 			</view>
 			<view class="content">
 				<navigator hover-class="none" :url="'/pages/basics/' + item.name" class="nav-li" navigateTo :class="'bg-'+item.color"
@@ -20,12 +20,7 @@
 	export default {
 		data() {
 			return {
-				elements:[{
-					title: '缁勬墭',
-					name: 'comb',
-					color: 'yellow',
-					cuIcon: 'goodsnew'
-				},
+				elements:[
 				{
 					title: '鍏ュ簱鍗曠粍鎵�',
 					name: 'combPro',
@@ -43,6 +38,12 @@
 					name: 'stockQuery',
 					color: 'blue',
 					cuIcon: 'searchlist'
+				},
+				{
+					title: '閫�鍑虹櫥褰�',
+					name: 'logOut',
+					color: 'grey',
+					cuIcon: 'exit'
 				}]
 			}
 		},
@@ -50,7 +51,9 @@
 
 		},
 		methods: {
-
+			changeImg(){
+				console.log(1)
+			}
 		}
 	}
 </script>
@@ -61,6 +64,7 @@
 		flex-direction: column;
 		align-items: center;
 		justify-content: center;
+		margin-top: -100rpx;
 	}
 	.vve {
 		display: flex;

--
Gitblit v1.9.1