Commit a73a5b73 by 张卓

分销隔断

parent 68673523
......@@ -145,6 +145,7 @@ export default {
showHomepage: false,//分销商首页入口
applySucessEntry: false,//成为分销弹框
getDistributorHomepageName: '',//小店入口名称
toHomePage: false,//是否分销隔断
};
},
components:{
......@@ -285,6 +286,13 @@ export default {
},
onShow() {
if(this.toHomePage) {
let linkVal = '/personalCenter/spokesmanCenter/mine/spokesmanHomePage?from=_goodsInfo'
app.$themeToLink({
type: 1,
link:linkVal,
});
}
this.getCartNum();
setTabBarActive.bind(this)(checkTabbarPage('/'));
this.$mp.page.onPageScroll= (el)=>{
......@@ -315,7 +323,6 @@ export default {
},
getSpokesmanInfo(extConfig) {
let linkVal = '/personalCenter/spokesmanCenter/mine/spokesmanHomePage?from=_goodsInfo';
console.log(1111112222233333,linkVal)
getMiniProgram().then(res=>{
app.globalData.spokesmanInfo = res;
if(
......@@ -325,6 +332,7 @@ export default {
res.distributorHomepage != 'null'&&
res.parentPartitionHomepageFlag == '1'
) {
this.toHomePage = true;
// let linkVal = '/personalCenter/spokesmanCenter/mine/spokesmanHomePage?from=_goodsInfo'
app.$themeToLink({
type: 1,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment