|
@@ -117,7 +117,7 @@
|
|
|
|
|
|
<u-image width="600" style="margin: auto;min-height: 250px;"
|
|
|
mode="widthFix" @click="showNtStepClick"
|
|
|
- v-show="showNtStep==2||showNtStep==3"
|
|
|
+ v-show="showNtStep==2||showNtStep==3||showNtStep==4"
|
|
|
src="@/assets/img/nt/nt-activity-3.png">
|
|
|
|
|
|
|
|
@@ -145,6 +145,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
+ </u-image>
|
|
|
+ <u-image width="500" style="color: #FFFFFF;
|
|
|
+ font-size: 64rpx;
|
|
|
+ position: relative;
|
|
|
+ top: -540rpx;
|
|
|
+ right: -60rpx;height: 0;
|
|
|
+ "
|
|
|
+ mode="widthFix" @click="showNtStepClick"
|
|
|
+ v-show="showNtStep==4"
|
|
|
+ src="@/assets/img/nt/nt-activity-6.png">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
</u-image>
|
|
|
<view
|
|
|
style="color: #ecc07d;
|
|
@@ -155,7 +168,7 @@
|
|
|
width: 340rpx;"
|
|
|
@click="showNtStepClick"
|
|
|
|
|
|
- v-show="showNtStep==2||showNtStep==3" >
|
|
|
+ v-show="showNtStep==2||showNtStep==3||showNtStep==4" >
|
|
|
<span >.</span>
|
|
|
</view>
|
|
|
|
|
@@ -658,7 +671,8 @@
|
|
|
var userInfo= this.carhelp.getPersonInfo();
|
|
|
|
|
|
if(userInfo&&userInfo.id){
|
|
|
- this.showNt=true
|
|
|
+
|
|
|
+ this.exchangeDetail(obj.nt)
|
|
|
}else{
|
|
|
uni.navigateTo({
|
|
|
url: '/pages/login/login?member=1'
|
|
@@ -684,9 +698,15 @@
|
|
|
userApi.exchangeDetail({
|
|
|
key: exchangeCode
|
|
|
}).then((res) => {
|
|
|
+ this.showNt=true
|
|
|
if(!res.data.enabled){
|
|
|
this.carhelp.set("netie_activity",null)
|
|
|
- this.showNtStep=3
|
|
|
+ if(res.data.code==2){
|
|
|
+ this.showNtStep=4
|
|
|
+ }else{
|
|
|
+ this.showNtStep=3
|
|
|
+ }
|
|
|
+
|
|
|
uni.hideLoading();
|
|
|
}else if(res.data.status==1||res.data.status==2){
|
|
|
this.carhelp.set("netie_activity",{
|
|
@@ -696,7 +716,7 @@
|
|
|
this.showNtStep=2
|
|
|
uni.hideLoading();
|
|
|
}else{
|
|
|
- this.redeemNow(exchangeCode)
|
|
|
+
|
|
|
|
|
|
this.showNtValue=res.data.totalDiscount
|
|
|
}
|
|
@@ -734,7 +754,8 @@
|
|
|
showNtStepClick(){
|
|
|
if(this.showNtStep==0){
|
|
|
var obj=this.carhelp.get("netie_activity")
|
|
|
- this.exchangeDetail(obj.nt)
|
|
|
+
|
|
|
+ this.redeemNow(obj.nt)
|
|
|
// if(this.personInfo.userType!=1){
|
|
|
|
|
|
// }else{
|
|
@@ -745,7 +766,7 @@
|
|
|
// })
|
|
|
// }
|
|
|
|
|
|
- }else if(this.showNtStep==1||this.showNtStep==2||this.showNtStep==3){
|
|
|
+ }else if(this.showNtStep==1||this.showNtStep==2||this.showNtStep==3||this.showNtStep==4){
|
|
|
this.showNt=false;
|
|
|
uni.navigateTo({
|
|
|
url:"/pages/user/coupon/myCoupon"
|