Commit 03c988998752cdd9208fc9ab47a088b55e35fbe2
1 parent
965eeee4
跳转到达人详情页和达人动态详情页传uid
Showing
3 changed files
with
14 additions
and
5 deletions
src/pages/moreDynamic/moreDynamic.vue
| @@ -126,7 +126,9 @@ | @@ -126,7 +126,9 @@ | ||
| 126 | // 临时,设置跳转达人个人主页用户数据 | 126 | // 临时,设置跳转达人个人主页用户数据 |
| 127 | Object.assign(item, { | 127 | Object.assign(item, { |
| 128 | type: "5", | 128 | type: "5", |
| 129 | - to: (this.mode == "prod") ? "https://managemall.cnlive.com/html/preferred-library/1/#/pages/darenProfile/darenProfile?from=redirect" + "&id=" + (item.type==2?item.uid:item.id) : "https://wjjshop.cnlive.com/html/preferred-library/1/#/pages/darenProfile/darenProfile?from=redirect"+ "&id=" + (item.type==2?item.uid:item.id), | 129 | + to: (this.mode == "prod") ? |
| 130 | + "https://managemall.cnlive.com/html/preferred-library/1/#/pages/darenProfile/darenProfile?from=redirect" + "&id=" + (item.type==2?item.uid:item.id) + "&uid=" + this.getStore("uid") | ||
| 131 | + : "https://wjjshop.cnlive.com/html/preferred-library/1/#/pages/darenProfile/darenProfile?from=redirect"+ "&id=" + (item.type==2?item.uid:item.id) + "&uid=" + this.getStore("uid"), | ||
| 130 | shop_type: "" | 132 | shop_type: "" |
| 131 | }); | 133 | }); |
| 132 | 134 | ||
| @@ -152,7 +154,9 @@ | @@ -152,7 +154,9 @@ | ||
| 152 | // 临时,设置跳转参数,跳转达人动态详情页面 | 154 | // 临时,设置跳转参数,跳转达人动态详情页面 |
| 153 | Object.assign(item, { | 155 | Object.assign(item, { |
| 154 | type: "5", | 156 | type: "5", |
| 155 | - to: (this.mode == "prod") ? "https://managemall.cnlive.com/html/preferred-library/1/#/pages/darenProfileDynamicDetail/darenProfileDynamicDetail?from=redirect" + "&id=" + item.id: "https://wjjshop.cnlive.com/html/preferred-library/1/#/pages/darenProfileDynamicDetail/darenProfileDynamicDetail?from=redirect"+ "&id=" + item.id, | 157 | + to: (this.mode == "prod") ? |
| 158 | + "https://managemall.cnlive.com/html/preferred-library/1/#/pages/darenProfileDynamicDetail/darenProfileDynamicDetail?from=redirect" + "&id=" + item.id + "&uid=" + this.getStore("uid") | ||
| 159 | + : "https://wjjshop.cnlive.com/html/preferred-library/1/#/pages/darenProfileDynamicDetail/darenProfileDynamicDetail?from=redirect"+ "&id=" + item.id + "&uid=" + this.getStore("uid"), | ||
| 156 | shop_type: "" | 160 | shop_type: "" |
| 157 | }); | 161 | }); |
| 158 | 162 |
src/pages/newDaren/newDaren.vue
| @@ -344,7 +344,9 @@ | @@ -344,7 +344,9 @@ | ||
| 344 | // 临时,设置跳转参数,跳转达人动态详情页面 | 344 | // 临时,设置跳转参数,跳转达人动态详情页面 |
| 345 | Object.assign(item, { | 345 | Object.assign(item, { |
| 346 | type: "5", | 346 | type: "5", |
| 347 | - to: (this.mode == "prod") ? "https://managemall.cnlive.com/html/preferred-library/1/#/pages/darenProfileDynamicDetail/darenProfileDynamicDetail?from=redirect" + "&id=" + item.id: "https://wjjshop.cnlive.com/html/preferred-library/1/#/pages/darenProfileDynamicDetail/darenProfileDynamicDetail?from=redirect"+ "&id=" + item.id, | 347 | + to: (this.mode == "prod") ? |
| 348 | + "https://managemall.cnlive.com/html/preferred-library/1/#/pages/darenProfileDynamicDetail/darenProfileDynamicDetail?from=redirect" + "&id=" + item.id + "&uid=" + this.getStore("uid") | ||
| 349 | + : "https://wjjshop.cnlive.com/html/preferred-library/1/#/pages/darenProfileDynamicDetail/darenProfileDynamicDetail?from=redirect"+ "&id=" + item.id + "&uid=" + this.getStore("uid"), | ||
| 348 | shop_type: "" | 350 | shop_type: "" |
| 349 | }); | 351 | }); |
| 350 | 352 | ||
| @@ -368,7 +370,9 @@ | @@ -368,7 +370,9 @@ | ||
| 368 | // 临时,设置跳转达人个人主页用户数据 | 370 | // 临时,设置跳转达人个人主页用户数据 |
| 369 | Object.assign(item, { | 371 | Object.assign(item, { |
| 370 | type: "5", | 372 | type: "5", |
| 371 | - to: (this.mode == "prod") ? "https://managemall.cnlive.com/html/preferred-library/1/#/pages/darenProfile/darenProfile?from=redirect" + "&id=" + (item.type==2?item.uid:item.id) : "https://wjjshop.cnlive.com/html/preferred-library/1/#/pages/darenProfile/darenProfile?from=redirect"+ "&id=" + (item.type==2?item.uid:item.id), | 373 | + to: (this.mode == "prod") ? |
| 374 | + "https://managemall.cnlive.com/html/preferred-library/1/#/pages/darenProfile/darenProfile?from=redirect" + "&id=" + (item.type==2?item.uid:item.id) + "&uid=" + this.getStore("uid") : | ||
| 375 | + "https://wjjshop.cnlive.com/html/preferred-library/1/#/pages/darenProfile/darenProfile?from=redirect"+ "&id=" + (item.type==2?item.uid:item.id) + "&uid=" + this.getStore("uid"), | ||
| 372 | shop_type: "" | 376 | shop_type: "" |
| 373 | }); | 377 | }); |
| 374 | 378 |
src/pages/recommendMore/recommendMore.vue
| @@ -186,7 +186,8 @@ | @@ -186,7 +186,8 @@ | ||
| 186 | // 临时,设置跳转达人个人主页用户数据 | 186 | // 临时,设置跳转达人个人主页用户数据 |
| 187 | Object.assign(item, { | 187 | Object.assign(item, { |
| 188 | type: "5", | 188 | type: "5", |
| 189 | - 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, | 189 | + to: (this.mode == "prod") ? "https://managemall.cnlive.com/html/preferred-library/1/#/pages/darenProfile/darenProfile?from=redirect" + "&id=" + item.id + "&uid=" + this.getStore("uid") |
| 190 | + : "https://wjjshop.cnlive.com/html/preferred-library/1/#/pages/darenProfile/darenProfile?from=redirect"+ "&id=" + item.id + "&uid=" + this.getStore("uid"), | ||
| 190 | shop_type: "" | 191 | shop_type: "" |
| 191 | }); | 192 | }); |
| 192 | 193 |