小程序端扫门禁码跳转;门禁端调整;bugfix小程序端商品售价和划线价反了
This commit is contained in:
@@ -1,5 +1,30 @@
|
||||
<!--pages/scan/entrance.wxml-->
|
||||
<view>
|
||||
您将要进入社区:未知
|
||||
{{ options }}
|
||||
<view style="text-align: center;">
|
||||
<view style="margin-top: 10vh;">
|
||||
<image src="../../image/icon/gate-background.svg" style="height: 40vh;"></image>
|
||||
</view>
|
||||
|
||||
<view style="margin-top: 2vh;">
|
||||
<text>您将要进入社区</text>
|
||||
</view>
|
||||
|
||||
<view style="margin-top: 10px;">
|
||||
<text style="font-size: 1.5em; font-weight: bold; color: {{ open ? '#0ee919' : 'red' }};">{{ gateName }}</text>
|
||||
</view>
|
||||
|
||||
<view style="margin-top: 2vh;">
|
||||
<view wx:if="{{ !open }}">当前大门暂不允许通行</view>
|
||||
<view>当前时间:{{ currentTime }}</view>
|
||||
</view>
|
||||
|
||||
<view class="btnView">
|
||||
<!--按钮-->
|
||||
<button disabled="{{ !open }}" class="btn" type="primary" bindtap="enterGate">确认进入</button>
|
||||
<button class="btn" type="warn" bindtap="navigateBack">不进入</button>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
|
||||
<view style="font-size: 0.6em; color: #c5c5c5; position: absolute; bottom: 16px; width: 100%; text-align: center;">
|
||||
大门id: {{ gateId }}
|
||||
</view>
|
Reference in New Issue
Block a user