wzp
2022-02-21 2667d6931e0f85f3dda26238330d9c45385025cf
assetMgtH5/pages/assets/repair.vue
@@ -7,10 +7,20 @@
             <block slot="content">资产报修</block>
         </cu-custom>
      </view>
      <view class="flex align-center justify-center Tbox">
         <view class="btnBox">
            <view @click="navigateTo('Qrcode')" class="no1" hover-class="active">
               <image src="../../static/shao02.svg" mode="widthFix"></image>
               <text>点击扫码获取资产信息</text>
            </view>
         </view>
      </view>
   </view>
</template>
<script>
   export default {
      data() {
         return {
@@ -18,11 +28,53 @@
         }
      },
      methods: {
         navigateTo(url) {
            setTimeout(()=>{
               uni.navigateTo({
                  url: `./${url}/${url}`
               })
            },300)
         }
      }
   }
</script>
<style>
<style lang="scss">
page {
      background-color: #6a6a6a;
   }
   .Tbox{
      height: 100vh;
      width: 100vw;
   }
   .btnBox {
      // border: 1rpx red solid;
      display: flex;
      padding: 5rpx;
      >view {
         color: #fff;
         width: 270rpx;
         height: 270rpx;
         font-size: 26rpx;
         display: flex;
         flex-direction: column;
         align-items: center;
         justify-content: center;
         background-color: #777777;
         margin: 8rpx;
            border: 1px solid #777777;
         image {
            margin-bottom: 12rpx;
            width: 60rpx;
         }
      }
      >view.active {
         border: 1px solid #C0C0C0;
         background-color: #868686;
      }
   }
</style>