From 88cab86b63833e23fb2bcdba54cb636339b5d50e Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期一, 29 七月 2024 13:55:31 +0800
Subject: [PATCH] #
---
pages/index/index.vue | 25 +++++++++++++++++--------
1 files changed, 17 insertions(+), 8 deletions(-)
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 3db5222..d03472e 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,17 +20,18 @@
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: '搴撳瓨鐩樼偣',
@@ -43,6 +44,12 @@
name: 'stockQuery',
color: 'blue',
cuIcon: 'searchlist'
+ },
+ {
+ title: '閫�鍑虹櫥褰�',
+ name: 'logOut',
+ color: 'grey',
+ cuIcon: 'exit'
}]
}
},
@@ -50,7 +57,9 @@
},
methods: {
-
+ changeImg(){
+ console.log(1)
+ }
}
}
</script>
--
Gitblit v1.9.1