购买按钮
This commit is contained in:
@@ -220,7 +220,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<p class="tiijiao-tipjiao" 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>
|
||||
@@ -363,7 +363,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="morePay">确认支付</button></p>
|
||||
<p class="tijiao"><button class="btn btn-primary pay-botton" type="button" v-on:click="morePay">确认支付</button></p>
|
||||
</form>
|
||||
</div>
|
||||
<!-- 支付弹窗开始 -->
|
||||
@@ -618,6 +618,7 @@
|
||||
return true;
|
||||
},
|
||||
onePay: function () {
|
||||
$(".pay-botton").hide();
|
||||
this.OneBuyModel.ConnectCount = parseInt(this.OneBuyModel.ConnectCount)
|
||||
if (!this.isNum(this.OneBuyModel.ConnectCount)) return;
|
||||
if (!this.checkOneAccount() || !this.checkOnePwd()) return;
|
||||
@@ -658,6 +659,7 @@
|
||||
});
|
||||
},
|
||||
morePay: function () {
|
||||
$(".pay-botton").hide();
|
||||
this.MoreBuyModel.ConnectCount = parseInt(this.MoreBuyModel.ConnectCount)
|
||||
if (!this.isNum(this.MoreBuyModel.ConnectCount)) return;
|
||||
if (!this.checkMoreAccount() || !this.checkMorePwd() || this.MoreBuyModel.MaxPostfix>500) return;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user