@tplc/business 0.2.76 → 0.2.78

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/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [0.2.78](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.2.77...v0.2.78) (2025-01-07)
6
+
7
+ ### [0.2.77](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.2.76...v0.2.77) (2025-01-07)
8
+
9
+
10
+ ### 🐛 Bug Fixes | Bug 修复
11
+
12
+ * 修改横向滚动不支持圆角 ([363ca00](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/363ca008f08c552aa888c3ebe1274a3063ab2760))
13
+
14
+
15
+ ### ✨ Features | 新功能
16
+
17
+ * 图标处理 ([d17d2aa](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/d17d2aab174fcdcac3bf60b68325c15abf64c9c5))
18
+
5
19
  ### [0.2.76](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.2.74...v0.2.76) (2025-01-07)
6
20
 
7
21
 
@@ -101,7 +101,10 @@ const value = computed(() => {
101
101
  <wd-img :src="value" mode="aspectFill" width="100%" height="100%" v-if="!$slots.coverImg" />
102
102
  <slot name="coverImg" :value="value" v-else />
103
103
  <!-- imgBottomIcon -->
104
- <view class="absolute bottom-0 left-0 w-full" v-if="itemProps.imgBottomIcon">
104
+ <view
105
+ class="absolute bottom-0 left-0 w-full"
106
+ v-if="itemProps.imgBottomIcon && itemProps.imgBottomIconVisible"
107
+ >
105
108
  <wd-img
106
109
  :src="itemProps.imgBottomIcon"
107
110
  custom-class="block"
@@ -111,7 +114,10 @@ const value = computed(() => {
111
114
  />
112
115
  </view>
113
116
  <!-- imgCornerIcon -->
114
- <view class="absolute top-0 left-0 h-8" v-if="itemProps.imgCornerIcon">
117
+ <view
118
+ class="absolute top-0 left-0 h-8"
119
+ v-if="itemProps.imgCornerIcon && itemProps.imgCornerIconVisible"
120
+ >
115
121
  <wd-img
116
122
  :src="itemProps.imgCornerIcon"
117
123
  width="auto"
@@ -161,19 +167,13 @@ const value = computed(() => {
161
167
  </slot>
162
168
 
163
169
  <slot :value="value" v-if="prop === 'scoreAvg'" name="scoreAvg">
164
- <view :class="className" :style="style" class="">
165
- <wd-tag
166
- custom-class="!text-24rpx relative top-[-2px]"
167
- :color="'#ffffff'"
168
- :bg-color="'#4554F0'"
169
- >
170
- {{ value }}
171
- </wd-tag>
170
+ <view :class="`px-1.5 rounded bg-primary text-3 text-white ${className}`" :style="style">
171
+ {{ value }}
172
172
  </view>
173
173
  </slot>
174
174
 
175
175
  <slot :value="value" v-if="prop === 'scoreTips'" name="scoreTips">
176
- <view :class="className" :style="style" class="text-[#4554F0] font-bold">
176
+ <view :class="className" :style="style" class="text-primary font-bold">
177
177
  <view>{{ value }}</view>
178
178
  </view>
179
179
  </slot>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.2.76",
3
+ "version": "0.2.78",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],