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