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