Commit 0ccb002e authored by Mac's avatar Mac

1

parent b238a016
......@@ -20,7 +20,7 @@
<view>支付方式</view>
<view style="text-align: right;">在线支付</view>
</view>
<view class="discountbox" style="padding: 15px 0;margin-bottom: 12px;">
<view class="discountbox" style="padding: 15px 0;margin-bottom: 12px;" v-if="ds.total_price >0">
<view class="filed" style="justify-content: space-between;">
<view class="left" style="display: flex;flex-direction: row;align-items: center;">
<image src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/lvqian.png" style="width: 15px;height: 15px;margin-right: 3px;"></image>
......@@ -126,12 +126,12 @@
<u-icon name="ellipsis" size="36" v-if="couponList.length > 0" @click="showCouponHandler"></u-icon>
</view>
</view>
<view class="filed" v-if="IsDeposit==1">
<view class="filed" v-if="IsDeposit==1 && mchs[0].deposit.can_use == true">
<view class="left">储蓄卡</view>
<view class="right">
<text class="content" v-if="mchs[0].deposit.use_deposit_id == 0 && cashCardList.length>0" @click="showcashcardbtn">选择储蓄卡</text>
<text class="content" v-else-if="cashCardList.length==0">暂无储蓄卡</text>
<text class="content" v-else :style="{ color: mc }" @click="showcashcardbtn">优惠{{ mchs[0].deposit.deposit_price }}元</text>
<text class="content" v-else :style="{ color: mc }" @click="showcashcardbtn">抵扣{{ mchs[0].deposit.deposit_price }}元</text>
<u-icon name="ellipsis" size="36" v-if="cashCardList.length > 0" @click="showcashcardbtn"></u-icon>
</view>
</view>
......@@ -164,8 +164,8 @@
<text class="price" :style="{ color: mc }">-¥{{ couponPrice.toFixed(2) }}</text>
</view>
</view>
<view class="filed" v-if="IsDeposit==1">
<view class="left">储蓄卡扣除</view>
<view class="filed" v-if="IsDeposit==1 && mchs[0].deposit.can_use == true">
<view class="left">储蓄卡抵扣</view>
<view class="right">
<text class="price" :style="{ color: mc }">-¥{{ cashPrice.toFixed(2) }}</text>
</view>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment