| | |
| | | </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"> |
| | | :style="[{animation: 'show ' + ((index+1)*0.2+1) + 's 1'}]" v-for="(item,index) in elements" :key="index" @click="checked()"> |
| | | <view class="nav-title">{{item.title}}</view> |
| | | <view class="nav-name">{{item.name}}</view> |
| | | <text :class="'cuIcon-' + item.cuIcon"></text> |
| | |
| | | methods: { |
| | | changeImg(){ |
| | | console.log(1) |
| | | }, |
| | | checked() { |
| | | uni.vibrateShort(); |
| | | } |
| | | } |
| | | } |