From d22469a585bfc1bb1c20f6824dd8ca099210c027 Mon Sep 17 00:00:00 2001
From: whycq <whycq>
Date: 星期五, 04 三月 2022 10:34:16 +0800
Subject: [PATCH] #

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

diff --git a/pages/index/index.vue b/pages/index/index.vue
index 3db5222..6ec723e 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"></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',
@@ -50,7 +45,9 @@
 
 		},
 		methods: {
-
+			changeImg(){
+				console.log(1)
+			}
 		}
 	}
 </script>

--
Gitblit v1.9.1