@tplc/business 0.2.35 → 0.2.37
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 +37 -0
- package/components/lcb-product-item/components/ItemValue.vue +8 -2
- package/components/lcb-product-item/lcb-product-item.vue +1 -1
- package/components/lcb-product-item/types.ts +1 -0
- package/package.json +2 -2
- package/types/components/lcb-product-item/lcb-product-item.vue.d.ts +3 -0
- package/types/components/lcb-product-item/types.d.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,43 @@
|
|
|
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.37](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.2.31...v0.2.37) (2024-12-26)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### 🐛 Bug Fixes | Bug 修复
|
|
9
|
+
|
|
10
|
+
* 修复autoheight 高度不对 ([4fae567](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/4fae5676f56e7027effb29c625842757af32dcc3))
|
|
11
|
+
* 修改布局高度 ([cf41a37](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/cf41a37f9d87e8e72309e0a8bde18c37d047fb45))
|
|
12
|
+
* 修改样式错误 ([a4d5aab](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/a4d5aab85ac0e92fba75a964846eb62045b18239))
|
|
13
|
+
* 暂时修复item不显示 ([398caf8](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/398caf81ff428f3c730083cb3ce133e0887b0a09))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### 🚀 Chore | 构建/工程依赖/工具
|
|
17
|
+
|
|
18
|
+
* **release:** 0.1.43 ([55bcaa2](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/55bcaa2b152c2098578f135ac3e4ec78ea797398))
|
|
19
|
+
* **release:** 0.1.44 ([4ef1b40](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/4ef1b40f4d85368bac2ce9b68a5e395570b1c2e6))
|
|
20
|
+
* **release:** 0.1.45 ([0d9142a](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/0d9142a59759483bf60de74a23e86ae19a257eb9))
|
|
21
|
+
* **release:** 0.1.46 ([1980bab](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/1980bab5ac24c12f98fd21dc48a6b420f45d1624))
|
|
22
|
+
* **release:** 0.2.32 ([f9f6116](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/f9f6116f2b541e45bb0e6e12a5c3aa14752ed61a))
|
|
23
|
+
* **release:** 0.2.33 ([4060e50](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/4060e5066eaf6b4972eb2e2c9abc2964c37cfd05))
|
|
24
|
+
* **release:** 0.2.34 ([9c2df6c](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/9c2df6cf8c114611785278db03afcbecc8f9831e))
|
|
25
|
+
* **release:** 0.2.35 ([5cb3f60](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/5cb3f6032bc53550f0ee91879cab12abcb182e27))
|
|
26
|
+
* **release:** 0.2.36 ([caa1e07](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/caa1e07fa35d2a9c9fe979f4fc4d3dbe379ad29b))
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
### ✨ Features | 新功能
|
|
30
|
+
|
|
31
|
+
* calendar 尺寸 ([5670ca5](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/5670ca5fa482d9d0e57d32f15b9f7ab369210c3d))
|
|
32
|
+
* height 兼容h5 ([dac82fa](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/dac82fa388f71112663e4b3d124eb7ed968ab03d))
|
|
33
|
+
* home-search 新增配置 ([9a2f148](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/9a2f1482f0f813f4d310c57b1cc865d9c8cb9793))
|
|
34
|
+
* version update ([7c02961](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/7c02961426faa5f1c6628e8222777bc406bdca78))
|
|
35
|
+
* 增加 lcb-product-item 图片展示类型选择 ([24706b3](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/24706b3e87aee2fc6d02961e35a82147974199c4))
|
|
36
|
+
* 更新calendar 尺寸 ([7faa15a](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/7faa15a4ba24a1743a7b7f8a9f6dc200fdf6fa57))
|
|
37
|
+
* 更新getWindowInfo ([8f6c362](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/8f6c362b39fbcae9525bde3607faf75257aea67e))
|
|
38
|
+
* 调整 windowinfo ([c9f5b91](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/c9f5b910b666ca64c5d37c3c0d8b1f9de9d7dbcb))
|
|
39
|
+
|
|
40
|
+
### [0.2.36](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.45...v0.2.36) (2024-12-26)
|
|
41
|
+
|
|
5
42
|
### [0.2.35](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.2.34...v0.2.35) (2024-12-26)
|
|
6
43
|
|
|
7
44
|
|
|
@@ -21,7 +21,6 @@ const props = withDefaults(
|
|
|
21
21
|
}>(),
|
|
22
22
|
{},
|
|
23
23
|
)
|
|
24
|
-
console.log('itemProps', itemProps, props)
|
|
25
24
|
defineSlots<{
|
|
26
25
|
coverImg(props: { value: any }): any
|
|
27
26
|
productName(props: { value: any }): any
|
|
@@ -57,7 +56,14 @@ const style = computed(() => {
|
|
|
57
56
|
const value = computed(() => {
|
|
58
57
|
if (props?.prop === 'coverImg') {
|
|
59
58
|
const imgArr = formatJson(itemProps?.[props?.prop], [])
|
|
60
|
-
|
|
59
|
+
const imageIndex =
|
|
60
|
+
{
|
|
61
|
+
vertical: 0,
|
|
62
|
+
horizontal: 1,
|
|
63
|
+
square: 2,
|
|
64
|
+
}[itemProps?.imageType] ?? 0
|
|
65
|
+
|
|
66
|
+
return imgArr?.[imageIndex]
|
|
61
67
|
}
|
|
62
68
|
|
|
63
69
|
if (props?.prop === 'tags') {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tplc/business",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.37",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"业务组件"
|
|
6
6
|
],
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
},
|
|
12
12
|
"peerDependencies": {
|
|
13
13
|
"vue": ">=3.2.47",
|
|
14
|
-
"@tplc/wot": "0.1.
|
|
14
|
+
"@tplc/wot": "0.1.46"
|
|
15
15
|
},
|
|
16
16
|
"engines": {
|
|
17
17
|
"node": ">=18",
|
|
@@ -70,6 +70,7 @@ declare const __VLS_component: import('vue').DefineComponent<
|
|
|
70
70
|
tagMark: boolean
|
|
71
71
|
tagRound: boolean
|
|
72
72
|
distanceUnit: string
|
|
73
|
+
imageType: string
|
|
73
74
|
priceUnit: string
|
|
74
75
|
scribePriceUnit: string
|
|
75
76
|
coverImgVisible: boolean
|
|
@@ -117,6 +118,7 @@ declare const __VLS_component: import('vue').DefineComponent<
|
|
|
117
118
|
tagMark: boolean
|
|
118
119
|
tagRound: boolean
|
|
119
120
|
distanceUnit: string
|
|
121
|
+
imageType: string
|
|
120
122
|
priceUnit: string
|
|
121
123
|
scribePriceUnit: string
|
|
122
124
|
coverImgVisible: boolean
|
|
@@ -155,6 +157,7 @@ declare const __VLS_component: import('vue').DefineComponent<
|
|
|
155
157
|
tagMark: boolean
|
|
156
158
|
tagRound: boolean
|
|
157
159
|
distanceUnit: string
|
|
160
|
+
imageType: 'square' | 'vertical' | 'horizontal'
|
|
158
161
|
coverImgVisible: boolean
|
|
159
162
|
titleVisible: boolean
|
|
160
163
|
subTitleVisible: boolean
|