xiaoe_mp_npm 0.5.26-alpha4 → 0.5.26-alpha5

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.
@@ -97,15 +97,15 @@ Component({
97
97
  }
98
98
  },
99
99
  // 判断金额长度,不同金额区间端显示不同样式(竖屏互动页优惠券样式)
100
- isVerLongNumStyle1(data) {
101
- if (data.item && data.item.price) {
102
- let tempPrice = data.item.price / 100;
103
- if (tempPrice.toString().length >=6 ) {
104
- return true
105
- }
106
- }
107
- return false
108
- },
100
+ // isVerLongNumStyle1(data) {
101
+ // if (data.item && data.item.price) {
102
+ // let tempPrice = data.item.price / 100;
103
+ // if (tempPrice.toString().length >=6 ) {
104
+ // return true
105
+ // }
106
+ // }
107
+ // return false
108
+ // },
109
109
  // 格式化使用说明
110
110
  getDesInfo (data) {
111
111
  if (!data.item.instructions) {
@@ -8,15 +8,15 @@
8
8
  <block wx:if="{{item.discount_way == 1}}">
9
9
  <view class="coupon-symbol">¥</view>
10
10
  <!-- 竖屏卡片 -->
11
- <view wx:if="{{aliveMode}}" class="coupon-price {{isVerLongNumStyle1?'coupon-price-ver':''}}" >
12
- {{price.ToFilter(item.price)}}
11
+ <view class="coupon-price">
12
+ <view>{{price.ToFilter(item.price)}}</view>
13
13
  <view wx:if="{{item.price % 100 != 0}}">.{{ price.fixedFont(item.price) }}</view>
14
14
  </view>
15
15
  <!-- 横屏卡片 -->
16
- <view wx:if="{{!aliveMode}}" style="font-size: {{isLongNumStyle1}}" class="coupon-price" >
17
- {{price.ToFilter(item.price)}}
16
+ <!-- <view wx:elif style="font-size: {{isLongNumStyle1}}" class="coupon-price" >
17
+ <view>{{price.ToFilter(item.price)}}</view>
18
18
  <view wx:if="{{item.price % 100 != 0}}">.{{ price.fixedFont(item.price) }}</view>
19
- </view>
19
+ </view> -->
20
20
  </block>
21
21
  <block wx:if="{{item.discount_way == 2}}">
22
22
  <view class="coupon-price">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xiaoe_mp_npm",
3
- "version": "0.5.26-alpha4",
3
+ "version": "0.5.26-alpha5",
4
4
  "description": "",
5
5
  "main": "miniprogram_dist/index.js",
6
6
  "scripts": {
@@ -97,15 +97,15 @@ Component({
97
97
  }
98
98
  },
99
99
  // 判断金额长度,不同金额区间端显示不同样式(竖屏互动页优惠券样式)
100
- isVerLongNumStyle1(data) {
101
- if (data.item && data.item.price) {
102
- let tempPrice = data.item.price / 100;
103
- if (tempPrice.toString().length >=6 ) {
104
- return true
105
- }
106
- }
107
- return false
108
- },
100
+ // isVerLongNumStyle1(data) {
101
+ // if (data.item && data.item.price) {
102
+ // let tempPrice = data.item.price / 100;
103
+ // if (tempPrice.toString().length >=6 ) {
104
+ // return true
105
+ // }
106
+ // }
107
+ // return false
108
+ // },
109
109
  // 格式化使用说明
110
110
  getDesInfo (data) {
111
111
  if (!data.item.instructions) {
@@ -8,15 +8,15 @@
8
8
  <block wx:if="{{item.discount_way == 1}}">
9
9
  <view class="coupon-symbol">¥</view>
10
10
  <!-- 竖屏卡片 -->
11
- <view wx:if="{{aliveMode}}" class="coupon-price {{ isVerLongNumStyle1 }}">
11
+ <view class="coupon-price">
12
12
  <view>{{price.ToFilter(item.price)}}</view>
13
13
  <view wx:if="{{item.price % 100 != 0}}">.{{ price.fixedFont(item.price) }}</view>
14
14
  </view>
15
15
  <!-- 横屏卡片 -->
16
- <view wx:elif style="font-size: {{isLongNumStyle1}}" class="coupon-price" >
16
+ <!-- <view wx:elif style="font-size: {{isLongNumStyle1}}" class="coupon-price" >
17
17
  <view>{{price.ToFilter(item.price)}}</view>
18
18
  <view wx:if="{{item.price % 100 != 0}}">.{{ price.fixedFont(item.price) }}</view>
19
- </view>
19
+ </view> -->
20
20
  </block>
21
21
  <block wx:if="{{item.discount_way == 2}}">
22
22
  <view class="coupon-price">