Commit cac563fc59ddb104f82acadc033ebd27b3cb2f5a

Authored by zhiyangdu
1 parent 4a7c1391

跳转到达人中心页优化

src/pages/fansShopMessageList/fansShopMessageList.vue
... ... @@ -140,17 +140,16 @@
140 140 toDetail(item) {
141 141 // 判断并调用通用跳转
142 142 if (typeof this.$parent.gotoDetail === "function") {
143   -
144   - // 临时,设置跳转达人个人主页用户数据
  143 + // 设置跳转达人个人主页用户数据
145 144 Object.assign(item, {
146 145 type: "5",
147   - to: (this.mode == "prod") ? "https://managemall.cnlive.com/html/preferred-library/1/#/pages/darenProfile/darenProfile?from=redirect" + "&id=" + item.id : "https://wjjshop.cnlive.com/html/preferred-library/1/#/pages/darenProfile/darenProfile?from=redirect"+ "&id=" + item.id,
  146 + to: (this.mode == "prod") ?
  147 + "https://managemall.cnlive.com/html/preferred-library/1/#/pages/darenProfile/darenProfile?from=redirect" + "&id=" + (item.user_id) + (this.getStore("uid") ? "&uid=" + this.getStore("uid") : "") :
  148 + "https://wjjshop.cnlive.com/html/preferred-library/1/#/pages/darenProfile/darenProfile?from=redirect"+ "&id=" + (item.user_id) + (this.getStore("uid") ? "&uid=" + this.getStore("uid") : ""),
148 149 shop_type: ""
149 150 });
150 151  
151   -
152   - console.log("userJump", item);
153   -
  152 + // 调用通用跳转
154 153 this.$parent.gotoDetail(item);
155 154 }
156 155 },
... ...
src/pages/optimization/optimization.vue
... ... @@ -15,7 +15,6 @@
15 15  
16 16 <!-- 已关注达人列表(4条) -->
17 17 <div>
18   - {{item}}
19 18 <!-- 达人列表组件 -->
20 19 <dresserList @toDetail="toDetail"
21 20 :dresserList="dresserList">
... ...