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
| @@ -21,7 +21,7 @@ | @@ -21,7 +21,7 @@ | ||
| 21 | </div> | 21 | </div> |
| 22 | </div> | 22 | </div> |
| 23 | <div class="tooltips" v-else @click="changeAddress(addressInfo)"> | 23 | <div class="tooltips" v-else @click="changeAddress(addressInfo)"> |
| 24 | - 您未填写地址,去填写 | 24 | + 您未填写地址,<span class="active">去填写</span> |
| 25 | </div> | 25 | </div> |
| 26 | </div> | 26 | </div> |
| 27 | <!--商品--> | 27 | <!--商品--> |
src/pages/pointsMall/pointsMall.vue
| @@ -221,19 +221,26 @@ export default { | @@ -221,19 +221,26 @@ export default { | ||
| 221 | */ | 221 | */ |
| 222 | toDetail (item) { | 222 | toDetail (item) { |
| 223 | if (this.isCNLive.value) { | 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 | } else { | 244 | } else { |
| 238 | this.$parent.callApp(); | 245 | this.$parent.callApp(); |
| 239 | } | 246 | } |