gxd-uni-library-editx 1.0.33 → 1.0.36

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.33",
3
+ "version": "1.0.36",
4
4
  "private": false,
5
5
  "description": "聚福宝基础插件专用库",
6
6
  "main": "index.js",
@@ -101,6 +101,10 @@
101
101
  ></xd-unit>
102
102
  </view>
103
103
  </view>
104
+ <view v-if="ticket.is_show_other_card_point === 'Y'" class="orther_pay">
105
+ 购买其他物品可抵:{{ divideFloatNumber(ticket.other_card_point) }}
106
+ </view>
107
+
104
108
  </view>
105
109
  </view>
106
110
  <view style="height: 100rpx;"></view>
@@ -350,6 +354,9 @@ export default {
350
354
  console.log(this.style,'this.style');
351
355
  },
352
356
  methods: {
357
+ divideFloatNumber(num){
358
+ return this.$xdUniHelper.divisionFloatNumber(num, 100);
359
+ },
353
360
  fixedStyle(options = {}, type = 'bottom') {
354
361
  let paddingBottom = options.paddingBottom || options.height || 0;
355
362
  if (options.paddingBottom) delete options.paddingBottom;
@@ -776,6 +783,16 @@ export default {
776
783
  align-items: center;
777
784
  }
778
785
  }
786
+ .orther_pay{
787
+ display: inline-block;
788
+ background: #F5F5F5;
789
+ font-size: 24rpx;
790
+ font-weight: 400;
791
+ border-radius: 8rpx;
792
+ color: #999999;
793
+ padding: 8rpx 20rpx;
794
+ margin: 16rpx 0 0 30rpx;
795
+ }
779
796
  }
780
797
  }
781
798
 
@@ -92,7 +92,6 @@
92
92
  }
93
93
  },
94
94
  created() {
95
-
96
95
  //#ifdef H5
97
96
  //微信环境定位
98
97
  if(isWechat()) {
@@ -270,7 +269,7 @@
270
269
  this.timeStatus = setTimeout(() => {
271
270
  this.$emit('done', null);
272
271
  this.failStatus = true;
273
- this.$xdLog.setProject('Location.timeout', 'Location.timeout.10s');
272
+ this.$xdLog.setProject('Location.timeout.baidu', 'Location.timeout.10s');
274
273
  }, 4000)
275
274
  }
276
275
  },
@@ -75,7 +75,7 @@
75
75
  <view class="networkStatus" v-if="!networkStatus">网络异常,请检查网络设置是否正常!</view>
76
76
  <view v-if="isConsole" class="systemInfoSyn">{{gWindowHeight}}--{{systemInfoSyn}}--{{getMinHeight}}--{{min}}--{{onChange}}</view>
77
77
  <slot>
78
- <view class="loadingblock" :style="{minHeight: getMinHeight,backgroundImage: 'url('+ loadingUrl +')'}"></view>
78
+ <view v-if="0" class="loadingblock" :style="{minHeight: getMinHeight,backgroundImage: 'url('+ loadingUrl +')'}"></view>
79
79
  </slot>
80
80
  </view>
81
81
  </view>