|
|
|
@ -87,9 +87,8 @@ |
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
<!-- #ifdef MP --> |
|
|
|
|
<!-- <button class="reBtn flright" open-type="getPhoneNumber" v-if="user.phone == null" |
|
|
|
|
@getphonenumber="getPhoneNumber">去支付</button> --> |
|
|
|
|
<button class="reBtn flright" @click="toPay">去支付</button> |
|
|
|
|
<button class="reBtn flright" v-if="user.phone == null" @click="jumpPhone">去支付</button> |
|
|
|
|
<button class="reBtn flright" v-else @click="toPay">去支付</button> |
|
|
|
|
<!-- #endif --> |
|
|
|
|
<!-- #ifdef H5 --> |
|
|
|
|
<button class="reBtn flright" v-if="user.phone == null" @click="jumpH5Bding">去支付</button> |
|
|
|
@ -292,6 +291,13 @@ |
|
|
|
|
this.discountPrice = parseFloat(gbprice - this.totalPrice).toFixed(0); |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
//跳转手机授权 |
|
|
|
|
jumpPhone(){ |
|
|
|
|
uni.navigateTo({ |
|
|
|
|
url:'../../userLogin/userLogin' |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
//去支付 |
|
|
|
|
toPay() { |
|
|
|
|
if (this.inputMoney == '' || this.inputMoney < 1) { |
|
|
|
|
uni.showToast({ |
|
|
|
|