From 2667d6931e0f85f3dda26238330d9c45385025cf Mon Sep 17 00:00:00 2001 From: wzp <2880584989@qq.com> Date: 星期一, 21 二月 2022 17:51:57 +0800 Subject: [PATCH] 最新版本 --- assetMgtH5/pages/assets/repair.vue | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 54 insertions(+), 2 deletions(-) diff --git a/assetMgtH5/pages/assets/repair.vue b/assetMgtH5/pages/assets/repair.vue index c8a290c..fb68e28 100644 --- a/assetMgtH5/pages/assets/repair.vue +++ b/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> -- Gitblit v1.9.1