|
@@ -316,8 +316,6 @@ export default {
|
|
|
},
|
|
},
|
|
|
showBigCover(item){
|
|
showBigCover(item){
|
|
|
this.$util.pageTo({url: "/admin/ghsProduct/detail",query: {id: item.id,ghsId:this.option.id}})
|
|
this.$util.pageTo({url: "/admin/ghsProduct/detail",query: {id: item.id,ghsId:this.option.id}})
|
|
|
- //this.popupShow=true
|
|
|
|
|
- //this.infoData = item
|
|
|
|
|
},
|
|
},
|
|
|
init(){
|
|
init(){
|
|
|
|
|
|
|
@@ -362,8 +360,8 @@ export default {
|
|
|
this.createShareDiscount()
|
|
this.createShareDiscount()
|
|
|
uni.setNavigationBarTitle({title: this.ghsInfo.name})
|
|
uni.setNavigationBarTitle({title: this.ghsInfo.name})
|
|
|
this.option.id = res.data.id;
|
|
this.option.id = res.data.id;
|
|
|
- //不是新人或者已经下过单的不再显示新人红包
|
|
|
|
|
- if(res.hasCg > 0 || res.new == 0){
|
|
|
|
|
|
|
+ //不是新人或者已经下过单的或者活动没有开启不显示新人红包
|
|
|
|
|
+ if(this.ghsInfo.hasCg == 1 || this.ghsInfo.new == 0 || this.ghsInfo.xrFl == 0 || this.ghsInfo.sendNewGift == 1){
|
|
|
this.isNewCustom = false
|
|
this.isNewCustom = false
|
|
|
}else{
|
|
}else{
|
|
|
this.isNewCustom = true
|
|
this.isNewCustom = true
|
|
@@ -379,8 +377,8 @@ export default {
|
|
|
this.visitMall(this.option.id)
|
|
this.visitMall(this.option.id)
|
|
|
this.createShareDiscount()
|
|
this.createShareDiscount()
|
|
|
uni.setNavigationBarTitle({title: this.ghsInfo.name})
|
|
uni.setNavigationBarTitle({title: this.ghsInfo.name})
|
|
|
- //不是新人或者已经下过单的不再显示新人红包
|
|
|
|
|
- if(res.hasCg > 0 || res.new == 0){
|
|
|
|
|
|
|
+ //不是新人或者已经下过单的或者活动没有开启不显示新人红
|
|
|
|
|
+ if(this.ghsInfo.hasCg == 1 || this.ghsInfo.new == 0 || this.ghsInfo.xrFl == 0 || this.ghsInfo.sendNewGift == 1){
|
|
|
this.isNewCustom = false
|
|
this.isNewCustom = false
|
|
|
}else{
|
|
}else{
|
|
|
this.isNewCustom = true
|
|
this.isNewCustom = true
|