@tplc/business 0.5.16 → 0.5.17
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,13 @@
|
|
|
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.17](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.5.16...v0.5.17) (2025-10-13)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### ✨ Features | 新功能
|
|
9
|
+
|
|
10
|
+
* 调整swiper nav ([5a40606](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/5a40606ff1480bbd14119867a9a042eca535517c))
|
|
11
|
+
|
|
5
12
|
### [0.5.16](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.5.12...v0.5.16) (2025-10-13)
|
|
6
13
|
|
|
7
14
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<view
|
|
3
3
|
class="drop-menu-container flex items-center"
|
|
4
|
-
:style="
|
|
4
|
+
:style="containerStyle"
|
|
5
5
|
v-if="title"
|
|
6
6
|
@click="onChooseAddress"
|
|
7
7
|
>
|
|
@@ -72,6 +72,9 @@ const onChooseAddress = () => {
|
|
|
72
72
|
uni.$lcb.navigateTo('/pages-sub/index/store')
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
|
+
const containerStyle = computed(() => {
|
|
76
|
+
return `background-color: ${props.backgroundColor}; --address-content-color: ${props.color};font-size: ${props.fontSize}rpx;--address-font-size: ${props.fontSize}rpx;--address-width: ${props.width}rpx;${props.mode === 'normal' ? 'max-width' : 'width'}: ${props.width}rpx`
|
|
77
|
+
})
|
|
75
78
|
</script>
|
|
76
79
|
|
|
77
80
|
<style lang="scss" scoped>
|
|
@@ -83,7 +86,7 @@ const onChooseAddress = () => {
|
|
|
83
86
|
}
|
|
84
87
|
|
|
85
88
|
:deep(.wd-drop-menu) {
|
|
86
|
-
font-size:
|
|
89
|
+
font-size: var(--address-font-size) !important;
|
|
87
90
|
width: 100%;
|
|
88
91
|
}
|
|
89
92
|
|
|
@@ -101,7 +104,7 @@ const onChooseAddress = () => {
|
|
|
101
104
|
font-size: 16rpx !important;
|
|
102
105
|
}
|
|
103
106
|
:deep(.wd-drop-item__title) {
|
|
104
|
-
font-size:
|
|
107
|
+
font-size: var(--address-font-size) !important;
|
|
105
108
|
padding: 0;
|
|
106
109
|
// 一行省略号
|
|
107
110
|
width: 100%;
|