|
@@ -7,30 +7,30 @@
|
|
|
<text class="payType">请选择支付方式</text>
|
|
<text class="payType">请选择支付方式</text>
|
|
|
<image class="x" src="/static/common/ox.png" @click="closePayPopup"></image>
|
|
<image class="x" src="/static/common/ox.png" @click="closePayPopup"></image>
|
|
|
</view>
|
|
</view>
|
|
|
-<!-- <view class="payTitle">-->
|
|
|
|
|
-<!-- <text>选择微信支付或余额支付</text>-->
|
|
|
|
|
-<!-- </view>-->
|
|
|
|
|
|
|
+ <view class="payTitle">
|
|
|
|
|
+ <text>选择微信支付或余额支付</text>
|
|
|
|
|
+ </view>
|
|
|
|
|
|
|
|
<view class=" payItemView">
|
|
<view class=" payItemView">
|
|
|
|
|
|
|
|
- <view v-if="lovePay && loveCard.totalBalance" class="payItem flex-row justify-between" @click="payItem(0)">
|
|
|
|
|
- <view class="flex-row">
|
|
|
|
|
- <u-icon name="/static/me/familyCard_icon.png" color="#38db38" size="36"></u-icon>
|
|
|
|
|
- <view class="payName flex-col justify-center">
|
|
|
|
|
- <text>亲情卡支付</text>
|
|
|
|
|
-<!-- <text class="balance">{{loveCard.presentUserName + loveCard.presentUserNo}}赠送的亲情卡</text>-->
|
|
|
|
|
-<!-- <text class="balance">余额{{loveCard.totalBalance}}</text>-->
|
|
|
|
|
- <view class="select">
|
|
|
|
|
- <uni-data-select class="uni-data-select" :clear="false" v-model="loveCardId" :localdata="loveCardList" @change="change"></uni-data-select>
|
|
|
|
|
- </view>
|
|
|
|
|
- </view>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="flex-col justify-center">
|
|
|
|
|
- <u-icon v-if="curServiceTab === 0" name="checkmark-circle-fill" color="#38db38"
|
|
|
|
|
- size="25"></u-icon>
|
|
|
|
|
- <u-icon v-else name="/static/order/ud9.png" color="green" size="25"></u-icon>
|
|
|
|
|
- </view>
|
|
|
|
|
- </view>
|
|
|
|
|
|
|
+<!-- <view v-if="lovePay && loveCard.totalBalance" class="payItem flex-row justify-between" @click="payItem(0)">-->
|
|
|
|
|
+<!-- <view class="flex-row">-->
|
|
|
|
|
+<!-- <u-icon name="/static/me/familyCard_icon.png" color="#38db38" size="36"></u-icon>-->
|
|
|
|
|
+<!-- <view class="payName flex-col justify-center">-->
|
|
|
|
|
+<!-- <text>亲情卡支付</text>-->
|
|
|
|
|
+<!--<!– <text class="balance">{{loveCard.presentUserName + loveCard.presentUserNo}}赠送的亲情卡</text>–>-->
|
|
|
|
|
+<!--<!– <text class="balance">余额{{loveCard.totalBalance}}</text>–>-->
|
|
|
|
|
+<!-- <view class="select">-->
|
|
|
|
|
+<!-- <uni-data-select class="uni-data-select" :clear="false" v-model="loveCardId" :localdata="loveCardList" @change="change"></uni-data-select>-->
|
|
|
|
|
+<!-- </view>-->
|
|
|
|
|
+<!-- </view>-->
|
|
|
|
|
+<!-- </view>-->
|
|
|
|
|
+<!-- <view class="flex-col justify-center">-->
|
|
|
|
|
+<!-- <u-icon v-if="curServiceTab === 0" name="checkmark-circle-fill" color="#38db38"-->
|
|
|
|
|
+<!-- size="25"></u-icon>-->
|
|
|
|
|
+<!-- <u-icon v-else name="/static/order/ud9.png" color="green" size="25"></u-icon>-->
|
|
|
|
|
+<!-- </view>-->
|
|
|
|
|
+<!-- </view>-->
|
|
|
|
|
|
|
|
<view v-if="blPay" class="payItem flex-row justify-between" @click="payItem(1)">
|
|
<view v-if="blPay" class="payItem flex-row justify-between" @click="payItem(1)">
|
|
|
<view class="flex-row">
|
|
<view class="flex-row">
|
|
@@ -169,7 +169,7 @@
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
created(){
|
|
created(){
|
|
|
- this.getMyReceiveList()
|
|
|
|
|
|
|
+ // this.getMyReceiveList()
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
|
|
@@ -187,11 +187,11 @@
|
|
|
this.$refs.popup.open()
|
|
this.$refs.popup.open()
|
|
|
},
|
|
},
|
|
|
payItem(num) {
|
|
payItem(num) {
|
|
|
- if (this.loveCard.totalBalance*1 < this.totalAmount*1 && num == 0){
|
|
|
|
|
- console.log(this.totalAmount)
|
|
|
|
|
- uni.$u.toast('余额不足')
|
|
|
|
|
- return
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ // if (this.loveCard.totalBalance*1 < this.totalAmount*1 && num == 0){
|
|
|
|
|
+ // console.log(this.totalAmount)
|
|
|
|
|
+ // uni.$u.toast('余额不足')
|
|
|
|
|
+ // return
|
|
|
|
|
+ // }
|
|
|
if (!this.selectBlPay) {
|
|
if (!this.selectBlPay) {
|
|
|
uni.$u.toast('余额不足')
|
|
uni.$u.toast('余额不足')
|
|
|
return
|
|
return
|