cb-biz-ui 1.2.2 → 1.2.4

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.
@@ -43,8 +43,10 @@
43
43
  </view>
44
44
  </view>
45
45
  <view class="validity"
46
- ><text>有效期:</text><text class="date">{{ receiveEndTime }}</text
47
- ><text>过期</text></view
46
+ ><text>有效期:</text>领取后<text class="date">{{
47
+ data.useRule.effectDelay
48
+ }}</text
49
+ ><text>有效</text></view
48
50
  >
49
51
  </view>
50
52
 
@@ -27,6 +27,7 @@ export interface dataTypes {
27
27
  id: number
28
28
  useRule: {
29
29
  returnWhenOrderCancel: number // 退款时是否返还 0 不返还 1 返还
30
+ effectDelay: number // 有效期
30
31
  }
31
32
  }
32
33
 
@@ -17,7 +17,9 @@
17
17
  <!-- <text v-else>{{ ` ` }}{{ data.discount }}折劵</text> -->
18
18
  </view>
19
19
  <view class="rule">仅限线下店内消费</view>
20
- <view class="date">有效期: {{ data.receiveEndTime }} 过期</view>
20
+ <view class="date"
21
+ >有效期: 领取后{{ data.useRule.effectDelay }} 有效</view
22
+ >
21
23
  </view>
22
24
  <view
23
25
  class="button"
@@ -25,5 +25,8 @@ export interface dataTypes {
25
25
  status: -1 | 0 | 1 | 2
26
26
  /** 优惠券id */
27
27
  id: number
28
+ useRule: {
29
+ effectDelay: number // 有效期
30
+ }
28
31
  }
29
32
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cb-biz-ui",
3
- "version": "1.2.2",
3
+ "version": "1.2.4",
4
4
  "description": "cb-biz-ui",
5
5
  "main": "index.js",
6
6
  "keywords": [
@@ -18,7 +18,7 @@
18
18
  "sass-loader": "8.0.2"
19
19
  },
20
20
  "peerDependencies": {
21
- "cb-mobile-ui": ">=1.0.0"
21
+ "cb-mobile-ui": ">=1.0.3"
22
22
  },
23
23
  "author": "cb-biz-ui"
24
24
  }