|
@@ -76,6 +76,18 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
+ <!-- 弹窗提示 -->
|
|
|
+ <tui-modal
|
|
|
+ :show="modal"
|
|
|
+ @click="handleClick"
|
|
|
+ :content="contentModalText"
|
|
|
+ :button="modalButton"
|
|
|
+ color="#333"
|
|
|
+ :size="32"
|
|
|
+ shape="circle"
|
|
|
+ :maskClosable="false"
|
|
|
+ >
|
|
|
+ </tui-modal>
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
@@ -118,6 +130,17 @@
|
|
|
payHttpUrl:'',
|
|
|
mbOrderId:0, // 支付记录订单Id
|
|
|
modal:false,
|
|
|
+ contentModalText: '本次支付金额已超出微信支付限额,请输入小于5千的金额。', //操作文字提示语句
|
|
|
+ modalButton: [
|
|
|
+ {
|
|
|
+ text: '知道了',
|
|
|
+ customStyle: {
|
|
|
+ color: '#fff',
|
|
|
+ bgColor: 'linear-gradient(90deg, #F28F31 0%, #E15616 100%)'
|
|
|
+ },
|
|
|
+ plain: false
|
|
|
+ }
|
|
|
+ ],
|
|
|
}
|
|
|
},
|
|
|
onLoad(option) {
|
|
@@ -241,7 +264,7 @@
|
|
|
},
|
|
|
async MiniWxPayFor(){// 微信支付
|
|
|
if(this.payAmount > 5000){
|
|
|
- this.$util.modal('','本次支付金额已超出微信支付限额,请输入小于5千的金额进行支付','知道了','',false,() =>{})
|
|
|
+ this.modal = true
|
|
|
return
|
|
|
}
|
|
|
if(this.payAmount == 0){
|
|
@@ -262,6 +285,9 @@
|
|
|
}
|
|
|
this.weChatMiniOrderWxPay(params)
|
|
|
},
|
|
|
+ handleClick(){
|
|
|
+ this.modal = false
|
|
|
+ },
|
|
|
confirmEvent(value){//点击自定义键盘完成的回调函数
|
|
|
this.chechValue(value)
|
|
|
this.showDigitKeyboard = false
|
|
@@ -312,6 +338,7 @@
|
|
|
})
|
|
|
return stateText
|
|
|
},
|
|
|
+
|
|
|
hideTips(){//隐藏弹窗
|
|
|
this.isShowTip = false
|
|
|
},
|