update @修改模版
This commit is contained in:
parent
f3de8d928b
commit
97a0832ad2
|
@ -300,6 +300,7 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
async receive() {
|
async receive() {
|
||||||
|
if (this.$props.comType !== 1) return;
|
||||||
const code = this.pageData.goods.err_code, reson = this.pageData.goods.reson;
|
const code = this.pageData.goods.err_code, reson = this.pageData.goods.reson;
|
||||||
const that = this;
|
const that = this;
|
||||||
if (this.pollStatus) {
|
if (this.pollStatus) {
|
||||||
|
|
|
@ -198,6 +198,7 @@ export default {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
jumpOrder() {
|
jumpOrder() {
|
||||||
|
if (this.$props.comType !== 1) return;
|
||||||
this.$router.push({ path: '/orderList' , query: { from: 'home' } });
|
this.$router.push({ path: '/orderList' , query: { from: 'home' } });
|
||||||
},
|
},
|
||||||
changePopComStatus() {
|
changePopComStatus() {
|
||||||
|
@ -286,13 +287,13 @@ export default {
|
||||||
this.initialSlide = swiper.realIndex;
|
this.initialSlide = swiper.realIndex;
|
||||||
},
|
},
|
||||||
jumpBanner() {
|
jumpBanner() {
|
||||||
if (this.comType === 2) return;
|
if (this.$props.comType !== 1) return;
|
||||||
if (this.cssData.bannerUrl) {
|
if (this.cssData.bannerUrl) {
|
||||||
location.href = this.cssData.bannerUrl;
|
location.href = this.cssData.bannerUrl;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
jumpDetail(item: any, type?: string) {
|
jumpDetail(item: any, type?: string) {
|
||||||
if (this.comType === 2) return;
|
if (this.$props.comType !== 1) return;
|
||||||
if (type !== 'auto' && item.goods.key_code) {
|
if (type !== 'auto' && item.goods.key_code) {
|
||||||
return showToast(item.goods.reson || '活动异常');
|
return showToast(item.goods.reson || '活动异常');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue