@tplc/business 0.4.1 → 0.4.2
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 +8 -0
- package/components/lcb-calendar-filter/lcb-calendar-filter.vue +18 -0
- package/components/lcb-calendar-filter/types.ts +3 -0
- package/components/lcb-city-select/api/index.ts +8 -4
- package/global.d.ts +1 -1
- package/hooks/useLocation.api.ts +1 -1
- package/package.json +1 -1
- package/types/components/lcb-calendar-filter/lcb-calendar-filter.vue.d.ts +32 -0
- package/types/components/lcb-calendar-filter/types.d.ts +1 -0
- package/types/components/lcb-city-select/api/index.d.ts +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
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.4.2](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.1...v0.4.2) (2025-03-23)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### ✨ Features | 新功能
|
|
9
|
+
|
|
10
|
+
* 修改接口 ([d3a0193](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/d3a01931b2a4f86b992d9df0e390ce3bf5870cf4))
|
|
11
|
+
* 调整过滤选择 ([764ce1f](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/764ce1f68a6a851777835ea0ff5f0d588c715937))
|
|
12
|
+
|
|
5
13
|
### [0.4.1](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.3.101...v0.4.1) (2025-03-22)
|
|
6
14
|
|
|
7
15
|
### [0.3.101](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.3.100...v0.3.101) (2025-03-22)
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<lcb-block></lcb-block>
|
|
3
|
+
</template>
|
|
4
|
+
|
|
5
|
+
<script setup lang="ts">
|
|
6
|
+
import { LcbCalendarFilterProps } from './types'
|
|
7
|
+
defineOptions({
|
|
8
|
+
name: 'LcbCalendarFilter',
|
|
9
|
+
options: {
|
|
10
|
+
addGlobalClass: true,
|
|
11
|
+
virtualHost: true,
|
|
12
|
+
styleIsolation: 'shared',
|
|
13
|
+
},
|
|
14
|
+
})
|
|
15
|
+
withDefaults(defineProps<LcbCalendarFilterProps>(), {})
|
|
16
|
+
</script>
|
|
17
|
+
|
|
18
|
+
<style lang="scss" scoped></style>
|
|
@@ -8,6 +8,8 @@ export interface HotAddress {
|
|
|
8
8
|
export interface ChildHotAddress {
|
|
9
9
|
addr: string
|
|
10
10
|
addrFlag?: boolean
|
|
11
|
+
// 1 是以前的 true ,等于 2 是热门地址,等于 3 是商圈
|
|
12
|
+
addressType?: string
|
|
11
13
|
area?: string
|
|
12
14
|
categoryName?: string
|
|
13
15
|
createDate?: string
|
|
@@ -23,10 +25,12 @@ export interface ChildHotAddress {
|
|
|
23
25
|
weightSort?: string
|
|
24
26
|
addressInfo?: string
|
|
25
27
|
}
|
|
26
|
-
export const getHotAddress = () => uni.$lcb.http.post<HotAddress[]>('/
|
|
28
|
+
export const getHotAddress = () => uni.$lcb.http.post<HotAddress[]>('/address/categoryList', {})
|
|
27
29
|
export interface LcbAddress {
|
|
28
30
|
addr: string
|
|
29
31
|
addrFlag: boolean
|
|
32
|
+
// 1 是以前的 true ,等于 2 是热门地址,等于 3 是商圈
|
|
33
|
+
addressType: string
|
|
30
34
|
categoryName: string
|
|
31
35
|
keywords?: string
|
|
32
36
|
cityId: string
|
|
@@ -36,7 +40,7 @@ export interface LcbAddress {
|
|
|
36
40
|
area: string
|
|
37
41
|
weightSort: string
|
|
38
42
|
}
|
|
39
|
-
export const getAddressList = (
|
|
40
|
-
uni.$lcb.http.post<LcbAddress[]>('/
|
|
41
|
-
|
|
43
|
+
export const getAddressList = (addressName: string) =>
|
|
44
|
+
uni.$lcb.http.post<LcbAddress[]>('/address/list', {
|
|
45
|
+
addressName,
|
|
42
46
|
})
|
package/global.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ declare module 'vue' {
|
|
|
11
11
|
'lcb-block': (typeof import('@tplc/business/components/lcb-block/lcb-block.vue'))['default']
|
|
12
12
|
'lcb-button': (typeof import('@tplc/business/components/lcb-button/lcb-button.vue'))['default']
|
|
13
13
|
'lcb-calendar': (typeof import('@tplc/business/components/lcb-calendar/lcb-calendar.vue'))['default']
|
|
14
|
+
'lcb-calendar-filter': (typeof import('@tplc/business/components/lcb-calendar-filter/lcb-calendar-filter.vue'))['default']
|
|
14
15
|
'lcb-calendar-search': (typeof import('@tplc/business/components/lcb-calendar-search/lcb-calendar-search.vue'))['default']
|
|
15
16
|
'lcb-city-select': (typeof import('@tplc/business/components/lcb-city-select/lcb-city-select.vue'))['default']
|
|
16
17
|
'lcb-dynamic-data': (typeof import('@tplc/business/components/lcb-dynamic-data/lcb-dynamic-data.vue'))['default']
|
|
@@ -35,7 +36,6 @@ declare module 'vue' {
|
|
|
35
36
|
'lcb-search': (typeof import('@tplc/business/components/lcb-search/lcb-search.vue'))['default']
|
|
36
37
|
'lcb-swiper': (typeof import('@tplc/business/components/lcb-swiper/lcb-swiper.vue'))['default']
|
|
37
38
|
'lcb-tabs': (typeof import('@tplc/business/components/lcb-tabs/lcb-tabs.vue'))['default']
|
|
38
|
-
'lcb-tags': (typeof import('@tplc/business/components/lcb-tags/lcb-tags.vue'))['default']
|
|
39
39
|
'lcb-text': (typeof import('@tplc/business/components/lcb-text/lcb-text.vue'))['default']
|
|
40
40
|
'lcb-title': (typeof import('@tplc/business/components/lcb-title/lcb-title.vue'))['default']
|
|
41
41
|
'lcb-user-order': (typeof import('@tplc/business/components/lcb-user-order/lcb-user-order.vue'))['default']
|
package/hooks/useLocation.api.ts
CHANGED
|
@@ -10,4 +10,4 @@ export interface UserLocation {
|
|
|
10
10
|
showName: string
|
|
11
11
|
}
|
|
12
12
|
export const getUserLocation = (data: { userLongitude: string; userLatitude: string }) =>
|
|
13
|
-
uni.$lcb.http.post<UserLocation>('/
|
|
13
|
+
uni.$lcb.http.post<UserLocation>('/address/userLocation', data)
|
package/package.json
CHANGED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<
|
|
2
|
+
Readonly<
|
|
3
|
+
import('vue').ComponentPropsOptions<{
|
|
4
|
+
[x: string]: unknown
|
|
5
|
+
}>
|
|
6
|
+
>,
|
|
7
|
+
{},
|
|
8
|
+
unknown,
|
|
9
|
+
{},
|
|
10
|
+
{},
|
|
11
|
+
import('vue').ComponentOptionsMixin,
|
|
12
|
+
import('vue').ComponentOptionsMixin,
|
|
13
|
+
{},
|
|
14
|
+
string,
|
|
15
|
+
import('vue').PublicProps,
|
|
16
|
+
| readonly string[]
|
|
17
|
+
| Readonly<
|
|
18
|
+
import('vue').ExtractPropTypes<
|
|
19
|
+
Readonly<
|
|
20
|
+
import('vue').ComponentObjectPropsOptions<{
|
|
21
|
+
[x: string]: unknown
|
|
22
|
+
}>
|
|
23
|
+
>
|
|
24
|
+
>
|
|
25
|
+
>,
|
|
26
|
+
| {
|
|
27
|
+
readonly [x: number]: string
|
|
28
|
+
}
|
|
29
|
+
| {},
|
|
30
|
+
{}
|
|
31
|
+
>
|
|
32
|
+
export default _default
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export interface LcbCalendarFilterProps {}
|
|
@@ -7,6 +7,7 @@ export interface HotAddress {
|
|
|
7
7
|
export interface ChildHotAddress {
|
|
8
8
|
addr: string
|
|
9
9
|
addrFlag?: boolean
|
|
10
|
+
addressType?: string
|
|
10
11
|
area?: string
|
|
11
12
|
categoryName?: string
|
|
12
13
|
createDate?: string
|
|
@@ -26,6 +27,7 @@ export declare const getHotAddress: () => Promise<import('../../../action').IRes
|
|
|
26
27
|
export interface LcbAddress {
|
|
27
28
|
addr: string
|
|
28
29
|
addrFlag: boolean
|
|
30
|
+
addressType: string
|
|
29
31
|
categoryName: string
|
|
30
32
|
keywords?: string
|
|
31
33
|
cityId: string
|
|
@@ -36,5 +38,5 @@ export interface LcbAddress {
|
|
|
36
38
|
weightSort: string
|
|
37
39
|
}
|
|
38
40
|
export declare const getAddressList: (
|
|
39
|
-
|
|
41
|
+
addressName: string,
|
|
40
42
|
) => Promise<import('../../../action').IResData<LcbAddress[]>>
|