wx 篮球场馆增加实时收付

This commit is contained in:
2023-12-31 02:20:32 +08:00
parent e504efbde6
commit 22c1f3e963
5 changed files with 306 additions and 155 deletions

View File

@@ -29,7 +29,7 @@
<view class='cell unline'>
<image src='../../images/25@3x.png' mode='aspectFit'></image>
<text>按时间段收费</text>
<view class='cell-right-btn' bindtap='recharge'>充值</view>
<!-- <view class='cell-right-btn' bindtap='recharge'>充值</view>-->
</view>
<view class='dynamic-height'>
<block wx:if="{{venues.venuePriceList.length>0}}">收费说明: </block>
@@ -43,25 +43,25 @@
</block>
</view>
</view>
<view class='cell-box'>
<view class='cell'>
<image src='../../images/40@3x.png' mode='aspectFit'></image>
<view class='title'>
<text>VIP会员享受专属特权</text>
<image src='../../images/5@3x.png' wx:if="{{venues.cardContent}}" bindtap='showCardContent'></image>
</view>
</view>
<view class='cell unline' wx:for="{{venues.cards}}" wx:key="{{index}}">
<view class='tip'>{{item.cardName}}</view>
<text>¥{{item.price}}</text>
<view class='buy-btn' bindtap='nowBuy' data-index='{{index}}'>立即购买</view>
</view>
<view class='cell unline'>
<view class='tip'>单次</view>
<text>选购</text>
<view class='buy-btn' bindtap='recharge'>立即购买</view>
</view>
</view>
<!-- <view class='cell-box'>-->
<!-- <view class='cell'>-->
<!-- <image src='../../images/40@3x.png' mode='aspectFit'></image>-->
<!-- <view class='title'>-->
<!-- <text>VIP会员享受专属特权</text>-->
<!-- <image src='../../images/5@3x.png' wx:if="{{venues.cardContent}}" bindtap='showCardContent'></image>-->
<!-- </view>-->
<!-- </view>-->
<!-- <view class='cell unline' wx:for="{{venues.cards}}" wx:key="{{index}}">-->
<!-- <view class='tip'>{{item.cardName}}</view>-->
<!-- <text>¥{{item.price}}</text>-->
<!-- <view class='buy-btn' bindtap='nowBuy' data-index='{{index}}'>立即购买</view>-->
<!-- </view>-->
<!-- <view class='cell unline'>-->
<!-- <view class='tip'>单次</view>-->
<!-- <text>选购</text>-->
<!-- <view class='buy-btn' bindtap='recharge'>立即购买</view>-->
<!-- </view>-->
<!-- </view>-->
<view class='cell-box'>
<view class='cell'>
<image src='../../images/35@3x.png' mode='aspectFit'></image>
@@ -103,23 +103,59 @@
</view>
</view>
<view class='buyVIPPopup' catchtouchmove='unMove' wx:if="{{isShowBuyVip}}">
<view class='popup-body'>
<view class='popup-header'>
<text>会员卡购买</text>
<image src='../../images/23@3x.png' catchtap='closeBuyVipPopup'></image>
</view>
<view class='popup-center'>
<view class='popup-cell'>
<text>会员卡类型</text>
<text>{{buyVipObj.cardName}}</text>
</view>
<view class='popup-cell'>
<text>价格</text>
<text>¥{{buyVipObj.price}}</text>
<!--<view class='buyVIPPopup' catchtouchmove='unMove' wx:if="{{isShowBuyVip}}">-->
<!-- <view class='popup-body'>-->
<!-- <view class='popup-header'>-->
<!-- <text>会员卡购买</text>-->
<!-- <image src='../../images/23@3x.png' catchtap='closeBuyVipPopup'></image>-->
<!-- </view>-->
<!-- <view class='popup-center'>-->
<!-- <view class='popup-cell'>-->
<!-- <text>会员卡类型</text>-->
<!-- <text>{{buyVipObj.cardName}}</text>-->
<!-- </view>-->
<!-- <view class='popup-cell'>-->
<!-- <text>价格</text>-->
<!-- <text>¥{{buyVipObj.price}}</text>-->
<!-- </view>-->
<!-- </view>-->
<!-- <view class='popup-btn' catchtap='buyVip'>确认支付</view>-->
<!-- </view>-->
<!--</view>-->
<view class='in-step-popup' catchtouchmove='unMove' wx:if="{{flg == 777}}">
<view class='medium-body body'>
<view class='top'>
<view class='title'>
<image src='../../images/24@3x.png'></image>
<text>请稍候</text>
</view>
</view>
<view class='center'>
<view class='item'>
<view class='step'>订单确认中</view>
</view>
<view class='item'>
<view class='message'>{{msg}}</view>
</view>
</view>
</view>
</view>
<view class='in-step-popup' catchtouchmove='unMove' wx:if="{{flg == 888}}">
<view class='small-body body'>
<view class='top'>
<view class='title'>
<image src='../../images/24@3x.png'></image>
<text>提示</text>
</view>
<image src='../../images/23@3x.png' bindtap='closeInStep'></image>
</view>
<view class='center'>
<view class='item'>
<view class='step'>{{msg}}</view>
</view>
</view>
<view class='popup-btn' catchtap='buyVip'>确认支付</view>
</view>
</view>
@@ -128,7 +164,7 @@
<view class='top'>
<view class='title'>
<image src='../../images/24@3x.png'></image>
<text>门禁异常</text>
<text>异常信息</text>
</view>
<image src='../../images/23@3x.png' bindtap='closeInStep'></image>
</view>
@@ -152,7 +188,7 @@
</view>
</view>
<confirm-dialog title="提示" message="{{msg}}" confirmBtnTitle="充值" bindcancelselect="cancelDeleteDialog" bindconfirmselect="confirmDeleteDialog" wx:if="{{flg == 2}}"></confirm-dialog>
<confirm-dialog title="提示" message="{{msg}}" confirmBtnTitle="确认支付" bindcancelselect="cancelDeleteDialog" bindconfirmselect="confirmDeleteDialog" wx:if="{{flg == 2}}"></confirm-dialog>
<!--<confirm-dialog title="提示" message="请先上传照片,以供人脸识别入场" bindcancelselect="cancelDeleteDialog" bindconfirmselect="confirmDeleteDialog" wx:if="{{flg == 1}}"></confirm-dialog>-->