cb-biz-ui 1.5.7 → 1.5.9

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.
@@ -65,11 +65,11 @@
65
65
  </ui-tag>
66
66
  </view>
67
67
  </view>
68
- <view class="rebate-box" v-if="entity.skuCommonExt?.enableRebate">
68
+ <view class="rebate-box" v-if="entity.rebateGold">
69
69
  <view class="rebate-box_title"> 购买返利 </view>
70
70
  <view class="rebate-box_content">
71
71
  <text class="rebate-box_content_text"
72
- >约¥{{ entity.skuCommonExt?.rebateVal || 0 }}</text
72
+ >约¥{{ entity.rebateMoney || 0 }}</text
73
73
  >
74
74
  <view class="rebate-box_content_icon">
75
75
  (
@@ -41,6 +41,8 @@ export interface GoodsDataType {
41
41
  rebateType: string; // 返利类型
42
42
  rebateVal: string; // 返利金额
43
43
  };
44
+ rebateMoney: string; // 返利金额
45
+ rebateGold: string; // 返利金币
44
46
  }
45
47
  export interface changeValueType {
46
48
  value: number;
@@ -75,6 +75,7 @@
75
75
  border-radius: 10rpx;
76
76
  overflow: hidden;
77
77
  margin-top: 10rpx;
78
+ height: 40rpx;
78
79
 
79
80
  .rebate-box_title {
80
81
  font-size: 20rpx;
@@ -90,7 +91,7 @@
90
91
  .rebate-box_content {
91
92
  display: flex;
92
93
  align-items: center;
93
- padding: 6rpx 10rpx;
94
+ padding: 0rpx 10rpx;
94
95
  color: rgba(255, 82, 79, 1);
95
96
 
96
97
  .rebate-box_content_icon {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cb-biz-ui",
3
- "version": "1.5.7",
3
+ "version": "1.5.9",
4
4
  "description": "cb-biz-ui",
5
5
  "main": "index.js",
6
6
  "keywords": [