Commit 026d77bf596f2fbef7bef80697827888b89bbf94
1 parent
fb8a4011
微信端拉起APP
Showing
2 changed files
with
8 additions
and
7 deletions
src/pages/goodDetails/goodDetails.vue
| ... | ... | @@ -160,7 +160,7 @@ export default { |
| 160 | 160 | this.$parent.gotoDetail(params); |
| 161 | 161 | } |
| 162 | 162 | } else { |
| 163 | - this.$refs.callApp.callApp; | |
| 163 | + this.$parent.callApp(); | |
| 164 | 164 | } |
| 165 | 165 | }, |
| 166 | 166 | toLinkPointsMall () { |
| ... | ... | @@ -208,11 +208,12 @@ export default { |
| 208 | 208 | this.$parent.gotoDetail(params); |
| 209 | 209 | } |
| 210 | 210 | } else { |
| 211 | - this.$refs.callApp.callApp; | |
| 211 | + this.$parent.callApp(); | |
| 212 | 212 | } |
| 213 | 213 | }, |
| 214 | 214 | // 兑换 |
| 215 | 215 | exchange () { |
| 216 | + debugger | |
| 216 | 217 | if (this.isCNLive.value) { |
| 217 | 218 | // 提示用积分兑换兑换 |
| 218 | 219 | let options = { |
| ... | ... | @@ -228,7 +229,7 @@ export default { |
| 228 | 229 | // 显示通用浮层 |
| 229 | 230 | this.$parent.$refs.showModal.showLayer(); |
| 230 | 231 | } else { |
| 231 | - this.$refs.callApp.callApp; | |
| 232 | + this.$parent.callApp(); | |
| 232 | 233 | } |
| 233 | 234 | }, |
| 234 | 235 | // 确定兑换回调 | ... | ... |
src/pages/pointsMall/pointsMall.vue
| ... | ... | @@ -177,7 +177,7 @@ export default { |
| 177 | 177 | document.documentElement.scrollTop = document.body.scrollTop = this.$refs[item.ref].offsetTop - safeDistance - (20 * ((document.documentElement.clientWidth || document.body.clientWidth) / 750)) - 50; |
| 178 | 178 | } |
| 179 | 179 | } else { |
| 180 | - this.$refs.callApp.callApp; | |
| 180 | + this.$parent.callApp();; | |
| 181 | 181 | } |
| 182 | 182 | }, |
| 183 | 183 | /** |
| ... | ... | @@ -193,7 +193,7 @@ export default { |
| 193 | 193 | } |
| 194 | 194 | }) |
| 195 | 195 | } else { |
| 196 | - this.$refs.callApp.callApp; | |
| 196 | + this.$parent.callApp();; | |
| 197 | 197 | } |
| 198 | 198 | }, |
| 199 | 199 | /** |
| ... | ... | @@ -212,7 +212,7 @@ export default { |
| 212 | 212 | window.obj.jumpClientIntegralList(); |
| 213 | 213 | } |
| 214 | 214 | } else { |
| 215 | - this.$refs.callApp.callApp; | |
| 215 | + this.$parent.callApp();; | |
| 216 | 216 | } |
| 217 | 217 | }, |
| 218 | 218 | /** |
| ... | ... | @@ -230,7 +230,7 @@ export default { |
| 230 | 230 | } |
| 231 | 231 | }) |
| 232 | 232 | } else { |
| 233 | - this.$refs.callApp.callApp; | |
| 233 | + this.$parent.callApp();; | |
| 234 | 234 | } |
| 235 | 235 | }, |
| 236 | 236 | /** | ... | ... |