Commit 29001915961dcf15e4f9df347e077f86ced28b59

Authored by zhiyangdu
1 parent 2eb0d5ef

app外拉起APP

src/pages/goodDetails/goodDetails.vue
... ... @@ -160,7 +160,7 @@ export default {
160 160 this.$parent.gotoDetail(params);
161 161 }
162 162 } else {
163   - this.$parent.callApps();
  163 + this.$refs.callApp.callApp;
164 164 }
165 165 },
166 166 toLinkPointsMall () {
... ... @@ -208,7 +208,7 @@ export default {
208 208 this.$parent.gotoDetail(params);
209 209 }
210 210 } else {
211   - this.$parent.callApps();
  211 + this.$refs.callApp.callApp;
212 212 }
213 213 },
214 214 // 兑换
... ... @@ -228,7 +228,7 @@ export default {
228 228 // 显示通用浮层
229 229 this.$parent.$refs.showModal.showLayer();
230 230 } else {
231   - this.$parent.callApps();
  231 + this.$refs.callApp.callApp;
232 232 }
233 233 },
234 234 // 确定兑换回调
... ...
src/pages/pointsMall/pointsMall.vue
... ... @@ -179,7 +179,7 @@ export default {
179 179 document.documentElement.scrollTop = document.body.scrollTop = this.$refs[item.ref].offsetTop - safeDistance - (20 * ((document.documentElement.clientWidth || document.body.clientWidth) / 750));
180 180 }
181 181 } else {
182   - this.$parent.callApps();
  182 + this.$refs.callApp.callApp;
183 183 }
184 184 },
185 185 /**
... ... @@ -195,7 +195,7 @@ export default {
195 195 }
196 196 })
197 197 } else {
198   - this.$parent.callApps();
  198 + this.$refs.callApp.callApp;
199 199 }
200 200 },
201 201 /**
... ... @@ -214,7 +214,7 @@ export default {
214 214 window.obj.jumpClientIntegralList();
215 215 }
216 216 } else {
217   - this.$parent.callApps();
  217 + this.$refs.callApp.callApp;
218 218 }
219 219 },
220 220 /**
... ... @@ -232,7 +232,7 @@ export default {
232 232 }
233 233 })
234 234 } else {
235   - this.$parent.callApps();
  235 + this.$refs.callApp.callApp;
236 236 }
237 237 },
238 238 /**
... ...