@tplc/business 0.5.26 → 0.5.28

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,29 @@
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.5.28](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.5.27...v0.5.28) (2025-10-23)
6
+
7
+
8
+ ### ✨ Features | 新功能
9
+
10
+ * 合并颜色 ([70b9ee6](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/70b9ee691e57cd9895f39b8c66c5a7e22a0f74c1))
11
+
12
+ ### [0.5.27](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.5.22...v0.5.27) (2025-10-23)
13
+
14
+
15
+ ### ✨ Features | 新功能
16
+
17
+ * search productTypeList 类型判断 ([e9f81b9](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/e9f81b91c5a24d488fc1e8e141eb41a82bc4a4ce))
18
+ * 修改字段 ([e6485e6](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/e6485e60b5692462d59ac3056a106e57cafc6668))
19
+ * 处理 lcb-search 跳转 ([674d983](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/674d983a0c511b0c9a8ca9863feb943cae7e7a85))
20
+
21
+
22
+ ### 🚀 Chore | 构建/工程依赖/工具
23
+
24
+ * **release:** 0.5.21 ([019b0a4](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/019b0a438903acf21613c7c0149aeacfe6c5e8e6))
25
+ * **release:** 0.5.25 ([207afa2](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/207afa2a0d3a80fab1ac8a7d86ba5a31174007aa))
26
+ * **release:** 0.5.26 ([b746962](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/b74696249d6ff755472a1369ba15e51de5fde2be))
27
+
5
28
  ### [0.5.26](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.5.25...v0.5.26) (2025-10-22)
6
29
 
7
30
  ### [0.5.25](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.5.21...v0.5.25) (2025-10-22)
@@ -8,11 +8,9 @@
8
8
  padding: `${transformValueUnit(paddingTop || paddingVertical || 0)} ${transformValueUnit(paddingRight || paddingHorizontal || 0)} ${transformValueUnit(paddingBottom || paddingVertical || 0)} ${transformValueUnit(paddingLeft || paddingHorizontal || 0)}`,
9
9
  borderRadius: `${transformValueUnit(topRadius || radius)} ${transformValueUnit(topRadius || radius)} ${transformValueUnit(bottomRadius || radius)} ${transformValueUnit(bottomRadius || radius)}`,
10
10
  color,
11
- backgroundColor: innerBackgroundColor,
12
- backgroundImage: backgroundImage ? `url('${backgroundImage}')` : '',
13
- backgroundRepeat,
14
- backgroundPosition,
15
- backgroundSize,
11
+ background: backgroundImage
12
+ ? `url('${backgroundImage}') ${backgroundPosition} / ${backgroundSize} ${backgroundRepeat}`
13
+ : innerBackgroundColor,
16
14
  fontSize: transformValueUnit(fontSize),
17
15
  fontWeight,
18
16
  borderColor,
@@ -59,6 +59,7 @@ const props = withDefaults(defineProps<LcbProductItemProps>(), {
59
59
  itemContentPr: 0,
60
60
  itemContentPb: 10,
61
61
  itemContentPl: 0,
62
+ itemGap: 10,
62
63
  })
63
64
  const attrs = useAttrs() as Record<string, any>
64
65
  provide('lcb-product-item-props', props)
@@ -172,7 +173,7 @@ const itemStyle = computed(() => {
172
173
  }"
173
174
  >
174
175
  <slot name="contentSection" />
175
- <view class="flex flex-col gap-[5px] overflow-hidden">
176
+ <view class="flex flex-col overflow-hidden" :style="{ gap: transformValueUnit(itemGap) }">
176
177
  <view>
177
178
  <ItemValue prop="productName">
178
179
  <!-- <template #productName="{ value }"><slot name="productName" :value="value" /></template> -->
@@ -325,7 +326,7 @@ const itemStyle = computed(() => {
325
326
  }"
326
327
  >
327
328
  <slot name="contentSection" />
328
- <view class="flex flex-col gap-[5px] overflow-hidden">
329
+ <view class="flex flex-col overflow-hidden" :style="{ gap: transformValueUnit(itemGap) }">
329
330
  <view>
330
331
  <ItemValue prop="productName">
331
332
  <!-- <template #productName="{ value }"><slot name="productName" :value="value" /></template> -->
@@ -6,6 +6,7 @@ export interface LcbProductItemProps {
6
6
  className?: string
7
7
  layoutType?: 'vertical' | 'horizontal'
8
8
  titleLineClamp?: number
9
+ itemGap?: number
9
10
  showArea?: string
10
11
  // area在图片上面
11
12
  areaOnImg?: boolean
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.5.26",
3
+ "version": "0.5.28",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],
@@ -115,6 +115,7 @@ declare const __VLS_component: import('vue').DefineComponent<
115
115
  itemContentPr: number
116
116
  itemContentPb: number
117
117
  itemContentPl: number
118
+ itemGap: number
118
119
  }
119
120
  >,
120
121
  {},
@@ -176,6 +177,7 @@ declare const __VLS_component: import('vue').DefineComponent<
176
177
  itemContentPr: number
177
178
  itemContentPb: number
178
179
  itemContentPl: number
180
+ itemGap: number
179
181
  }
180
182
  >
181
183
  >
@@ -187,6 +189,7 @@ declare const __VLS_component: import('vue').DefineComponent<
187
189
  borderRadius: number
188
190
  itemVerticalPadding: number
189
191
  itemHorizontalPadding: number
192
+ itemGap: number
190
193
  titleLineClamp: number
191
194
  layoutType: 'vertical' | 'horizontal'
192
195
  itemContentPt: number
@@ -4,6 +4,7 @@ export interface LcbProductItemProps {
4
4
  className?: string
5
5
  layoutType?: 'vertical' | 'horizontal'
6
6
  titleLineClamp?: number
7
+ itemGap?: number
7
8
  showArea?: string
8
9
  areaOnImg?: boolean
9
10
  areaColor?: string