From c571fbd81c0b8b3f4aa707606546efbc8b227f33 Mon Sep 17 00:00:00 2001
From: whycq <913841844@qq.com>
Date: 星期六, 21 九月 2024 09:01:40 +0800
Subject: [PATCH] #

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

diff --git a/pages/index/index.vue b/pages/index/index.vue
index ebcd762..a110573 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,29 +20,36 @@
 	export default {
 		data() {
 			return {
-				elements:[{
-					title: '缁勬墭',
-					name: 'comb',
-					color: 'yellow',
-					cuIcon: 'goodsnew'
-				},
+				elements:[
 				{
 					title: '鍏ュ簱鍗曠粍鎵�',
 					name: 'combPro',
 					color: 'olive',
 					cuIcon: 'goods'
 				},
+				// {
+				// 	title: '鍑哄簱鍚姩',
+				// 	name: 'matOut',
+				// 	color: 'green',
+				// 	cuIcon: 'video'
+				// },
 				{
 					title: '搴撳瓨鐩樼偣',
 					name: 'stockCheck',
 					color: 'cyan',
 					cuIcon: 'squarecheck'
 				},
+				// {
+				// 	title: '搴撳瓨鏌ヨ',
+				// 	name: 'stockQuery',
+				// 	color: 'blue',
+				// 	cuIcon: 'searchlist'
+				// },
 				{
-					title: '搴撳瓨鏌ヨ',
-					name: 'stockQuery',
-					color: 'blue',
-					cuIcon: 'searchlist'
+					title: '閫�鍑虹櫥褰�',
+					name: 'logOut',
+					color: 'grey',
+					cuIcon: 'exit'
 				}]
 			}
 		},
@@ -50,7 +57,9 @@
 
 		},
 		methods: {
-
+			changeImg(){
+				console.log(1)
+			}
 		}
 	}
 </script>
@@ -61,6 +70,7 @@
 		flex-direction: column;
 		align-items: center;
 		justify-content: center;
+		margin-top: -100rpx;
 	}
 	.vve {
 		display: flex;

--
Gitblit v1.9.1