cb-biz-ui 1.2.4 → 1.2.6

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,10 +43,7 @@
43
43
  </view>
44
44
  </view>
45
45
  <view class="validity"
46
- ><text>有效期:</text>领取后<text class="date">{{
47
- data.useRule.effectDelay
48
- }}</text
49
- ><text>有效</text></view
46
+ >有效期:领取后{{ data.useRule.effectDelay }}天内有效</view
50
47
  >
51
48
  </view>
52
49
 
@@ -18,7 +18,7 @@
18
18
  </view>
19
19
  <view class="rule">仅限线下店内消费</view>
20
20
  <view class="date"
21
- >有效期: 领取后{{ data.useRule.effectDelay }} 有效</view
21
+ >有效期: 领取后{{ data.useRule.effectDelay }}天内有效</view
22
22
  >
23
23
  </view>
24
24
  <view
@@ -1,5 +1,12 @@
1
1
  <template>
2
- <view class="sort-icon" @click="change">
2
+ <view
3
+ class="sort-icon"
4
+ @click="change"
5
+ :style="{
6
+ width,
7
+ margin: margin ?? ''
8
+ }"
9
+ >
3
10
  <view class="icon">
4
11
  <view
5
12
  class="up"
@@ -37,10 +44,14 @@ const props = withDefaults(
37
44
  borderActivedColor?: string;
38
45
  borderColor?: string;
39
46
  scale?: number;
47
+ width?: string;
48
+ margin?: string;
40
49
  }>(),
41
50
  {
42
51
  borderActivedColor: 'rgb(58, 138, 251);',
43
- borderColor: '#dcdcdc'
52
+ borderColor: '#dcdcdc',
53
+ width: '',
54
+ margin: ''
44
55
  }
45
56
  );
46
57
  const emit = defineEmits<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cb-biz-ui",
3
- "version": "1.2.4",
3
+ "version": "1.2.6",
4
4
  "description": "cb-biz-ui",
5
5
  "main": "index.js",
6
6
  "keywords": [