This commit is contained in:
parent
cd3ab2e645
commit
4ff49ea26d
|
@ -66,10 +66,9 @@
|
|||
return arr.sort(() => Math.random() -0.5);
|
||||
},
|
||||
press (obj) {
|
||||
console.log(obj);
|
||||
let num = obj.num
|
||||
if (obj.num == 10) {
|
||||
console.log('我是10我什么都不干')
|
||||
// console.log('我是10我什么都不干')
|
||||
} else if (obj.num == 12) {
|
||||
this.password = this.password.slice(0,this.password.length-1);
|
||||
} else if (obj.num == 11) {
|
||||
|
@ -92,7 +91,7 @@
|
|||
},
|
||||
// 关闭支付页面
|
||||
closeFuc () {
|
||||
this.$emit("closeFuc",false)
|
||||
this.$emit("closeFuc")
|
||||
},
|
||||
// 找回密码
|
||||
forgetFuc () {
|
||||
|
|
|
@ -460,7 +460,7 @@
|
|||
<checkDelivery :deliveryName="deliveryName" :isShowBox="isShowBox" :activeObj="activeObj" :radioList="radioList" @close="boxClose" @confirmBtn="getData">
|
||||
</checkDelivery>
|
||||
</block>
|
||||
<pay :show_key="payShow" :price="totalPrice" :show_subTitle="true" :mix="true" @payFunc="payFunc"></pay>
|
||||
<pay :show_key="payShow" :price="totalPrice" :show_subTitle="true" :mix="true" @payFunc="payFunc" @closeFuc="closePay"></pay>
|
||||
<!--优惠明细弹窗-->
|
||||
<discountDetails :isShowDiscount="isShowDiscount" @close="closeDiscount" :couponData="couponData"></discountDetails>
|
||||
<timeranges :isShow='isShow' :time='timeranges' @confrim="confrim" @cancel="cancels"></timeranges>
|
||||
|
@ -768,6 +768,9 @@
|
|||
that.invoice.invoice = false
|
||||
},
|
||||
methods: {
|
||||
closePay(){
|
||||
this.payShow=false;
|
||||
},
|
||||
payFunc(val){
|
||||
let data1=this.payInfo;
|
||||
if(data1.balance_vert){
|
||||
|
@ -1300,8 +1303,13 @@
|
|||
url: goPages
|
||||
});
|
||||
break;
|
||||
case 'pay_error':
|
||||
return that.$util.Tips({
|
||||
title: res.message
|
||||
});
|
||||
break;
|
||||
case 'success':
|
||||
that.payShow=false;
|
||||
that.closePay();
|
||||
return that.$util.Tips({
|
||||
title: res.message,
|
||||
icon: 'success'
|
||||
|
|
|
@ -147,8 +147,8 @@
|
|||
this.getIntegralList();
|
||||
},
|
||||
methods: {
|
||||
closeFunc(val){
|
||||
this.payShow=val;
|
||||
closeFunc(){
|
||||
this.payShow=false;
|
||||
},
|
||||
async payFunc(val){
|
||||
let d={
|
||||
|
@ -158,16 +158,18 @@
|
|||
integral:this.presentExp.integral,
|
||||
password:val
|
||||
}
|
||||
this.payShow=false;
|
||||
this.closeFunc();
|
||||
await integralGive(d).then((res)=>{
|
||||
if(res){
|
||||
uni.showToast({
|
||||
icon:'none',
|
||||
title: res.message
|
||||
});
|
||||
}
|
||||
}).catch((err)=>{
|
||||
uni.showToast({
|
||||
title: res.message
|
||||
icon:'none',
|
||||
title: err,
|
||||
});
|
||||
})
|
||||
},
|
||||
|
|
|
@ -141,7 +141,7 @@
|
|||
await registerVerify({
|
||||
phone:that.userInfo.phone,
|
||||
code:that.captcha,
|
||||
type: 'change_pwd',
|
||||
type: 'change_pay_pwd',
|
||||
captchaType: 'blockPuzzle',
|
||||
captchaVerification: data.captchaVerification
|
||||
}).then(res => {
|
||||
|
|
Loading…
Reference in New Issue