微信二维码扫描后跳转页面,或者提示超时 & 余额提现取消校验规则

This commit is contained in:
2024-01-16 00:06:57 +08:00
parent 2378a99f57
commit c98f43a92d
11 changed files with 414 additions and 10 deletions

View File

@@ -89,10 +89,15 @@
</view>
<view class='center'>
<view class='item'>
<view class='step'>扫码开门</view>
<view wx:if="{{barcodeTimeOut}}" class='step'>二维码超时</view>
<view wx:else class='step'>扫码开门</view>
<view class='barcode'>
<canvas class="barcode-canvas" style="width: 200px; height: 200px;" canvas-id="myQrcode"></canvas>
<!-- <canvas type="2d" class='title' canvas-id="myQrcode" style="width: 400rpx; height: 400rpx"></canvas>-->
<view wx:if="{{barcodeTimeOut}}" class="timeout" bindtap="reloadBarcode">
<image src="../../images/reload.png" style="width: 160px; height: 178px;"></image>
<text>点击刷新</text>
</view>
<canvas wx:else class="barcode-canvas" style="width: 200px; height: 200px;" canvas-id="myQrcode"></canvas>
<!-- <canvas type="2d" class='title' canvas-id="myQrcode" style="width: 400rpx; height: 400rpx"></canvas>-->
</view>
</view>
<image src='../../images/22@3x.png'></image>