whycq
2022-03-09 c7712b3c72af60fd4bd01e4bd910e489fc223e6f
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;