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