@tplc/business 0.3.75 → 0.3.77
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 +16 -0
- package/components/lcb-banner/lcb-banner.vue +11 -2
- package/components/lcb-banner/types.ts +3 -0
- package/components/lcb-icon/lcb-icon.vue +36 -0
- package/components/lcb-icon/types.ts +10 -0
- package/components/lcb-search/lcb-search.vue +57 -3
- package/components/lcb-search/types.ts +14 -2
- package/components/lcb-user-top/lcb-user-top.vue +1 -8
- package/components/lcb-user-top/types.ts +0 -1
- package/global.d.ts +1 -0
- package/package.json +2 -2
- package/types/components/lcb-banner/types.d.ts +3 -0
- package/types/components/lcb-icon/lcb-icon.vue.d.ts +56 -0
- package/types/components/lcb-icon/types.d.ts +10 -0
- package/types/components/lcb-search/lcb-search.vue.d.ts +385 -19
- package/types/components/lcb-search/types.d.ts +13 -2
- package/types/components/lcb-user-top/lcb-user-top.vue.d.ts +1 -4
- package/types/components/lcb-user-top/types.d.ts +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,22 @@
|
|
|
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.3.77](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.63...v0.3.77) (2025-03-11)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### 🚀 Chore | 构建/工程依赖/工具
|
|
9
|
+
|
|
10
|
+
* **release:** 0.1.64 ([fd47263](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/fd47263c97888ca9972ff138da22e46082781769))
|
|
11
|
+
* **release:** 0.1.65 ([ca4697e](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/ca4697e3af5c537fcadaad6a972bca0bf6e3df1e))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### ✨ Features | 新功能
|
|
15
|
+
|
|
16
|
+
* 支持banner 底部 ([1e0b38c](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/1e0b38ccba18240f4b18f78a84e0810ae8b67460))
|
|
17
|
+
* 支持search ([b40bddd](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/b40bddd4bb1441a389475df4dae0ce98dc0176b8))
|
|
18
|
+
|
|
19
|
+
### [0.3.76](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.3.75...v0.3.76) (2025-03-10)
|
|
20
|
+
|
|
5
21
|
### [0.3.75](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.3.73...v0.3.75) (2025-03-10)
|
|
6
22
|
|
|
7
23
|
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<view class="lcb-banner">
|
|
3
|
-
<lcb-block v-bind="$props">
|
|
3
|
+
<lcb-block v-bind="$props" custom-class="overflow-visible">
|
|
4
4
|
<wd-swiper
|
|
5
5
|
value-key="url"
|
|
6
6
|
action
|
|
7
|
+
custom-indicator-class="custom-indicator-class"
|
|
7
8
|
v-bind="{
|
|
8
9
|
list: items,
|
|
9
10
|
loop,
|
|
@@ -18,6 +19,8 @@
|
|
|
18
19
|
customNextImageClass,
|
|
19
20
|
interval,
|
|
20
21
|
indicator: indicator ? { type: indicator } : false,
|
|
22
|
+
indicatorCustomStyle,
|
|
23
|
+
customStyle,
|
|
21
24
|
...supplementProps,
|
|
22
25
|
}"
|
|
23
26
|
/>
|
|
@@ -45,7 +48,7 @@ const props = withDefaults(defineProps<LcbBannerProps>(), {
|
|
|
45
48
|
const supplementProps = computed(() => {
|
|
46
49
|
if (props.styleGroup === 2) {
|
|
47
50
|
return {
|
|
48
|
-
nextMargin: transformValueUnit(props.
|
|
51
|
+
nextMargin: transformValueUnit(props.nextMargin ?? 24),
|
|
49
52
|
previousMargin: transformValueUnit(props.previousMargin ?? 24),
|
|
50
53
|
itemPadding: `${transformValueUnit(props.itemPadding ?? 10)}`,
|
|
51
54
|
customPrevImageHeight:
|
|
@@ -57,6 +60,12 @@ const supplementProps = computed(() => {
|
|
|
57
60
|
}
|
|
58
61
|
return {}
|
|
59
62
|
})
|
|
63
|
+
const indicatorCustomStyle = computed(() => {
|
|
64
|
+
return props.indicatorBottom ? `bottom: ${transformValueUnit(props.indicatorBottom)}` : ''
|
|
65
|
+
})
|
|
66
|
+
const customStyle = computed(() => {
|
|
67
|
+
return props.paddingBottom ? `padding-bottom: ${transformValueUnit(props.paddingBottom)}` : ''
|
|
68
|
+
})
|
|
60
69
|
</script>
|
|
61
70
|
<style lang="scss" scoped>
|
|
62
71
|
.lcb-banner {
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<wd-icon
|
|
3
|
+
v-if="icon && iconType === 'icon'"
|
|
4
|
+
:name="icon"
|
|
5
|
+
:size="size"
|
|
6
|
+
:color="color"
|
|
7
|
+
:custom-class="customClass"
|
|
8
|
+
:custom-style="customStyle"
|
|
9
|
+
:class-prefix="classPrefix"
|
|
10
|
+
/>
|
|
11
|
+
<wd-img
|
|
12
|
+
v-else-if="url && iconType === 'img'"
|
|
13
|
+
:src="url"
|
|
14
|
+
:width="size"
|
|
15
|
+
:height="size"
|
|
16
|
+
:custom-class="customClass"
|
|
17
|
+
:custom-style="customStyle"
|
|
18
|
+
/>
|
|
19
|
+
</template>
|
|
20
|
+
|
|
21
|
+
<script setup lang="ts">
|
|
22
|
+
import { LcbIconProps } from './types'
|
|
23
|
+
defineOptions({
|
|
24
|
+
name: 'LcbIcon',
|
|
25
|
+
options: {
|
|
26
|
+
addGlobalClass: true,
|
|
27
|
+
virtualHost: true,
|
|
28
|
+
styleIsolation: 'shared',
|
|
29
|
+
},
|
|
30
|
+
})
|
|
31
|
+
withDefaults(defineProps<LcbIconProps>(), {
|
|
32
|
+
iconType: 'icon',
|
|
33
|
+
})
|
|
34
|
+
</script>
|
|
35
|
+
|
|
36
|
+
<style lang="scss" scoped></style>
|
|
@@ -6,14 +6,50 @@
|
|
|
6
6
|
borderWidth: `${borderWidth}px`,
|
|
7
7
|
}"
|
|
8
8
|
>
|
|
9
|
-
<lcb-action-view v-bind="link">
|
|
9
|
+
<lcb-action-view v-bind="link" :urlParams="stringify(addressCity)">
|
|
10
10
|
<view
|
|
11
11
|
class="flex items-center"
|
|
12
12
|
:style="{
|
|
13
13
|
gap: transformValueUnit(gap),
|
|
14
14
|
}"
|
|
15
15
|
>
|
|
16
|
-
|
|
16
|
+
<!-- v-if="city" -->
|
|
17
|
+
<lcb-city-select :location="userLocation" v-model="addressCity" v-if="city">
|
|
18
|
+
<view class="flex items-center h-full gap-1">
|
|
19
|
+
<wd-icon
|
|
20
|
+
name="location"
|
|
21
|
+
:size="transformValueUnit(cityIconSize)"
|
|
22
|
+
:color="cityIconColor"
|
|
23
|
+
/>
|
|
24
|
+
<view
|
|
25
|
+
class="max-w-13 truncate"
|
|
26
|
+
:style="{
|
|
27
|
+
color: cityColor,
|
|
28
|
+
fontSize: transformValueUnit(citySize),
|
|
29
|
+
}"
|
|
30
|
+
>
|
|
31
|
+
{{ addressCity?.addr || '全国' }}
|
|
32
|
+
</view>
|
|
33
|
+
<view
|
|
34
|
+
:style="{
|
|
35
|
+
backgroundColor: lineColor,
|
|
36
|
+
width: transformValueUnit(lineWidth),
|
|
37
|
+
margin: `0 ${transformValueUnit(linePadding)}`,
|
|
38
|
+
height: transformValueUnit(lineHeight),
|
|
39
|
+
}"
|
|
40
|
+
></view>
|
|
41
|
+
</view>
|
|
42
|
+
</lcb-city-select>
|
|
43
|
+
|
|
44
|
+
<lcb-icon
|
|
45
|
+
v-if="icon || url"
|
|
46
|
+
:url="url"
|
|
47
|
+
:size="iconSize"
|
|
48
|
+
:color="iconColor"
|
|
49
|
+
:icon="icon"
|
|
50
|
+
class-prefix="lcb"
|
|
51
|
+
:iconType="iconType"
|
|
52
|
+
/>
|
|
17
53
|
<view>{{ placeholder }}</view>
|
|
18
54
|
</view>
|
|
19
55
|
</lcb-action-view>
|
|
@@ -23,6 +59,11 @@
|
|
|
23
59
|
<script setup lang="ts">
|
|
24
60
|
import { LcbSearchProps } from './types'
|
|
25
61
|
import { transformValueUnit } from '../../utils/transform'
|
|
62
|
+
import { ChildHotAddress } from '../lcb-city-select/api'
|
|
63
|
+
import useLocation from '../../hooks/useLocation'
|
|
64
|
+
import { getHistoryCity } from '../../utils/history'
|
|
65
|
+
import { stringify } from 'qs'
|
|
66
|
+
import { ref } from 'vue'
|
|
26
67
|
defineOptions({
|
|
27
68
|
name: 'LcbSearch',
|
|
28
69
|
options: {
|
|
@@ -35,9 +76,22 @@ withDefaults(defineProps<LcbSearchProps>(), {
|
|
|
35
76
|
placeholder: '搜索',
|
|
36
77
|
iconSize: '16',
|
|
37
78
|
borderWidth: 1,
|
|
38
|
-
|
|
79
|
+
color: '#000',
|
|
80
|
+
iconColor: '#000',
|
|
39
81
|
gap: 16,
|
|
82
|
+
cityColor: '#000',
|
|
83
|
+
citySize: 24,
|
|
84
|
+
cityIconSize: 24,
|
|
85
|
+
cityIconColor: '#000',
|
|
86
|
+
lineColor: '#000',
|
|
87
|
+
lineWidth: 2,
|
|
88
|
+
linePadding: 24,
|
|
89
|
+
lineHeight: 24,
|
|
90
|
+
iconType: 'icon',
|
|
40
91
|
})
|
|
92
|
+
const { getLocation, userLocation } = useLocation()
|
|
93
|
+
const addressCity = ref<ChildHotAddress | undefined>(getHistoryCity())
|
|
94
|
+
getLocation()
|
|
41
95
|
</script>
|
|
42
96
|
|
|
43
97
|
<style lang="scss" scoped></style>
|
|
@@ -1,12 +1,24 @@
|
|
|
1
1
|
import { LcbActionViewProps } from 'components/lcb-action-view/types'
|
|
2
2
|
|
|
3
|
-
export
|
|
3
|
+
export type LcbSearchProps = {
|
|
4
4
|
// Define the component's prop types here
|
|
5
5
|
placeholder?: string
|
|
6
6
|
icon?: string
|
|
7
|
+
url?: string
|
|
7
8
|
iconSize?: string
|
|
8
9
|
borderWidth?: number
|
|
9
10
|
iconColor?: string
|
|
10
11
|
gap?: number
|
|
11
12
|
link?: LcbActionViewProps
|
|
12
|
-
|
|
13
|
+
iconType?: 'icon' | 'img'
|
|
14
|
+
|
|
15
|
+
city?: boolean
|
|
16
|
+
cityColor?: string
|
|
17
|
+
citySize?: number
|
|
18
|
+
cityIconSize?: number
|
|
19
|
+
cityIconColor?: string
|
|
20
|
+
lineColor?: string
|
|
21
|
+
lineWidth?: number
|
|
22
|
+
linePadding?: number
|
|
23
|
+
lineHeight?: number
|
|
24
|
+
} & LcbActionViewProps
|
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<lcb-block
|
|
3
|
-
v-bind="{
|
|
4
|
-
...$props,
|
|
5
|
-
backgroundColor: bgStyle === 1 ? backgroundColor : '',
|
|
6
|
-
backgroundImage: bgStyle === 2 ? backgroundImage : '',
|
|
7
|
-
}"
|
|
8
|
-
>
|
|
2
|
+
<lcb-block v-bind="$props">
|
|
9
3
|
<view
|
|
10
4
|
class="anyTopGap"
|
|
11
5
|
:style="{
|
|
@@ -155,7 +149,6 @@ withDefaults(defineProps<LcbUserTopProps>(), {
|
|
|
155
149
|
editText: '编辑资料',
|
|
156
150
|
editSize: 28,
|
|
157
151
|
rightIconSize: 28,
|
|
158
|
-
bgStyle: 1,
|
|
159
152
|
})
|
|
160
153
|
const padTop = computed(() => {
|
|
161
154
|
return addUnit(statusBarHeight || 0)
|
package/global.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ declare module 'vue' {
|
|
|
18
18
|
'lcb-gap': (typeof import('@tplc/business/components/lcb-gap/lcb-gap.vue'))['default']
|
|
19
19
|
'lcb-grid': (typeof import('@tplc/business/components/lcb-grid/lcb-grid.vue'))['default']
|
|
20
20
|
'lcb-home-search': (typeof import('@tplc/business/components/lcb-home-search/lcb-home-search.vue'))['default']
|
|
21
|
+
'lcb-icon': (typeof import('@tplc/business/components/lcb-icon/lcb-icon.vue'))['default']
|
|
21
22
|
'lcb-image': (typeof import('@tplc/business/components/lcb-image/lcb-image.vue'))['default']
|
|
22
23
|
'lcb-img-nav': (typeof import('@tplc/business/components/lcb-img-nav/lcb-img-nav.vue'))['default']
|
|
23
24
|
'lcb-list': (typeof import('@tplc/business/components/lcb-list/lcb-list.vue'))['default']
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tplc/business",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.77",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"业务组件"
|
|
6
6
|
],
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
},
|
|
12
12
|
"peerDependencies": {
|
|
13
13
|
"vue": ">=3.2.47",
|
|
14
|
-
"@tplc/wot": "0.1.
|
|
14
|
+
"@tplc/wot": "0.1.65"
|
|
15
15
|
},
|
|
16
16
|
"engines": {
|
|
17
17
|
"node": ">=18",
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { LcbIconProps } from './types'
|
|
2
|
+
declare const _default: import('vue').DefineComponent<
|
|
3
|
+
__VLS_WithDefaults<
|
|
4
|
+
__VLS_TypePropsToOption<LcbIconProps>,
|
|
5
|
+
{
|
|
6
|
+
iconType: string
|
|
7
|
+
}
|
|
8
|
+
>,
|
|
9
|
+
{},
|
|
10
|
+
unknown,
|
|
11
|
+
{},
|
|
12
|
+
{},
|
|
13
|
+
import('vue').ComponentOptionsMixin,
|
|
14
|
+
import('vue').ComponentOptionsMixin,
|
|
15
|
+
{},
|
|
16
|
+
string,
|
|
17
|
+
import('vue').PublicProps,
|
|
18
|
+
Readonly<
|
|
19
|
+
import('vue').ExtractPropTypes<
|
|
20
|
+
__VLS_WithDefaults<
|
|
21
|
+
__VLS_TypePropsToOption<LcbIconProps>,
|
|
22
|
+
{
|
|
23
|
+
iconType: string
|
|
24
|
+
}
|
|
25
|
+
>
|
|
26
|
+
>
|
|
27
|
+
>,
|
|
28
|
+
{
|
|
29
|
+
iconType: 'icon' | 'img'
|
|
30
|
+
},
|
|
31
|
+
{}
|
|
32
|
+
>
|
|
33
|
+
export default _default
|
|
34
|
+
type __VLS_WithDefaults<P, D> = {
|
|
35
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
36
|
+
? __VLS_Prettify<
|
|
37
|
+
P[K] & {
|
|
38
|
+
default: D[K]
|
|
39
|
+
}
|
|
40
|
+
>
|
|
41
|
+
: P[K]
|
|
42
|
+
}
|
|
43
|
+
type __VLS_Prettify<T> = {
|
|
44
|
+
[K in keyof T]: T[K]
|
|
45
|
+
} & {}
|
|
46
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
|
|
47
|
+
type __VLS_TypePropsToOption<T> = {
|
|
48
|
+
[K in keyof T]-?: {} extends Pick<T, K>
|
|
49
|
+
? {
|
|
50
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
|
|
51
|
+
}
|
|
52
|
+
: {
|
|
53
|
+
type: import('vue').PropType<T[K]>
|
|
54
|
+
required: true
|
|
55
|
+
}
|
|
56
|
+
}
|
|
@@ -6,8 +6,18 @@ declare const _default: import('vue').DefineComponent<
|
|
|
6
6
|
placeholder: string
|
|
7
7
|
iconSize: string
|
|
8
8
|
borderWidth: number
|
|
9
|
+
color: string
|
|
9
10
|
iconColor: string
|
|
10
11
|
gap: number
|
|
12
|
+
cityColor: string
|
|
13
|
+
citySize: number
|
|
14
|
+
cityIconSize: number
|
|
15
|
+
cityIconColor: string
|
|
16
|
+
lineColor: string
|
|
17
|
+
lineWidth: number
|
|
18
|
+
linePadding: number
|
|
19
|
+
lineHeight: number
|
|
20
|
+
iconType: string
|
|
11
21
|
}
|
|
12
22
|
>,
|
|
13
23
|
{},
|
|
@@ -19,27 +29,383 @@ declare const _default: import('vue').DefineComponent<
|
|
|
19
29
|
{},
|
|
20
30
|
string,
|
|
21
31
|
import('vue').PublicProps,
|
|
22
|
-
Readonly<
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
32
|
+
| Readonly<
|
|
33
|
+
import('vue').ExtractPropTypes<
|
|
34
|
+
__VLS_WithDefaults<
|
|
35
|
+
__VLS_TypePropsToOption<
|
|
36
|
+
{
|
|
37
|
+
placeholder?: string
|
|
38
|
+
icon?: string
|
|
39
|
+
url?: string
|
|
40
|
+
iconSize?: string
|
|
41
|
+
borderWidth?: number
|
|
42
|
+
iconColor?: string
|
|
43
|
+
gap?: number
|
|
44
|
+
link?: import('../lcb-action-view/types').LcbActionViewProps
|
|
45
|
+
iconType?: 'icon' | 'img'
|
|
46
|
+
city?: boolean
|
|
47
|
+
cityColor?: string
|
|
48
|
+
citySize?: number
|
|
49
|
+
cityIconSize?: number
|
|
50
|
+
cityIconColor?: string
|
|
51
|
+
lineColor?: string
|
|
52
|
+
lineWidth?: number
|
|
53
|
+
linePadding?: number
|
|
54
|
+
lineHeight?: number
|
|
55
|
+
} & {
|
|
56
|
+
jumpUrl?: string
|
|
57
|
+
urlParams?: string
|
|
58
|
+
customClass?: string
|
|
59
|
+
customStyle?: import('vue').StyleValue
|
|
60
|
+
} & {
|
|
61
|
+
jumpType?:
|
|
62
|
+
| 1
|
|
63
|
+
| 2
|
|
64
|
+
| 10
|
|
65
|
+
| 11
|
|
66
|
+
| 12
|
|
67
|
+
| 13
|
|
68
|
+
| 14
|
|
69
|
+
| 16
|
|
70
|
+
| 21
|
|
71
|
+
| 22
|
|
72
|
+
| 23
|
|
73
|
+
| 24
|
|
74
|
+
| 25
|
|
75
|
+
| 26
|
|
76
|
+
| 30
|
|
77
|
+
| 88
|
|
78
|
+
| 101
|
|
79
|
+
| 102
|
|
80
|
+
| 103
|
|
81
|
+
| 104
|
|
82
|
+
| 241
|
|
83
|
+
jumpAppid?: string
|
|
84
|
+
phoneNumber?: string
|
|
85
|
+
content?: string
|
|
86
|
+
title?: string
|
|
87
|
+
position?: string
|
|
88
|
+
}
|
|
89
|
+
>,
|
|
90
|
+
{
|
|
91
|
+
placeholder: string
|
|
92
|
+
iconSize: string
|
|
93
|
+
borderWidth: number
|
|
94
|
+
color: string
|
|
95
|
+
iconColor: string
|
|
96
|
+
gap: number
|
|
97
|
+
cityColor: string
|
|
98
|
+
citySize: number
|
|
99
|
+
cityIconSize: number
|
|
100
|
+
cityIconColor: string
|
|
101
|
+
lineColor: string
|
|
102
|
+
lineWidth: number
|
|
103
|
+
linePadding: number
|
|
104
|
+
lineHeight: number
|
|
105
|
+
iconType: string
|
|
106
|
+
}
|
|
107
|
+
>
|
|
33
108
|
>
|
|
34
109
|
>
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
110
|
+
| Readonly<
|
|
111
|
+
import('vue').ExtractPropTypes<
|
|
112
|
+
__VLS_WithDefaults<
|
|
113
|
+
__VLS_TypePropsToOption<
|
|
114
|
+
{
|
|
115
|
+
placeholder?: string
|
|
116
|
+
icon?: string
|
|
117
|
+
url?: string
|
|
118
|
+
iconSize?: string
|
|
119
|
+
borderWidth?: number
|
|
120
|
+
iconColor?: string
|
|
121
|
+
gap?: number
|
|
122
|
+
link?: import('../lcb-action-view/types').LcbActionViewProps
|
|
123
|
+
iconType?: 'icon' | 'img'
|
|
124
|
+
city?: boolean
|
|
125
|
+
cityColor?: string
|
|
126
|
+
citySize?: number
|
|
127
|
+
cityIconSize?: number
|
|
128
|
+
cityIconColor?: string
|
|
129
|
+
lineColor?: string
|
|
130
|
+
lineWidth?: number
|
|
131
|
+
linePadding?: number
|
|
132
|
+
lineHeight?: number
|
|
133
|
+
} & {
|
|
134
|
+
jumpUrl?: string
|
|
135
|
+
urlParams?: string
|
|
136
|
+
customClass?: string
|
|
137
|
+
customStyle?: import('vue').StyleValue
|
|
138
|
+
} & {
|
|
139
|
+
jumpType: 17
|
|
140
|
+
requestInfo?: {
|
|
141
|
+
requestUrl: string
|
|
142
|
+
requestParams: Record<string, any>
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
>,
|
|
146
|
+
{
|
|
147
|
+
placeholder: string
|
|
148
|
+
iconSize: string
|
|
149
|
+
borderWidth: number
|
|
150
|
+
color: string
|
|
151
|
+
iconColor: string
|
|
152
|
+
gap: number
|
|
153
|
+
cityColor: string
|
|
154
|
+
citySize: number
|
|
155
|
+
cityIconSize: number
|
|
156
|
+
cityIconColor: string
|
|
157
|
+
lineColor: string
|
|
158
|
+
lineWidth: number
|
|
159
|
+
linePadding: number
|
|
160
|
+
lineHeight: number
|
|
161
|
+
iconType: string
|
|
162
|
+
}
|
|
163
|
+
>
|
|
164
|
+
>
|
|
165
|
+
>
|
|
166
|
+
| Readonly<
|
|
167
|
+
import('vue').ExtractPropTypes<
|
|
168
|
+
__VLS_WithDefaults<
|
|
169
|
+
__VLS_TypePropsToOption<
|
|
170
|
+
{
|
|
171
|
+
placeholder?: string
|
|
172
|
+
icon?: string
|
|
173
|
+
url?: string
|
|
174
|
+
iconSize?: string
|
|
175
|
+
borderWidth?: number
|
|
176
|
+
iconColor?: string
|
|
177
|
+
gap?: number
|
|
178
|
+
link?: import('../lcb-action-view/types').LcbActionViewProps
|
|
179
|
+
iconType?: 'icon' | 'img'
|
|
180
|
+
city?: boolean
|
|
181
|
+
cityColor?: string
|
|
182
|
+
citySize?: number
|
|
183
|
+
cityIconSize?: number
|
|
184
|
+
cityIconColor?: string
|
|
185
|
+
lineColor?: string
|
|
186
|
+
lineWidth?: number
|
|
187
|
+
linePadding?: number
|
|
188
|
+
lineHeight?: number
|
|
189
|
+
} & {
|
|
190
|
+
jumpUrl?: string
|
|
191
|
+
urlParams?: string
|
|
192
|
+
customClass?: string
|
|
193
|
+
customStyle?: import('vue').StyleValue
|
|
194
|
+
} & {
|
|
195
|
+
jumpType: 105
|
|
196
|
+
addressInfo?: {
|
|
197
|
+
address: string
|
|
198
|
+
latitude: number
|
|
199
|
+
longitude: number
|
|
200
|
+
name: string
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
>,
|
|
204
|
+
{
|
|
205
|
+
placeholder: string
|
|
206
|
+
iconSize: string
|
|
207
|
+
borderWidth: number
|
|
208
|
+
color: string
|
|
209
|
+
iconColor: string
|
|
210
|
+
gap: number
|
|
211
|
+
cityColor: string
|
|
212
|
+
citySize: number
|
|
213
|
+
cityIconSize: number
|
|
214
|
+
cityIconColor: string
|
|
215
|
+
lineColor: string
|
|
216
|
+
lineWidth: number
|
|
217
|
+
linePadding: number
|
|
218
|
+
lineHeight: number
|
|
219
|
+
iconType: string
|
|
220
|
+
}
|
|
221
|
+
>
|
|
222
|
+
>
|
|
223
|
+
>
|
|
224
|
+
| Readonly<
|
|
225
|
+
import('vue').ExtractPropTypes<
|
|
226
|
+
__VLS_WithDefaults<
|
|
227
|
+
__VLS_TypePropsToOption<
|
|
228
|
+
{
|
|
229
|
+
placeholder?: string
|
|
230
|
+
icon?: string
|
|
231
|
+
url?: string
|
|
232
|
+
iconSize?: string
|
|
233
|
+
borderWidth?: number
|
|
234
|
+
iconColor?: string
|
|
235
|
+
gap?: number
|
|
236
|
+
link?: import('../lcb-action-view/types').LcbActionViewProps
|
|
237
|
+
iconType?: 'icon' | 'img'
|
|
238
|
+
city?: boolean
|
|
239
|
+
cityColor?: string
|
|
240
|
+
citySize?: number
|
|
241
|
+
cityIconSize?: number
|
|
242
|
+
cityIconColor?: string
|
|
243
|
+
lineColor?: string
|
|
244
|
+
lineWidth?: number
|
|
245
|
+
linePadding?: number
|
|
246
|
+
lineHeight?: number
|
|
247
|
+
} & {
|
|
248
|
+
jumpUrl?: string
|
|
249
|
+
urlParams?: string
|
|
250
|
+
customClass?: string
|
|
251
|
+
customStyle?: import('vue').StyleValue
|
|
252
|
+
} & {
|
|
253
|
+
jumpType: 106
|
|
254
|
+
requestParam?: Record<string, any>
|
|
255
|
+
}
|
|
256
|
+
>,
|
|
257
|
+
{
|
|
258
|
+
placeholder: string
|
|
259
|
+
iconSize: string
|
|
260
|
+
borderWidth: number
|
|
261
|
+
color: string
|
|
262
|
+
iconColor: string
|
|
263
|
+
gap: number
|
|
264
|
+
cityColor: string
|
|
265
|
+
citySize: number
|
|
266
|
+
cityIconSize: number
|
|
267
|
+
cityIconColor: string
|
|
268
|
+
lineColor: string
|
|
269
|
+
lineWidth: number
|
|
270
|
+
linePadding: number
|
|
271
|
+
lineHeight: number
|
|
272
|
+
iconType: string
|
|
273
|
+
}
|
|
274
|
+
>
|
|
275
|
+
>
|
|
276
|
+
>
|
|
277
|
+
| Readonly<
|
|
278
|
+
import('vue').ExtractPropTypes<
|
|
279
|
+
__VLS_WithDefaults<
|
|
280
|
+
__VLS_TypePropsToOption<
|
|
281
|
+
{
|
|
282
|
+
placeholder?: string
|
|
283
|
+
icon?: string
|
|
284
|
+
url?: string
|
|
285
|
+
iconSize?: string
|
|
286
|
+
borderWidth?: number
|
|
287
|
+
iconColor?: string
|
|
288
|
+
gap?: number
|
|
289
|
+
link?: import('../lcb-action-view/types').LcbActionViewProps
|
|
290
|
+
iconType?: 'icon' | 'img'
|
|
291
|
+
city?: boolean
|
|
292
|
+
cityColor?: string
|
|
293
|
+
citySize?: number
|
|
294
|
+
cityIconSize?: number
|
|
295
|
+
cityIconColor?: string
|
|
296
|
+
lineColor?: string
|
|
297
|
+
lineWidth?: number
|
|
298
|
+
linePadding?: number
|
|
299
|
+
lineHeight?: number
|
|
300
|
+
} & {
|
|
301
|
+
jumpUrl?: string
|
|
302
|
+
urlParams?: string
|
|
303
|
+
customClass?: string
|
|
304
|
+
customStyle?: import('vue').StyleValue
|
|
305
|
+
} & {
|
|
306
|
+
jumpType: 141
|
|
307
|
+
}
|
|
308
|
+
>,
|
|
309
|
+
{
|
|
310
|
+
placeholder: string
|
|
311
|
+
iconSize: string
|
|
312
|
+
borderWidth: number
|
|
313
|
+
color: string
|
|
314
|
+
iconColor: string
|
|
315
|
+
gap: number
|
|
316
|
+
cityColor: string
|
|
317
|
+
citySize: number
|
|
318
|
+
cityIconSize: number
|
|
319
|
+
cityIconColor: string
|
|
320
|
+
lineColor: string
|
|
321
|
+
lineWidth: number
|
|
322
|
+
linePadding: number
|
|
323
|
+
lineHeight: number
|
|
324
|
+
iconType: string
|
|
325
|
+
}
|
|
326
|
+
>
|
|
327
|
+
>
|
|
328
|
+
>,
|
|
329
|
+
| {
|
|
330
|
+
lineHeight: number
|
|
331
|
+
iconSize: string
|
|
332
|
+
iconColor: string
|
|
333
|
+
placeholder: string
|
|
334
|
+
lineWidth: number
|
|
335
|
+
gap: number
|
|
336
|
+
iconType: 'icon' | 'img'
|
|
337
|
+
borderWidth: number
|
|
338
|
+
cityColor: string
|
|
339
|
+
citySize: number
|
|
340
|
+
cityIconSize: number
|
|
341
|
+
cityIconColor: string
|
|
342
|
+
lineColor: string
|
|
343
|
+
linePadding: number
|
|
344
|
+
}
|
|
345
|
+
| {
|
|
346
|
+
lineHeight: number
|
|
347
|
+
iconSize: string
|
|
348
|
+
iconColor: string
|
|
349
|
+
placeholder: string
|
|
350
|
+
lineWidth: number
|
|
351
|
+
gap: number
|
|
352
|
+
iconType: 'icon' | 'img'
|
|
353
|
+
borderWidth: number
|
|
354
|
+
cityColor: string
|
|
355
|
+
citySize: number
|
|
356
|
+
cityIconSize: number
|
|
357
|
+
cityIconColor: string
|
|
358
|
+
lineColor: string
|
|
359
|
+
linePadding: number
|
|
360
|
+
}
|
|
361
|
+
| {
|
|
362
|
+
lineHeight: number
|
|
363
|
+
iconSize: string
|
|
364
|
+
iconColor: string
|
|
365
|
+
placeholder: string
|
|
366
|
+
lineWidth: number
|
|
367
|
+
gap: number
|
|
368
|
+
iconType: 'icon' | 'img'
|
|
369
|
+
borderWidth: number
|
|
370
|
+
cityColor: string
|
|
371
|
+
citySize: number
|
|
372
|
+
cityIconSize: number
|
|
373
|
+
cityIconColor: string
|
|
374
|
+
lineColor: string
|
|
375
|
+
linePadding: number
|
|
376
|
+
}
|
|
377
|
+
| {
|
|
378
|
+
lineHeight: number
|
|
379
|
+
iconSize: string
|
|
380
|
+
iconColor: string
|
|
381
|
+
placeholder: string
|
|
382
|
+
lineWidth: number
|
|
383
|
+
gap: number
|
|
384
|
+
iconType: 'icon' | 'img'
|
|
385
|
+
borderWidth: number
|
|
386
|
+
cityColor: string
|
|
387
|
+
citySize: number
|
|
388
|
+
cityIconSize: number
|
|
389
|
+
cityIconColor: string
|
|
390
|
+
lineColor: string
|
|
391
|
+
linePadding: number
|
|
392
|
+
}
|
|
393
|
+
| {
|
|
394
|
+
lineHeight: number
|
|
395
|
+
iconSize: string
|
|
396
|
+
iconColor: string
|
|
397
|
+
placeholder: string
|
|
398
|
+
lineWidth: number
|
|
399
|
+
gap: number
|
|
400
|
+
iconType: 'icon' | 'img'
|
|
401
|
+
borderWidth: number
|
|
402
|
+
cityColor: string
|
|
403
|
+
citySize: number
|
|
404
|
+
cityIconSize: number
|
|
405
|
+
cityIconColor: string
|
|
406
|
+
lineColor: string
|
|
407
|
+
linePadding: number
|
|
408
|
+
},
|
|
43
409
|
{}
|
|
44
410
|
>
|
|
45
411
|
export default _default
|
|
@@ -1,10 +1,21 @@
|
|
|
1
1
|
import { LcbActionViewProps } from 'components/lcb-action-view/types'
|
|
2
|
-
export
|
|
2
|
+
export type LcbSearchProps = {
|
|
3
3
|
placeholder?: string
|
|
4
4
|
icon?: string
|
|
5
|
+
url?: string
|
|
5
6
|
iconSize?: string
|
|
6
7
|
borderWidth?: number
|
|
7
8
|
iconColor?: string
|
|
8
9
|
gap?: number
|
|
9
10
|
link?: LcbActionViewProps
|
|
10
|
-
|
|
11
|
+
iconType?: 'icon' | 'img'
|
|
12
|
+
city?: boolean
|
|
13
|
+
cityColor?: string
|
|
14
|
+
citySize?: number
|
|
15
|
+
cityIconSize?: number
|
|
16
|
+
cityIconColor?: string
|
|
17
|
+
lineColor?: string
|
|
18
|
+
lineWidth?: number
|
|
19
|
+
linePadding?: number
|
|
20
|
+
lineHeight?: number
|
|
21
|
+
} & LcbActionViewProps
|
|
@@ -17,7 +17,6 @@ declare const _default: import('vue').DefineComponent<
|
|
|
17
17
|
editText: string
|
|
18
18
|
editSize: number
|
|
19
19
|
rightIconSize: number
|
|
20
|
-
bgStyle: number
|
|
21
20
|
}
|
|
22
21
|
>,
|
|
23
22
|
{},
|
|
@@ -48,7 +47,6 @@ declare const _default: import('vue').DefineComponent<
|
|
|
48
47
|
editText: string
|
|
49
48
|
editSize: number
|
|
50
49
|
rightIconSize: number
|
|
51
|
-
bgStyle: number
|
|
52
50
|
}
|
|
53
51
|
>
|
|
54
52
|
>
|
|
@@ -59,12 +57,11 @@ declare const _default: import('vue').DefineComponent<
|
|
|
59
57
|
paddingBottom: number
|
|
60
58
|
paddingLeft: number
|
|
61
59
|
paddingRight: number
|
|
62
|
-
textColor: string
|
|
63
60
|
iconType: 0 | 1
|
|
61
|
+
textColor: string
|
|
64
62
|
textSize: number
|
|
65
63
|
photoRound: boolean
|
|
66
64
|
photoSize: number
|
|
67
|
-
bgStyle: 1 | 2
|
|
68
65
|
moreIcon: boolean
|
|
69
66
|
editText: string
|
|
70
67
|
editSize: number
|