Commit cac563fc59ddb104f82acadc033ebd27b3cb2f5a
1 parent
4a7c1391
跳转到达人中心页优化
Showing
2 changed files
with
5 additions
and
7 deletions
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 | }, | ... | ... |