gxd-uni-library-editx 1.0.28 → 1.0.30

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": "gxd-uni-library-editx",
3
- "version": "1.0.28",
3
+ "version": "1.0.30",
4
4
  "private": false,
5
5
  "description": "聚福宝基础插件专用库",
6
6
  "main": "index.js",
@@ -515,7 +515,13 @@
515
515
  this.wiewType = this.$configProject.isPreview;
516
516
  this.systemInfoSyn = uni.getSystemInfoSync();
517
517
  this.gWindowHeight = uni.getSystemInfoSync().windowHeight;
518
- this.websiteStatus = this.siteInfo && this.siteInfo.site && this.siteInfo.site.status === 'Y'
518
+
519
+ //判断是否禁用
520
+ if(this.wiewType) {
521
+ this.websiteStatus = true;
522
+ }else {
523
+ this.websiteStatus = !!(this.siteInfo && this.siteInfo.site && this.siteInfo.site.status === 'Y');
524
+ }
519
525
 
520
526
  // #ifdef H5
521
527
  if(!uni.getStorageSync('xd-max-window-height')) {
@@ -880,7 +886,6 @@
880
886
 
881
887
  &__view {
882
888
  height: unit(100, rpx);
883
-
884
889
  }
885
890
 
886
891
  /**动画效果**/
@@ -9,6 +9,7 @@
9
9
  :interval="interval"
10
10
  :duration="duration"
11
11
  :current="current"
12
+ circular
12
13
  @animationfinish="handleAnimationFinish"
13
14
  >
14
15
  <swiper-item v-for="(item,index) in list" :key="index" @click.stop="handleClick(item,index)">
@@ -78,6 +79,7 @@
78
79
  }
79
80
 
80
81
  },
82
+
81
83
  data(){
82
84
  return {
83
85
  background: ['color1', 'color2', 'color3'],
@@ -88,7 +90,6 @@
88
90
  this.$emit('animationfinish', item);
89
91
  },
90
92
  handleClick(item,index){
91
- //console.log('handleClick', item, index);
92
93
  this.$emit('onClickItem', item, index);
93
94
  },
94
95
  }