first commit
This commit is contained in:
65
衣莎项目/源码/YiShaXiYi/user/balance/balance.wxml
Normal file
65
衣莎项目/源码/YiShaXiYi/user/balance/balance.wxml
Normal file
@@ -0,0 +1,65 @@
|
||||
<!-- 头部 -->
|
||||
<nav-bar isBack="{{isBack}}" pageTitle="{{pageTitle}}" system="{{system}}"></nav-bar>
|
||||
<!-- user/balance/balance.wxml -->
|
||||
<view class="balance">
|
||||
<!-- <view class="balance-tit flex-con2">
|
||||
<view>
|
||||
<view class="balance-tit-p">总金额(元)</view>
|
||||
<view class="balance-tit-mon">{{userInfo.money}}</view>
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="mt20">
|
||||
<i-tabs current="{{ current_scroll }}" scroll bindchange="handleChangeScroll">
|
||||
<i-tab key="1" title="会员卡"></i-tab>
|
||||
<i-tab key="2" title="礼品卡"></i-tab>
|
||||
<i-tab key="3" title="团体卡"></i-tab>
|
||||
<!-- <i-tab key="4" title="充值卡"></i-tab> -->
|
||||
</i-tabs>
|
||||
</view>
|
||||
<view wx:if="{{cardData.length > 0}}" class="mt20 balance-List">
|
||||
<view class="balance-row mt30" wx:for="{{cardData}}" wx:key>
|
||||
<view class="balance-row-img">
|
||||
<image src="{{item.src}}" />
|
||||
</view>
|
||||
<view class="balance-row-pa flex-con2">
|
||||
<view class="dis-flex pd30 w100">
|
||||
<view class="balance-row-vip nt2">
|
||||
<!-- <image src="/static/img/icon/vip.png" /> -->
|
||||
</view>
|
||||
<view class="flex1 ml10">
|
||||
<view class="balance-row-p1">
|
||||
{{item.title}}{{item.discount>=99.99?'':'('+item.discount/10+'折)'}}
|
||||
</view>
|
||||
<view wx:if="{{item.is_upgrade == 0}}" class="balance-row-p2 mt10">
|
||||
余额 ¥{{item.money}}
|
||||
</view>
|
||||
<view wx:else class="balance-row-p2 mt10">您还不是伊莎洗衣{{item.title}}VIP</view>
|
||||
<view wx:if="{{item.is_upgrade == 0}}" class="balance-row-p2 mt5">
|
||||
发卡时间 {{item.create_time}}
|
||||
</view>
|
||||
<view wx:if="{{item.is_upgrade == 2}}" class="balance-row-p2 mt7">
|
||||
现在购买只需{{item.recharge_money}}元<span wx:if="{{current_scroll==2}}">,并赠送{{item.give_money}}元</span>
|
||||
</view>
|
||||
<!-- <view wx:if="{{item.is_upgrade == 0 && item.level < 4 && current_scroll == 1}}" class="balance-row-p2 mt7">
|
||||
现在升级只需{{item.recharge_money}}元
|
||||
</view> -->
|
||||
</view>
|
||||
<view class="balance-row-sub flex-con6">
|
||||
<view wx:if="{{item.is_upgrade == 2}}" class="balance-row-sub-p flex-con3 colorAsh" data-url="/user/upgradeCart/upgradeCart?type={{current_scroll}}&openType=1&is_upgrade=2" catchtap="goUrl">
|
||||
办卡
|
||||
</view>
|
||||
<view wx:if="{{item.is_upgrade == 0 && current_scroll !== '3' && item.card_id!=29}}" class="balance-row-sub-p flex-con3" data-url="/user/recharge/recharge" catchtap="goUrl">
|
||||
充值
|
||||
</view>
|
||||
<view wx:if="{{item.is_upgrade == 0 && item.level < 4 && current_scroll == '1'}}" class="balance-row-sub-p flex-con3 colorAsh mr30" data-url="/user/upgradeCart/upgradeCart?type={{current_scroll}}&openType=0&is_upgrade=0&card_upgrade={{item.id}}&card_id={{item.card_id}}" catchtap="goUrl">
|
||||
升级
|
||||
</view>
|
||||
<!-- <view class="balance-row-sub-p colorRed">立即充值</view> -->
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- toasta提示 -->
|
||||
<i-toast id="toast" />
|
||||
Reference in New Issue
Block a user