@tplc/business 0.7.88 → 0.7.89
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 +27 -0
- package/components/lcb-block/lcb-block.vue +22 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,33 @@
|
|
|
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.89](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v1.0.32...v0.7.89) (2026-01-22)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### ✨ Features | 新功能
|
|
9
|
+
|
|
10
|
+
* **lcb-calendar:** add confirmText prop and change event emission ([7448304](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/74483045706c9ff410d24376898303a3f6717b1e))
|
|
11
|
+
* **pages:** add new empty state components and update navigation titles ([679a13f](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/679a13f09ca9952e792212ca5e8d122a43fb0b9a))
|
|
12
|
+
* update lcb-map and lcb-home-search components with new computed properties and type definitions ([43e860b](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/43e860b684c6e42bbc849a5540539d47aa2064fa))
|
|
13
|
+
* **wd-calendar-view:** implement dynamic end date calculation based on defaultDays prop ([0b48f3e](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/0b48f3ee9df12b55069c24b82ab758d31260d595))
|
|
14
|
+
* 边框显隐 ([14c4a65](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/14c4a65e628c877a23a038603cf59cc7fab13b8c))
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### 🚀 Chore | 构建/工程依赖/工具
|
|
18
|
+
|
|
19
|
+
* **release:** 0.7.84 ([cb04a38](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/cb04a38f7c3a08344a99b134480d89b4114aa29c))
|
|
20
|
+
* **release:** 0.7.85 ([990307d](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/990307d9bd2013ff50504bfaaa7044e621cd8d39))
|
|
21
|
+
* **release:** 0.7.86 ([865ba3e](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/865ba3eac1842866e6d6e3069ca39b4a5b9be34e))
|
|
22
|
+
* **release:** 0.7.87 ([4a12a29](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/4a12a290fbabfc2095e0e64ab788c1b08ec0ec7e))
|
|
23
|
+
* **release:** 0.7.88 ([442fda6](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/442fda6d0367936677e09a325abfcad3694efb67))
|
|
24
|
+
* **release:** 1.0.33 ([490af35](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/490af35666cc085f6faa73c8f7ddc8331352744d))
|
|
25
|
+
* **release:** 1.0.34 ([fc4921e](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/fc4921e526157da0f73bd8afee39637737e754b2))
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### ♻️ Code Refactoring | 代码重构
|
|
29
|
+
|
|
30
|
+
* replace slot usage with lcb-render-view component in lcb-area and lcb-render-view ([e13844d](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/e13844da071827319420a00448ec1340c783dc06))
|
|
31
|
+
|
|
5
32
|
### [0.7.88](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v1.0.34...v0.7.88) (2026-01-21)
|
|
6
33
|
|
|
7
34
|
|
|
@@ -107,9 +107,25 @@ const spacingStyles = computed(() => {
|
|
|
107
107
|
const backgroundStyle = computed(() => {
|
|
108
108
|
const bgImage = dynamicBgImage.value
|
|
109
109
|
const bgColor = innerBackgroundColor.value || 'transparent'
|
|
110
|
-
|
|
111
|
-
//
|
|
112
|
-
|
|
110
|
+
let styles = {}
|
|
111
|
+
// 如果是小红书
|
|
112
|
+
// #ifdef MP-XHS
|
|
113
|
+
styles = {
|
|
114
|
+
backgroundImage: `url('${bgImage}')`,
|
|
115
|
+
backgroundColor: bgColor,
|
|
116
|
+
backgroundRepeat: props.backgroundRepeat || 'no-repeat',
|
|
117
|
+
backgroundPosition: props.backgroundPosition || 'center top',
|
|
118
|
+
backgroundSize: props.backgroundSize || '100% 100%',
|
|
119
|
+
}
|
|
120
|
+
// #endif
|
|
121
|
+
// #ifndef MP-XHS
|
|
122
|
+
styles = {
|
|
123
|
+
background: !bgImage
|
|
124
|
+
? bgColor
|
|
125
|
+
: `${props.backgroundPosition} / ${props.backgroundSize} ${props.backgroundRepeat} url('${bgImage}'), ${bgColor}`,
|
|
126
|
+
}
|
|
127
|
+
// #endif
|
|
128
|
+
return styles
|
|
113
129
|
})
|
|
114
130
|
|
|
115
131
|
const getFinalStyle = computed(() => {
|
|
@@ -117,15 +133,16 @@ const getFinalStyle = computed(() => {
|
|
|
117
133
|
const style: Record<string, any> = {
|
|
118
134
|
...spacingStyles.value,
|
|
119
135
|
color: props.color,
|
|
120
|
-
|
|
136
|
+
|
|
121
137
|
fontSize: transformValueUnit(props.fontSize),
|
|
122
138
|
fontWeight: props.fontWeight,
|
|
123
139
|
borderColor: props.borderColor,
|
|
124
140
|
zIndex: props.zIndex,
|
|
125
141
|
position: props.position,
|
|
126
142
|
borderWidth: transformValueUnit(props.borderWidth),
|
|
127
|
-
textAlign: props.textAlign,
|
|
128
143
|
...(props.borderVisible || {}),
|
|
144
|
+
textAlign: props.textAlign,
|
|
145
|
+
...backgroundStyle.value,
|
|
129
146
|
}
|
|
130
147
|
|
|
131
148
|
// 优化:只在需要时添加 boxShadow
|