购买按钮

This commit is contained in:
wanyongkang
2020-10-22 09:48:00 +08:00
parent 7c5a57226b
commit b781282ec4
4 changed files with 12 additions and 6 deletions

View File

@@ -188,7 +188,7 @@
</div>
</div>
<p class="ijiao-tip" style="color:red">{{Tip}}</p>
<p class="tijiao"><button class="btn btn-primary" type="button" v-on:click="onePay">确认支付</button></p>
<p class="tijiao"><button class="btn btn-primary pay-botton" type="button" v-on:click="onePay">确认支付</button></p>
</form>
</div>
@@ -316,6 +316,7 @@
})
},
onePay: function () {
$(".pay-botton").hide();
if (this.OneBuyModel.UseAccountAmount) {
if (this.RestAmount < this.PayAmount){
alert('余额不足,请充值。您也可以使用微信、支付宝支付。');return;