jufubao-base 1.0.77-beta14 → 1.0.77-beta15

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-base",
3
- "version": "1.0.77-beta14",
3
+ "version": "1.0.77-beta15",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -170,7 +170,7 @@
170
170
  >忘记密码</view
171
171
  >
172
172
  </view>
173
- <view class="bottom_btn" :style="prod_bottom" v-if="isPreview === 'Y'">
173
+ <view class="bottom_btn" :style="prod_bottom" v-if="isPreview === 'Y' || isDebugPreview">
174
174
  <view @click="dialogPreview = true" :style="{
175
175
  color: mainColor,
176
176
  border: `1px solid ${mainColor}`
@@ -280,6 +280,7 @@ export default {
280
280
  partnerName: "",
281
281
  logoTextColor: "",
282
282
  isPreview:'N', //是否启用体验码模式
283
+ isDebugPreview: false,
283
284
  };
284
285
  },
285
286
  computed: {
@@ -360,6 +361,7 @@ export default {
360
361
 
361
362
  onJfbLoad(options) {
362
363
  this.redirect_url = options.redirect_url ? Base64.decode(options.redirect_url): '';
364
+ this.isDebugPreview = options['x-test'] === 'jfb-tiyan';
363
365
  // #ifdef MP-WEIXIN
364
366
  this.authWxMpListProviders();
365
367
  // #endif
@@ -55,6 +55,7 @@
55
55
  }"
56
56
  >
57
57
  <xd-swiper-dot
58
+ v-if="pageSwiperShow"
58
59
  :current="current"
59
60
  :info="info"
60
61
  field="content_name"
@@ -121,7 +122,7 @@
121
122
  data() {
122
123
  return {
123
124
  selfMask: false,
124
- pageShow:false,
125
+ pageSwiperShow:false,
125
126
  params: {},
126
127
 
127
128
  //Swiper 配置
@@ -302,6 +303,7 @@
302
303
  created() {
303
304
  this.init(this.container);
304
305
  this.isPreview = this.$configProject.isPreview;
306
+ this.pageSwiperShow = this.$root.$isShow;
305
307
  },
306
308
 
307
309
  destroyed() {
@@ -321,16 +323,19 @@
321
323
  return temp
322
324
  },
323
325
  handleAnimationfinish(e) {
326
+
327
+
324
328
  //不支持背景不处理
325
329
  if(this.isSupport==='N') return;
326
330
 
331
+ console.warn(`handleAnimationfinish.start`)
332
+ this.pageSwiperShow = this.$root.$isShow;
333
+
327
334
  //当前组件已被隐藏或者轮播图记录为0条处理
328
335
  if(this.$root.$isShow === false
329
336
  || this.info.length === 0
330
337
  || !(this.rows===1 && this.isCarousel===2) //可用模式
331
338
  ) {
332
- this.currentImage = null;
333
- this.current = 0;
334
339
  this.$xdRoot.$emit("setLayoutPageBg", null);
335
340
  console.warn(`handleAnimationfinish.disabel.poster`)
336
341
  return
@@ -486,6 +491,9 @@
486
491
  //不支持背景不处理
487
492
  if(this.isSupport==='N') return;
488
493
 
494
+ //启动轮播图
495
+ this.pageSwiperShow = this.$root.$isShow;
496
+
489
497
  //隐藏模式或者数据为0不处理
490
498
  if(this.$root.$isShow === false || this.info.length === 0) {
491
499
  this.$xdRoot.$emit("setLayoutPageBg", null);