@tplc/business 0.5.20 → 0.5.22
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 +14 -0
- package/components/lcb-nav/AddressCommunity/index.vue +20 -4
- package/components/lcb-nav/types.ts +1 -0
- package/components/lcb-search/lcb-search.vue +1 -1
- package/package.json +1 -1
- package/types/components/lcb-nav/AddressCommunity/index.vue.d.ts +2 -0
- package/types/components/lcb-nav/types.d.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
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.22](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.5.21...v0.5.22) (2025-10-21)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### ✨ Features | 新功能
|
|
9
|
+
|
|
10
|
+
* 新增 popupWidth ([8f9d59a](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/8f9d59a4e33e6b8eea7502d21519aab0c54ec938))
|
|
11
|
+
|
|
12
|
+
### [0.5.21](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.5.20...v0.5.21) (2025-10-21)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### ✨ Features | 新功能
|
|
16
|
+
|
|
17
|
+
* 超过3s请求 ([90bc7ec](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/90bc7eca2cb16858e32fdba7ec1b72e05d0da60e))
|
|
18
|
+
|
|
5
19
|
### [0.5.20](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.5.15...v0.5.20) (2025-10-19)
|
|
6
20
|
|
|
7
21
|
|
|
@@ -39,6 +39,7 @@ const props = withDefaults(defineProps<AddressCommunityProps>(), {
|
|
|
39
39
|
fontSize: 28,
|
|
40
40
|
width: 240,
|
|
41
41
|
mode: 'normal',
|
|
42
|
+
popupWidth: 240,
|
|
42
43
|
})
|
|
43
44
|
const value = defineModel<string>('')
|
|
44
45
|
const constantsStore = uni.$lcb.constantsStore?.()
|
|
@@ -73,7 +74,14 @@ const onChooseAddress = () => {
|
|
|
73
74
|
}
|
|
74
75
|
}
|
|
75
76
|
const containerStyle = computed(() => {
|
|
76
|
-
return
|
|
77
|
+
return {
|
|
78
|
+
'background-color': props.backgroundColor,
|
|
79
|
+
'--address-content-color': props.color,
|
|
80
|
+
'font-size': `${props.fontSize}rpx`,
|
|
81
|
+
'--address-font-size': `${props.fontSize}rpx`,
|
|
82
|
+
'--address-width': props.popupWidth ? `${props.popupWidth}rpx` : 'fit-content',
|
|
83
|
+
[props.mode === 'normal' ? 'max-width' : 'width']: `${props.width}rpx`,
|
|
84
|
+
}
|
|
77
85
|
})
|
|
78
86
|
</script>
|
|
79
87
|
|
|
@@ -101,16 +109,24 @@ const containerStyle = computed(() => {
|
|
|
101
109
|
}
|
|
102
110
|
}
|
|
103
111
|
:deep(.wd-drop-item__icon) {
|
|
104
|
-
font-size:
|
|
112
|
+
font-size: 20rpx !important;
|
|
113
|
+
}
|
|
114
|
+
:deep(.wd-drop-menu__item-title) {
|
|
115
|
+
padding: 0rpx 12rpx 0 0;
|
|
105
116
|
}
|
|
106
117
|
:deep(.wd-drop-item__title) {
|
|
107
118
|
font-size: var(--address-font-size) !important;
|
|
108
119
|
padding: 0;
|
|
109
|
-
|
|
110
|
-
|
|
120
|
+
text {
|
|
121
|
+
white-space: nowrap;
|
|
122
|
+
width: 100%;
|
|
123
|
+
}
|
|
111
124
|
overflow: hidden;
|
|
112
125
|
text-overflow: ellipsis;
|
|
113
126
|
white-space: nowrap;
|
|
127
|
+
// 一行省略号
|
|
128
|
+
width: 100%;
|
|
129
|
+
margin-right: 12rpx;
|
|
114
130
|
}
|
|
115
131
|
}
|
|
116
132
|
</style>
|
|
@@ -233,7 +233,7 @@ const onSelect = (keyword: ProductInfo) => {
|
|
|
233
233
|
}
|
|
234
234
|
})
|
|
235
235
|
queryParams.keywords = params.keywords
|
|
236
|
-
if (!options.jumpPageType) {
|
|
236
|
+
if (!options.jumpPageType && !queryParams.jumpPageType) {
|
|
237
237
|
uni.$emit(`${getPreviousPageId()}_filter_change`, queryParams)
|
|
238
238
|
uni.navigateBack()
|
|
239
239
|
} else {
|
package/package.json
CHANGED
|
@@ -12,6 +12,7 @@ declare const _default: import('vue').DefineComponent<
|
|
|
12
12
|
fontSize: number
|
|
13
13
|
width: number
|
|
14
14
|
mode: string
|
|
15
|
+
popupWidth: number
|
|
15
16
|
}
|
|
16
17
|
>,
|
|
17
18
|
{},
|
|
@@ -30,6 +31,7 @@ declare const _default: import('vue').DefineComponent<
|
|
|
30
31
|
backgroundColor: string
|
|
31
32
|
color: string
|
|
32
33
|
fontSize: number
|
|
34
|
+
popupWidth: number
|
|
33
35
|
},
|
|
34
36
|
{}
|
|
35
37
|
>
|