yuminge-app/yun-min-program-plugin-master/packageE/energy/cancellation/cancellation.wxml

99 lines
3.9 KiB
Plaintext

<!--packageE/energy/AddCheck/AddCheck.wxml-->
<view class="bpx" wx:if="{{result.familyCard}}">
<view class="top">
<view class="line"></view>
<text>会员卡信息</text>
</view>
<view class="card" >
<text style="margin-top:47rpx;">卡类型:{{result.familyCard.card_type_name}}</text>
<view class="radbox" style="margin-top:38rpx">
<text>有效期:{{result.familyCard.expiration_day}}天</text>
<radio-group bindchange="change">
<radio value='{{result.familyCard.id}}' checked="{{result.familyCard.checked}}"></radio>
</radio-group>
</view>
<text style="margin-top:41rpx;margin-bottom:40rpx;">今日剩余次数:{{result.familyCard.available_num}}</text>
</view>
<view class="lines"></view>
</view>
<view class="bpx" wx:if="{{result.onceCard}}">
<view class="top">
<view class="line"></view>
<text>会员卡信息</text>
</view>
<view class="card" >
<!-- <text style="margin-top:47rpx;">卡类型:{{result.onceCard.card_type_name}}</text> -->
<view class="radbox" style="margin-top:47rpx">
<text>卡类型:{{result.onceCard.card_type_name}}</text>
<radio-group bindchange="change">
<radio value='{{result.onceCard.id}}' checked="{{result.onceCard.checked}}"></radio>
</radio-group>
</view>
<text style="margin-top:41rpx;margin-bottom:40rpx;">剩余次数:{{result.onceCard.use_count}}</text>
</view>
<view class="lines"></view>
</view>
<view class="bpx" wx:if="{{result.timeCard}}">
<view class="top">
<view class="line"></view>
<text>会员卡信息</text>
</view>
<view class="card" >
<text style="margin-top:47rpx;">卡类型:{{result.timeCard.card_type_name}}</text>
<view class="radbox" style="margin-top:38rpx">
<text>有效期:{{result.timeCard.expiration_day}}天</text>
<radio-group bindchange="change">
<radio value='{{result.timeCard.id}}' checked="{{result.timeCard.checked}}"></radio>
</radio-group>
</view>
<text style="margin-top:41rpx;margin-bottom:40rpx;">今日剩余次数:{{result.timeCard.available_num}}</text>
</view>
<view class="lines"></view>
</view>
<view class="bpx" wx:for="{{result.familyMemberCard}}" wx:key="index">
<view class="top">
<view class="line"></view>
<text>会员卡信息</text>
</view>
<view class="card" >
<text style="margin-top:47rpx;">卡类型:{{item.card_type_name}}</text>
<view class="radbox" style="margin-top:38rpx">
<text>有效期:{{item.expiration_day}}天</text>
<radio-group bindchange="change">
<radio value='{{item.id}}' checked="{{item.checked}}"></radio>
</radio-group>
</view>
<text style="margin-top:41rpx;margin-bottom:40rpx;">今日剩余次数:{{item.available_num}}</text>
</view>
<view class="lines"></view>
</view>
<view wx:if="{{result.familyMemberCard.length <= 0 && !result.familyCard && !result.onceCard && !result.timeCard}}" class="isNone" >
<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/energytank_vipblank@2x.png"></image>
<text style="padding-top:20rpx">暂无会员卡信息</text>
</view>
<view class="checkBtn" wx:if="{{result.familyMemberCard.length > 0 || result.onceCard || result.onceCard || result.timeCard}}">
<view class="check" catchtap="confirm">确认核销</view>
</view>
<!-- <van-popup show="{{ rewardMoneyBtn }}" close-on-click-overlay="true" bind:close="onClose" custom-style="border-radius: 23rpx;">
<view class="popBox">
<view class="popTop">
<view style="opacity:0;">提示</view>
<view style="font-size: 32rpx;">提示</view>
<icon class="iconfont icon-guanbi" style="margin-right:30rpx;"></icon>
</view>
<view style="margin-top: 100rpx;text-align: center;font-size: 28rpx;color: #666666;">今日剩余次数0</view>
<view style="display: flex;justify-content: space-between;margin: 79rpx 30px 0 30px;">
<view class="left" catchtap="onClose">取消</view>
<view class="right">确认</view>
</view>
</view>
</van-popup> -->