Commit dbcb2e8ef2b2ca127bec85a377e47b324e63d4a5
1 parent
05a38d31
优选库——优选首页跳转列表页获取URL方式调整,直接获取目录
Showing
1 changed file
with
5 additions
and
5 deletions
src/pages/optimization2/optimization2.vue
| @@ -385,7 +385,7 @@ | @@ -385,7 +385,7 @@ | ||
| 385 | // 设置跳转参数 | 385 | // 设置跳转参数 |
| 386 | let params = { | 386 | let params = { |
| 387 | type: '5', | 387 | type: '5', |
| 388 | - to: window.location.origin + '/html/select_good/1/#/discountList', | 388 | + to: window.location.origin + window.location.pathname + '#/discountList', |
| 389 | shop_type: '' | 389 | shop_type: '' |
| 390 | }; | 390 | }; |
| 391 | 391 | ||
| @@ -432,7 +432,7 @@ | @@ -432,7 +432,7 @@ | ||
| 432 | // 设置跳转参数 | 432 | // 设置跳转参数 |
| 433 | let params = { | 433 | let params = { |
| 434 | type: '5', | 434 | type: '5', |
| 435 | - to: window.location.origin + '/html/select_good/1/#/optimizationList', | 435 | + to: window.location.origin + window.location.pathname + '#/optimizationList', |
| 436 | shop_type: '' | 436 | shop_type: '' |
| 437 | }; | 437 | }; |
| 438 | 438 | ||
| @@ -453,7 +453,7 @@ | @@ -453,7 +453,7 @@ | ||
| 453 | // 设置跳转参数 | 453 | // 设置跳转参数 |
| 454 | let params = { | 454 | let params = { |
| 455 | type: '5', | 455 | type: '5', |
| 456 | - to: window.location.origin + '/html/select_good/1/#/hotSaleList', | 456 | + to: window.location.origin + window.location.pathname + '#/hotSaleList', |
| 457 | shop_type: '' | 457 | shop_type: '' |
| 458 | }; | 458 | }; |
| 459 | 459 | ||
| @@ -474,7 +474,7 @@ | @@ -474,7 +474,7 @@ | ||
| 474 | // 设置跳转参数 | 474 | // 设置跳转参数 |
| 475 | let params = { | 475 | let params = { |
| 476 | type: '5', | 476 | type: '5', |
| 477 | - to: window.location.origin + '/html/select_good/1/#/goodDetails?goodsId=' + item.id, | 477 | + to: window.location.origin + window.location.pathname + '#/goodDetails?goodsId=' + item.id, |
| 478 | shop_type: '' | 478 | shop_type: '' |
| 479 | }; | 479 | }; |
| 480 | 480 | ||
| @@ -495,7 +495,7 @@ | @@ -495,7 +495,7 @@ | ||
| 495 | // 设置跳转参数 | 495 | // 设置跳转参数 |
| 496 | let params = { | 496 | let params = { |
| 497 | type: '5', | 497 | type: '5', |
| 498 | - to: window.location.origin + '/html/select_good/1/#/pointsMall', | 498 | + to: window.location.origin + window.location.pathname + '#/pointsMall', |
| 499 | shop_type: '' | 499 | shop_type: '' |
| 500 | }; | 500 | }; |
| 501 | 501 |