Commit 67de2d4b150e3ab1470c5ea119812bebaef75774

Authored by 王强
1 parent 6c07ae39

优选库“优选”页面,“已关注达人”连接跳转H5达人个人主页~

src/pages/optimization/optimization.vue
... ... @@ -313,8 +313,19 @@
313 313 */
314 314 toDetail(item) {
315 315  
316   - // 判断并调用通用跳转
  316 + // 判断是否有通用跳转函数
317 317 if (typeof this.$parent.gotoDetail === "function") {
  318 +
  319 + // 设置跳转达人个人主页用户数据
  320 + Object.assign(item, {
  321 + type: "5",
  322 + to: (this.mode == "prod") ?
  323 + "https://managemall.cnlive.com/html/preferred-library/1/#/pages/darenProfile/darenProfile?from=redirect" + "&id=" + (item.user_id) + (this.getStore("uid") ? "&uid=" + this.getStore("uid") : "") :
  324 + "https://wjjshop.cnlive.com/html/preferred-library/1/#/pages/darenProfile/darenProfile?from=redirect"+ "&id=" + (item.user_id) + (this.getStore("uid") ? "&uid=" + this.getStore("uid") : ""),
  325 + shop_type: ""
  326 + });
  327 +
  328 + // 调用通用跳转
318 329 this.$parent.gotoDetail(item);
319 330 }
320 331 }
... ...