@tplc/business 0.7.30 → 0.7.32
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-banner/lcb-banner.vue +15 -3
- package/components/lcb-banner/types.ts +2 -0
- package/components/lcb-nav/lcb-nav.vue +19 -7
- package/components/lcb-product/components/ProductSkeleton/index.vue +0 -1
- package/components/lcb-product/components/SKeletonItem/index.vue +0 -1
- package/package.json +1 -1
- package/types/components/lcb-banner/types.d.ts +2 -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.7.32](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.24...v0.7.32) (2025-12-27)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### ✨ Features | 新功能
|
|
9
|
+
|
|
10
|
+
* area ([33ad1e4](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/33ad1e459d9b104d664a4aed33bcf08b52a0f02c))
|
|
11
|
+
* auto ([49e6f33](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/49e6f33f93fb07e165a22885fd9d7511e6e6f84a))
|
|
12
|
+
* 优化渲染 ([7ad9de0](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/7ad9de0f1effd3ba99d341927ce71ae8de2deec6))
|
|
13
|
+
* 修复title ([d7035fb](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/d7035fbe2641b3aa4f172d204419decff18ed169))
|
|
14
|
+
* 修改兼容尺寸 ([9079ff7](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/9079ff74d88162468a3528b533f9492ca7c2dfaa))
|
|
15
|
+
* 修改尺寸 ([83ae159](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/83ae159dc058fa0486745149d45f19d7d3a5050a))
|
|
16
|
+
* 修改样式兼容 ([7b286d6](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/7b286d6a299da10f79d02b9565e6e681ce61c494))
|
|
17
|
+
* 兼容area ([3974374](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/39743742aa8426e34d0bd2b321c48e2b1ef2aa37))
|
|
18
|
+
* 兼容padding ([267de42](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/267de42fc3e2f539b5fa47bd8ef2389f8eb57207))
|
|
19
|
+
* 去掉异步 ([ee2e200](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/ee2e2000d17f36ba049727aab365631b8652ab50))
|
|
20
|
+
* 新增优化版本 ([aac61bb](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/aac61bbc06a90fc8ade33c8c1765f4df5d4ba37e))
|
|
21
|
+
* 暂时不用处理 ([5c15637](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/5c15637f45bb06a32c8e42a36b01ab98cf1d71a8))
|
|
22
|
+
* 样式调整 ([bd83b18](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/bd83b1815a283f7dcd602dc02ca7644e0c5f2d6d))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### 🚀 Chore | 构建/工程依赖/工具
|
|
26
|
+
|
|
27
|
+
* **release:** 0.7.25 ([0a110c9](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/0a110c989454680daeb197fb654671b1b06a48b5))
|
|
28
|
+
* **release:** 0.7.26 ([75679b1](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/75679b1c1e654f92be0e58ee9925f497de417fe9))
|
|
29
|
+
* **release:** 0.7.27 ([3604f1a](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/3604f1a901a3be757e8c23921248c4fa8d10f5e3))
|
|
30
|
+
* **release:** 0.7.28 ([16adc1d](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/16adc1d765b0db9fe16ea9e5522e5158f1369bb1))
|
|
31
|
+
* **release:** 0.7.29 ([3219783](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/321978338a41e79980adde7c5343a1bde98ce8ca))
|
|
32
|
+
* **release:** 0.7.30 ([3c70115](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/3c70115037e2324cdd7543a289e5d879fc4487e9))
|
|
33
|
+
* **release:** 0.7.31 ([e7a3f7f](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/e7a3f7f192dbbe0b968d7ab8b492413fb8888368))
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
### ♻️ Code Refactoring | 代码重构
|
|
37
|
+
|
|
38
|
+
* remove unused imports from ProductSkeleton and SkeletonItem components ([c04e392](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/c04e392e5baa3d7739d96192c4604798db116723))
|
|
39
|
+
|
|
40
|
+
### [0.7.31](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.30...v0.7.31) (2025-12-23)
|
|
41
|
+
|
|
5
42
|
### [0.7.30](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.29...v0.7.30) (2025-12-22)
|
|
6
43
|
|
|
7
44
|
|
|
@@ -6,9 +6,7 @@
|
|
|
6
6
|
'full-screen-flow': fullBannerFlow,
|
|
7
7
|
'full-screen-swiper': (fullScreenBackground || fullBannerFlow) && !height,
|
|
8
8
|
}"
|
|
9
|
-
:style="
|
|
10
|
-
filter: fullScreenBackground ? `blur(${Math.min(scrollTop / 100, 10)}px)` : 'none',
|
|
11
|
-
}"
|
|
9
|
+
:style="swiperNavStyle"
|
|
12
10
|
@touchstart="handleTouchStart"
|
|
13
11
|
@touchmove="handleTouchMove"
|
|
14
12
|
@touchend="handleTouchEnd"
|
|
@@ -165,7 +163,21 @@ onPageScroll((e) => {
|
|
|
165
163
|
}
|
|
166
164
|
}
|
|
167
165
|
})
|
|
166
|
+
const swiperNavStyle = computed(() => {
|
|
167
|
+
const style: Record<string, string> = {
|
|
168
|
+
filter: props.fullScreenBackground ? `blur(${Math.min(scrollTop.value / 100, 10)}px)` : 'none',
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
if (props.dotColor) {
|
|
172
|
+
style['--wot-swiper-nav-dot-color'] = props.dotColor
|
|
173
|
+
}
|
|
168
174
|
|
|
175
|
+
if (props.dotActiveColor) {
|
|
176
|
+
style['--wot-swiper-nav-dot-active-color'] = props.dotActiveColor
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
return style
|
|
180
|
+
})
|
|
169
181
|
// Touch event handlers
|
|
170
182
|
const handleTouchStart = (e: TouchEvent) => {
|
|
171
183
|
// 并且当前banner在顶部
|
|
@@ -27,13 +27,7 @@
|
|
|
27
27
|
<view class="navbar-left z-1">
|
|
28
28
|
<AddressCommunity
|
|
29
29
|
v-if="showAddressCommunity || pageInfo.frontConfig?.chooseFlag"
|
|
30
|
-
v-bind="
|
|
31
|
-
...addressCommunityProps,
|
|
32
|
-
switchType: pageInfo.frontConfig?.chooseFlag
|
|
33
|
-
? 'merchant'
|
|
34
|
-
: addressCommunityProps?.switchType,
|
|
35
|
-
...pageInfo.frontConfig?.merchant,
|
|
36
|
-
}"
|
|
30
|
+
v-bind="navAddressCommunityProps"
|
|
37
31
|
/>
|
|
38
32
|
<view
|
|
39
33
|
v-if="(styleGroup === 3 || moreThanTwoPages() || !canBack) && capsuleList.length"
|
|
@@ -203,6 +197,24 @@ const props = withDefaults(defineProps<NavProps>(), {
|
|
|
203
197
|
keyFromUser: false,
|
|
204
198
|
showAddressCommunity: false,
|
|
205
199
|
})
|
|
200
|
+
/** 导航地址社区属性 */
|
|
201
|
+
const navAddressCommunityProps = computed(() => {
|
|
202
|
+
let addressCommunityProps = props.addressCommunityProps
|
|
203
|
+
// 不存在的则获取本地缓存
|
|
204
|
+
if (!props.showAddressCommunity) {
|
|
205
|
+
addressCommunityProps = uni.getStorageSync('addressCommunityProps')
|
|
206
|
+
} else {
|
|
207
|
+
// 存在则设置本地缓存
|
|
208
|
+
uni.setStorageSync('addressCommunityProps', addressCommunityProps)
|
|
209
|
+
}
|
|
210
|
+
return {
|
|
211
|
+
...props.addressCommunityProps,
|
|
212
|
+
switchType: pageInfo.value.frontConfig?.chooseFlag
|
|
213
|
+
? 'merchant'
|
|
214
|
+
: props.addressCommunityProps?.switchType,
|
|
215
|
+
...pageInfo.value.frontConfig?.merchant,
|
|
216
|
+
}
|
|
217
|
+
})
|
|
206
218
|
const navbarBgColor = computed(() => {
|
|
207
219
|
return props.backgroundType === 'color' ? props.backColor : ''
|
|
208
220
|
})
|
package/package.json
CHANGED