|
@@ -79,7 +79,7 @@
|
|
|
class="button-com"
|
|
class="button-com"
|
|
|
@click="pageTo({
|
|
@click="pageTo({
|
|
|
url: '/pages/home/index',
|
|
url: '/pages/home/index',
|
|
|
- type: 2
|
|
|
|
|
|
|
+ type:4
|
|
|
})"
|
|
})"
|
|
|
>返回首页</button>
|
|
>返回首页</button>
|
|
|
</div>
|
|
</div>
|
|
@@ -182,6 +182,7 @@ export default {
|
|
|
if (this.$util.isEmpty(this.shopUser)) {
|
|
if (this.$util.isEmpty(this.shopUser)) {
|
|
|
return false;
|
|
return false;
|
|
|
}
|
|
}
|
|
|
|
|
+ console.log('this option ...',this.option)
|
|
|
return this.shopUser.userAsset.balance > this.option.totalPrice;
|
|
return this.shopUser.userAsset.balance > this.option.totalPrice;
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
@@ -189,8 +190,6 @@ export default {
|
|
|
methods: {
|
|
methods: {
|
|
|
init() {
|
|
init() {
|
|
|
this.pageStatus = this.option.pageStatus;
|
|
this.pageStatus = this.option.pageStatus;
|
|
|
- console.log("pageStatus 值发生变化");
|
|
|
|
|
- console.log(this.pageStatus);
|
|
|
|
|
this.payDiscountPrice = this.option.payDiscountPrice;
|
|
this.payDiscountPrice = this.option.payDiscountPrice;
|
|
|
this.payDiscountType = this.option.payDiscountType;
|
|
this.payDiscountType = this.option.payDiscountType;
|
|
|
this.initClass(this.pageStatus);
|
|
this.initClass(this.pageStatus);
|