Commit 51fdcb6bc60b9d8e1f838cf89254e6eb7ff918d0
1 parent
149ca307
去填写文字高亮
Showing
3 changed files
with
23 additions
and
13 deletions
src/components/appAddressToast/appAddressToast.less
src/components/appAddressToast/appAddressToast.vue
src/pages/pointsMall/pointsMall.vue
| ... | ... | @@ -221,19 +221,26 @@ export default { |
| 221 | 221 | */ |
| 222 | 222 | toDetail (item) { |
| 223 | 223 | if (this.isCNLive.value) { |
| 224 | + this.$router.push({ | |
| 225 | + path: "/goodDetails", | |
| 226 | + query: { | |
| 227 | + goodsId: item.id, | |
| 228 | + uid: this.getStore("uid") | |
| 229 | + } | |
| 230 | + }) | |
| 224 | 231 | // 跳转封装 |
| 225 | - if (typeof this.$parent.gotoDetail === 'function') { | |
| 226 | - | |
| 227 | - // 设置跳转参数 | |
| 228 | - let params = { | |
| 229 | - type: '5', | |
| 230 | - to: window.location.origin + '/html/select_good/1/#/goodDetails?goodsId=' + item.id, | |
| 231 | - shop_type: '' | |
| 232 | - }; | |
| 233 | - | |
| 234 | - // 页面跳转 | |
| 235 | - this.$parent.gotoDetail(params); | |
| 236 | - } | |
| 232 | + // if (typeof this.$parent.gotoDetail === 'function') { | |
| 233 | + | |
| 234 | + // // 设置跳转参数 | |
| 235 | + // let params = { | |
| 236 | + // type: '5', | |
| 237 | + // to: window.location.origin + '/html/select_good/1/#/goodDetails?goodsId=' + item.id, | |
| 238 | + // shop_type: '' | |
| 239 | + // }; | |
| 240 | + | |
| 241 | + // // 页面跳转 | |
| 242 | + // this.$parent.gotoDetail(params); | |
| 243 | + // } | |
| 237 | 244 | } else { |
| 238 | 245 | this.$parent.callApp(); |
| 239 | 246 | } | ... | ... |