根据交易申请显示商品数据
This commit is contained in:
parent
d1366e2425
commit
49b64a271a
@ -618,6 +618,12 @@
|
|||||||
value: 2,
|
value: 2,
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
tabs5: [{
|
||||||
|
icon: 'icon-yizhan_o',
|
||||||
|
name: '云商品',
|
||||||
|
value: 7,
|
||||||
|
}
|
||||||
|
],
|
||||||
tabs: [],
|
tabs: [],
|
||||||
storeScroll: true,
|
storeScroll: true,
|
||||||
storeTop: 0,
|
storeTop: 0,
|
||||||
@ -627,7 +633,8 @@
|
|||||||
service_open: false,
|
service_open: false,
|
||||||
type: 3,
|
type: 3,
|
||||||
statusBarHeight: 0,
|
statusBarHeight: 0,
|
||||||
isLihaiYun: ''
|
isLihaiYun: '',
|
||||||
|
business_status:0
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
@ -768,8 +775,15 @@
|
|||||||
this.storeHeight = data.height;
|
this.storeHeight = data.height;
|
||||||
this.storeTop = data.top;
|
this.storeTop = data.top;
|
||||||
}).exec();
|
}).exec();
|
||||||
|
this.userinfo()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
userinfo(){
|
||||||
|
getUserInfo().then(res => {
|
||||||
|
|
||||||
|
this.business_status=res.data.mer_info.business_status
|
||||||
|
})
|
||||||
|
},
|
||||||
getProductSpu() {
|
getProductSpu() {
|
||||||
let that = this;
|
let that = this;
|
||||||
if (that.loadend) return;
|
if (that.loadend) return;
|
||||||
@ -954,7 +968,12 @@
|
|||||||
// this.tabs = this.tabs2
|
// this.tabs = this.tabs2
|
||||||
// this.service_open = false
|
// this.service_open = false
|
||||||
// }
|
// }
|
||||||
this.isLihaiYun === 'Lihai' ? this.tabs = this.tabs4 : this.tabs = this.tabs3
|
if(this.business_status==2){
|
||||||
|
this.isLihaiYun === 'Lihai' ? this.tabs = this.tabs4 : this.tabs = this.tabs3
|
||||||
|
}else{
|
||||||
|
this.tabs = this.tabs5
|
||||||
|
}
|
||||||
|
|
||||||
this.tab(this.type)
|
this.tab(this.type)
|
||||||
// #ifdef H5
|
// #ifdef H5
|
||||||
this.ShareInfo();
|
this.ShareInfo();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user