gxd-uni-library-editx 1.0.34 → 1.0.37

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.34",
3
+ "version": "1.0.37",
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) }}{{ ticket.unit }}
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