@tplc/business 0.7.43 → 0.7.45

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,36 @@
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.7.45](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.41...v0.7.45) (2026-01-04)
6
+
7
+
8
+ ### ♻️ Code Refactoring | 代码重构
9
+
10
+ * **lcb-product-item:** simplify price display logic by removing unnecessary wrapper and adjusting item order ([e3dc932](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/e3dc9329b5edb8fb82bc6ca3d795d8defc6331db))
11
+
12
+
13
+ ### 🚀 Chore | 构建/工程依赖/工具
14
+
15
+ * **release:** 0.7.42 ([9bc5145](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/9bc514524e49585070a9a2c50d221de138c60c5f))
16
+ * **release:** 0.7.43 ([20234e7](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/20234e742ee6d5b2ce4d0c476e9412435f2393b1))
17
+ * **release:** 0.7.44 ([b9991cf](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/b9991cf032c58860f52ccd54baf446bf244326c8))
18
+ * **release:** 1.0.24 ([9d65575](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/9d6557591271175bb34d17e758284e158c8e96bc))
19
+
20
+
21
+ ### ✨ Features | 新功能
22
+
23
+ * **lcb-image, lcb-product-item, wd-img:** add showMenuByLongpress prop for long press menu functionality in WeChat Mini Program ([033f73c](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/033f73c2dcf09fc4369986d25ee05385f9f78f94))
24
+ * **lcb-image:** add renderMode prop to control click behavior based on item.link ([0cd0b8b](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/0cd0b8b2fb6158f334b5ddc3171ae0cac6fc133c))
25
+ * **lcb-nav:** refactor lcb-nav component to use lcb-action-view for action rendering and add actionViewProps to ICapsule interface ([20f911f](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/20f911f2ed5db75ecbd7a7a58afdf2498f600b37))
26
+ * **lcb-product-item, wd-img:** add titleOnImg prop to lcb-product-item and retain showMenuByLongpress in wd-img component ([3e40709](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/3e40709a04a4f7a7a8ab680d44eee7cfe27dab00))
27
+
28
+ ### [0.7.44](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.43...v0.7.44) (2026-01-04)
29
+
30
+
31
+ ### ♻️ Code Refactoring | 代码重构
32
+
33
+ * **lcb-product-item:** simplify price display logic by removing unnecessary wrapper and adjusting item order ([e3dc932](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/e3dc9329b5edb8fb82bc6ca3d795d8defc6331db))
34
+
5
35
  ### [0.7.43](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v1.0.24...v0.7.43) (2026-01-04)
6
36
 
7
37
 
@@ -45,6 +45,9 @@
45
45
  style="line-height: 1.54"
46
46
  class="whitespace-pre-wrap"
47
47
  :class="lineClamp ? `line-clamp-${lineClamp}` : ''"
48
+ :style="{
49
+ fontFamily: fontFamily,
50
+ }"
48
51
  >
49
52
  {{ innerValue }}
50
53
  </text>
@@ -39,4 +39,5 @@ export interface LcbButtonProps extends LcbBlockProps {
39
39
  dynamicActionKey?: string
40
40
  lineClamp?: number
41
41
  progressProps?: ExtractPropTypes<typeof progressProps>
42
+ fontFamily?: string
42
43
  }
@@ -23,6 +23,7 @@
23
23
  custom-class="w-full"
24
24
  v-if="item.url"
25
25
  @click="onPreview(item.url)"
26
+ :renderMode="!item.link ? 'noClick' : 'button'"
26
27
  >
27
28
  <wd-img
28
29
  :width="`${styleGroup == 3 ? transformValueUnit(imageSize) : '100%'}`"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.7.43",
3
+ "version": "0.7.45",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],
@@ -35,4 +35,5 @@ export interface LcbButtonProps extends LcbBlockProps {
35
35
  dynamicActionKey?: string
36
36
  lineClamp?: number
37
37
  progressProps?: ExtractPropTypes<typeof progressProps>
38
+ fontFamily?: string
38
39
  }