wjt
2024-07-23 c3b2d6d35b77d11ff86d45926501493b7fc8886e
pages/index/index.vue
@@ -12,13 +12,16 @@
         <img src="/static/i06.png" class="more"  alt="" style="width: 46rpx;height: 46rpx;"/>
      </view>
      <view class="btnbox">
         <img src="/static/i01.png" class="more" alt="" style="margin-right: 18rpx;" @click="goMyCompany('01')"/>
         <img src="/static/i02.png" class="more" alt="" @click="goMyCompany('02')"/>
         <img src="/static/i03.png" class="more" alt="" style="margin-right: 18rpx;" @click="goMyCompany('01')"/>
         <img src="/static/i04.png" class="more" alt="" @click="goMyCompany('00')"/>
         <image mode="widthFix" src="/static/i01.png" class="more" alt="" style="margin-right: 18rpx;" @click="goMyCompany('01')"/>
         <image mode="widthFix" src="/static/i02.png" class="more" alt="" @click="goMyCompany('02')"/>
         <image mode="widthFix" src="/static/i03.png" class="more" alt="" style="margin-right: 18rpx;" @click="goMyCompany('01')"/>
         <image mode="widthFix" src="/static/i04.png" class="more" alt="" @click="goMyCompany('00')"/>
            <!-- <u-button @click="goMyCompany('01')">我是执法人员</u-button>
            <u-button @click="goMyCompany('02')">我是企业</u-button>
            <u-button @click="goMyCompany('00')">运营管理</u-button> -->
      </view>
      <view class="login-news" @click="goLogin">
         <image src="/static/index-1.png" mode="widthFix" @click="goLogin"></image>
      </view>
      <view class="msgbox">
         <view class="tit">
@@ -189,6 +192,15 @@
            uni.navigateTo({
               url: `/pages/companyLogin/companyLogin?code=${item}`
            })
         },
         goLogin() {
            uni.scanCode({
               success: (val) =>{
                  uni.navigateTo({
                     url: `/pages/visitiorRegis/visitiorRegis?value=${val.result}`
                  })
               }
            })
         }
      }
   };
@@ -240,7 +252,7 @@
      margin-top: 110rpx;
      margin-left: 32rpx;
      margin-right: 32rpx;
      img{
      image{
         width: 334rpx;
         height: 208rpx;
      }
@@ -314,4 +326,10 @@
      width: 100%;
      height: 518rpx;
   }
   .login-news{
      margin: 20rpx 32rpx;
      image{
         width: 100%;
      }
   }
</style>