jufubao-third 1.0.22-beta8 → 1.0.22-beta9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-third",
3
- "version": "1.0.22-beta8",
3
+ "version": "1.0.22-beta9",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件第三方购物平台包",
6
6
  "main": "index.js",
@@ -33,6 +33,7 @@
33
33
  import { jfbRootExec } from "@/utils/xd.event";
34
34
  import JfbThirdRideLandMixin from "./JfbThirdRideLandMixin";
35
35
  import { gCPVal } from "@/utils/xd.base";
36
+ import posterMixins from "@/mixins/posterMixins";
36
37
  import componentsMixins from "@/mixins/componentsMixins";
37
38
  import extsMixins from "@/mixins/extsMixins";
38
39
  import getServiceUrl from "@/common/getServiceUrl";
@@ -42,7 +43,7 @@
42
43
  XdFontIcon
43
44
  },
44
45
  mixins: [
45
- componentsMixins, extsMixins, JfbThirdRideLandMixin
46
+ componentsMixins, extsMixins, JfbThirdRideLandMixin, posterMixins
46
47
  ],
47
48
  data() {
48
49
  return {
@@ -168,15 +169,25 @@
168
169
  }
169
170
  this.countdownLeft = 0;
170
171
  },
172
+ createUrlPosterItem(url=''){
173
+ return {
174
+ redirect_type: 'URL',
175
+ redirect_data: JSON.stringify({url}),
176
+ app_type: 'h5',
177
+ redirect_params: '',
178
+ deploy_dir: ''
179
+ };
180
+ },
171
181
  /**
172
182
  * @description 点击按钮,倒计时结束后跳转配置的链接
173
183
  */
174
184
  handleBtnClick(){
175
185
  if (this.$configProject['isPreview']) return;
176
186
  if(this.btnDisabled) return;
177
- this.$xdUniHelper.navigateTo({
178
- url: this.btnLink
179
- });
187
+ this.handlePosterClick(this.createUrlPosterItem(this.btnLink))
188
+ // this.$xdUniHelper.navigateTo({
189
+ // url: this.btnLink
190
+ // });
180
191
  },
181
192
  onJfbScroll(options) {
182
193
  console.log('event.onJfbScroll', options)