@tplc/business 0.0.66 → 0.0.67
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,8 @@
|
|
|
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.0.67](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.29...v0.0.67) (2024-11-21)
|
|
6
|
+
|
|
5
7
|
### [0.0.66](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.28...v0.0.66) (2024-11-21)
|
|
6
8
|
|
|
7
9
|
|
package/action.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<view class="h-
|
|
2
|
+
<view class="h-full pb-3" v-if="letterList.length">
|
|
3
3
|
<wd-index-bar ref="indexBarRef">
|
|
4
4
|
<view v-for="item in indexBars" :key="item.categoryName">
|
|
5
5
|
<wd-index-anchor
|
|
@@ -140,6 +140,7 @@ const indexBars = computed<HotAddress[]>(() => {
|
|
|
140
140
|
</script>
|
|
141
141
|
<style lang="scss" scoped>
|
|
142
142
|
@import '@tplc/wot/components/common/abstracts/variable';
|
|
143
|
+
|
|
143
144
|
.address-tag {
|
|
144
145
|
background: #f7f7f7;
|
|
145
146
|
height: 68rpx;
|
|
@@ -152,10 +153,12 @@ const indexBars = computed<HotAddress[]>(() => {
|
|
|
152
153
|
text-align: center;
|
|
153
154
|
overflow: hidden;
|
|
154
155
|
}
|
|
156
|
+
|
|
155
157
|
.current-address {
|
|
156
158
|
color: $-color-theme;
|
|
157
159
|
background: transparent;
|
|
158
160
|
position: relative;
|
|
161
|
+
|
|
159
162
|
&::after {
|
|
160
163
|
content: '';
|
|
161
164
|
position: absolute;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<view class="p-3 box-border
|
|
2
|
+
<view class="p-3 box-border h-full overflow-y-auto">
|
|
3
3
|
<view v-for="item in list" :key="item.hotAddressId" @click="onItemClick(item)">
|
|
4
4
|
<view class="flex">
|
|
5
5
|
<view class="tag">{{ item.categoryName }}</view>
|
|
@@ -74,6 +74,7 @@ const onClear = () => {
|
|
|
74
74
|
</script>
|
|
75
75
|
<style lang="scss" scoped>
|
|
76
76
|
@import '@tplc/wot/components/common/abstracts/variable';
|
|
77
|
+
|
|
77
78
|
.tag {
|
|
78
79
|
width: 80rpx;
|
|
79
80
|
height: 34rpx;
|
|
@@ -84,6 +85,7 @@ const onClear = () => {
|
|
|
84
85
|
border-radius: 4rpx;
|
|
85
86
|
background-color: $-color-theme;
|
|
86
87
|
}
|
|
88
|
+
|
|
87
89
|
.content {
|
|
88
90
|
flex: 1;
|
|
89
91
|
display: flex;
|
|
@@ -94,6 +96,7 @@ const onClear = () => {
|
|
|
94
96
|
padding-bottom: 20rpx;
|
|
95
97
|
font-size: 24rpx;
|
|
96
98
|
color: #999;
|
|
99
|
+
|
|
97
100
|
> rich-text {
|
|
98
101
|
&:first-child {
|
|
99
102
|
font-size: 30rpx;
|
|
@@ -103,10 +106,12 @@ const onClear = () => {
|
|
|
103
106
|
margin-bottom: 12rpx;
|
|
104
107
|
}
|
|
105
108
|
}
|
|
109
|
+
|
|
106
110
|
.text-light {
|
|
107
111
|
color: $-color-theme;
|
|
108
112
|
}
|
|
109
113
|
}
|
|
114
|
+
|
|
110
115
|
.history-tag {
|
|
111
116
|
background: #f7f7f7;
|
|
112
117
|
height: 50rpx;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
position="bottom"
|
|
8
8
|
@after-enter="isOver = true"
|
|
9
9
|
custom-class="lcb-city__p"
|
|
10
|
-
custom-style="height:
|
|
10
|
+
custom-style="height: 80vh;border-top-left-radius: 24rpx;border-top-right-radius: 24rpx;"
|
|
11
11
|
:safe-area-inset-bottom="true"
|
|
12
12
|
>
|
|
13
13
|
<view class="flex flex-col h-full">
|
|
@@ -29,14 +29,28 @@
|
|
|
29
29
|
@cancel="onCancel"
|
|
30
30
|
/>
|
|
31
31
|
</view>
|
|
32
|
-
<
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
32
|
+
<view
|
|
33
|
+
:class="{
|
|
34
|
+
'!hidden': !showList,
|
|
35
|
+
}"
|
|
36
|
+
class="flex-1 h-0"
|
|
37
|
+
>
|
|
38
|
+
<lcb-city-list :list="lcbAddress" :keyword="searchValue" @click="onAddressClick" />
|
|
39
|
+
</view>
|
|
40
|
+
<view
|
|
41
|
+
:class="{
|
|
42
|
+
'!hidden': !(!showList && isOver),
|
|
43
|
+
}"
|
|
44
|
+
class="flex-1 h-0"
|
|
45
|
+
>
|
|
46
|
+
<lcb-city-letter v-bind="$props" v-model="modelValue" />
|
|
47
|
+
</view>
|
|
38
48
|
|
|
39
|
-
<
|
|
49
|
+
<view
|
|
50
|
+
:style="{
|
|
51
|
+
height: isTabBar ? '60px' : '10px',
|
|
52
|
+
}"
|
|
53
|
+
/>
|
|
40
54
|
</view>
|
|
41
55
|
</wd-popup>
|
|
42
56
|
</template>
|
|
@@ -57,6 +71,7 @@ defineOptions({
|
|
|
57
71
|
styleIsolation: 'shared',
|
|
58
72
|
},
|
|
59
73
|
})
|
|
74
|
+
const isTabBar = uni.$lcb.getIsTabbar()
|
|
60
75
|
const props = withDefaults(defineProps<LcbCitySelectProps>(), {
|
|
61
76
|
placeholder: '搜索城市/区域/景点',
|
|
62
77
|
})
|
package/package.json
CHANGED
|
@@ -1,17 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tplc/business",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.67",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"业务组件"
|
|
6
6
|
],
|
|
7
7
|
"type": "module",
|
|
8
|
+
"scripts": {
|
|
9
|
+
"pub": "pnpm dts && pnpm publish --no-git-checks",
|
|
10
|
+
"dts": "rm -rf types && vue-tsc --project ./tsconfig.dts.json && pnpm prettier --write types",
|
|
11
|
+
"release-major": "standard-version --release-as major ",
|
|
12
|
+
"release-minor": "standard-version --release-as minor",
|
|
13
|
+
"release-patch": "standard-version --release-as patch ",
|
|
14
|
+
"generateComponent": "node ./scripts/createComponent.mjs",
|
|
15
|
+
"generateGlobalDts": "node ./scripts/generateGlobalDts.mjs"
|
|
16
|
+
},
|
|
8
17
|
"publishConfig": {
|
|
9
18
|
"access": "public",
|
|
10
19
|
"registry": "https://registry.npmjs.org/"
|
|
11
20
|
},
|
|
12
21
|
"peerDependencies": {
|
|
13
|
-
"
|
|
14
|
-
"
|
|
22
|
+
"@tplc/wot": "workspace:*",
|
|
23
|
+
"vue": ">=3.2.47"
|
|
15
24
|
},
|
|
16
25
|
"engines": {
|
|
17
26
|
"node": ">=18",
|
|
@@ -21,14 +30,5 @@
|
|
|
21
30
|
"mp-html": "^2.5.0",
|
|
22
31
|
"qs": "6.5.3",
|
|
23
32
|
"uview-plus": "^3.3.9"
|
|
24
|
-
},
|
|
25
|
-
"scripts": {
|
|
26
|
-
"pub": "pnpm dts && pnpm publish --no-git-checks",
|
|
27
|
-
"dts": "rm -rf types && vue-tsc --project ./tsconfig.dts.json && pnpm prettier --write types",
|
|
28
|
-
"release-major": "standard-version --release-as major ",
|
|
29
|
-
"release-minor": "standard-version --release-as minor",
|
|
30
|
-
"release-patch": "standard-version --release-as patch ",
|
|
31
|
-
"generateComponent": "node ./scripts/createComponent.mjs",
|
|
32
|
-
"generateGlobalDts": "node ./scripts/generateGlobalDts.mjs"
|
|
33
33
|
}
|
|
34
|
-
}
|
|
34
|
+
}
|