Commit d538278f by 张卓

分享带分销数据用于绑定

parent b1d73cc2
......@@ -7,6 +7,7 @@
<div v-if="showSpokesManHome">
<get-index-homepage class="getIndexHomePage"></get-index-homepage>
</div>
{{options}}
<ThemeDataPlant></ThemeDataPlant>
<div v-for="(item,index) in pageData" :key="index">
<div v-if="item.componentCode=='banner' && item.componentInfo.visible == 1">
......@@ -146,6 +147,7 @@ export default {
getDistributorHomepageName: '',//小店入口名称
active:-1,
toHomePage: false,//是否分销隔断
options: 1,
};
},
components:{
......@@ -219,7 +221,7 @@ export default {
key: "openid"
});
}
this.options = JSON.stringify(options);
this.changeLocation = options.changeLocation || ''
if(this.changeLocation == 1){
......@@ -460,7 +462,12 @@ export default {
let title = app.globalData.shopInfo.shopName;
await app.fenxiaoModel.getSpokesmanidByShare().then(data=>{
if (data.hasInvitationStatus == 1) {
newHref = concatUrl(newHref,data)
let newData = {
spokesmanGroupId: data.groupId,
spokesmanShopId: data.shopId,
spokesmanRelId: data.spokesmanId,
}
newHref = concatUrl(newHref,newData)
}
})
console.log(newHref,3333555666,title,res)
......
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