@tplc/business 0.3.63 → 0.3.65
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 +15 -0
- package/components/lcb-filter-grid/lcb-filter-grid.vue +6 -0
- package/components/lcb-img-nav/lcb-img-nav.vue +3 -0
- package/components/lcb-img-nav/types.ts +1 -0
- package/components/lcb-nav/Title/index.vue +10 -1
- package/components/lcb-nav/lcb-nav.vue +5 -0
- package/components/lcb-nav/types.ts +2 -0
- package/package.json +1 -1
- package/types/components/lcb-img-nav/lcb-img-nav.vue.d.ts +3 -0
- package/types/components/lcb-img-nav/types.d.ts +1 -0
- package/types/components/lcb-nav/lcb-nav.vue.d.ts +8 -0
- package/types/components/lcb-nav/types.d.ts +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,21 @@
|
|
|
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.65](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.3.64...v0.3.65) (2025-02-28)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### ✨ Features | 新功能
|
|
9
|
+
|
|
10
|
+
* 字体颜色大小 ([2906705](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/2906705c1e8a789d599107ec832eff215baff90f))
|
|
11
|
+
|
|
12
|
+
### [0.3.64](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.3.63...v0.3.64) (2025-02-28)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### ✨ Features | 新功能
|
|
16
|
+
|
|
17
|
+
* 展示修改 ([19028e3](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/19028e36a9a20a934d7eba6db0df949df3470405))
|
|
18
|
+
* 调整二维码 ([f41b055](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/f41b05590ec8134b6f8bb8d4d86afcfac355150a))
|
|
19
|
+
|
|
5
20
|
### [0.3.63](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.3.62...v0.3.63) (2025-02-27)
|
|
6
21
|
|
|
7
22
|
### [0.3.62](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.62...v0.3.62) (2025-02-27)
|
|
@@ -66,6 +66,12 @@ const handleClick = (index: number) => {
|
|
|
66
66
|
current.value = index === current.value ? -1 : index
|
|
67
67
|
try {
|
|
68
68
|
const params = JSON.parse(props.items?.[index]?.name)
|
|
69
|
+
if (index === current.value) {
|
|
70
|
+
Object.keys(params).forEach((key) => {
|
|
71
|
+
form!.value[key] = undefined
|
|
72
|
+
})
|
|
73
|
+
return
|
|
74
|
+
}
|
|
69
75
|
form!.value = {
|
|
70
76
|
...form!.value,
|
|
71
77
|
...params,
|
|
@@ -70,6 +70,8 @@
|
|
|
70
70
|
class="title"
|
|
71
71
|
:style="{
|
|
72
72
|
fontSize: transformValueUnit(textSize),
|
|
73
|
+
color: textColor,
|
|
74
|
+
fontWeight: textFontWeight,
|
|
73
75
|
}"
|
|
74
76
|
>
|
|
75
77
|
{{ item[titleKey] }}
|
|
@@ -113,6 +115,7 @@ withDefaults(defineProps<LcbImgNavProps>(), {
|
|
|
113
115
|
itemFlexMode: 'column',
|
|
114
116
|
itemGap: 24,
|
|
115
117
|
titleBottom: 40,
|
|
118
|
+
textFontWeight: 400,
|
|
116
119
|
})
|
|
117
120
|
</script>
|
|
118
121
|
|
|
@@ -8,7 +8,15 @@
|
|
|
8
8
|
<view class="images mr-2" v-if="logoImg">
|
|
9
9
|
<img :src="logoImg" />
|
|
10
10
|
</view>
|
|
11
|
-
<view
|
|
11
|
+
<view
|
|
12
|
+
class="title"
|
|
13
|
+
:style="{
|
|
14
|
+
fontSize: transformValueUnit(textSize),
|
|
15
|
+
fontWeight: fontWeight,
|
|
16
|
+
}"
|
|
17
|
+
>
|
|
18
|
+
{{ title }}
|
|
19
|
+
</view>
|
|
12
20
|
</view>
|
|
13
21
|
<view class="images" v-else>
|
|
14
22
|
<img :src="typographyTextBackground" />
|
|
@@ -18,6 +26,7 @@
|
|
|
18
26
|
|
|
19
27
|
<script setup lang="ts">
|
|
20
28
|
import { NavTitleProps } from '../types'
|
|
29
|
+
import { transformValueUnit } from '../../../utils/transform'
|
|
21
30
|
defineOptions({
|
|
22
31
|
name: 'LcbNavTitle',
|
|
23
32
|
options: {
|
|
@@ -164,6 +164,9 @@ const props = withDefaults(defineProps<NavProps>(), {
|
|
|
164
164
|
back: false,
|
|
165
165
|
capsuleMode: 'light',
|
|
166
166
|
immersionMode: 1,
|
|
167
|
+
textSize: 32,
|
|
168
|
+
fontWeight: 500,
|
|
169
|
+
textColor: '#000000',
|
|
167
170
|
})
|
|
168
171
|
const navbarBgColor = computed(() => {
|
|
169
172
|
return props.backgroundType === 'color' ? props.backColor : ''
|
|
@@ -197,6 +200,8 @@ const titleProps = computed(() => {
|
|
|
197
200
|
logoImg: props.logoImg,
|
|
198
201
|
title: props.title,
|
|
199
202
|
titleLocation: props.titleLocation,
|
|
203
|
+
textSize: props.textSize,
|
|
204
|
+
fontWeight: props.fontWeight,
|
|
200
205
|
}
|
|
201
206
|
})
|
|
202
207
|
|
package/package.json
CHANGED
|
@@ -17,6 +17,7 @@ declare const _default: import('vue').DefineComponent<
|
|
|
17
17
|
itemFlexMode: string
|
|
18
18
|
itemGap: number
|
|
19
19
|
titleBottom: number
|
|
20
|
+
textFontWeight: number
|
|
20
21
|
}
|
|
21
22
|
>,
|
|
22
23
|
{},
|
|
@@ -49,6 +50,7 @@ declare const _default: import('vue').DefineComponent<
|
|
|
49
50
|
itemFlexMode: string
|
|
50
51
|
itemGap: number
|
|
51
52
|
titleBottom: number
|
|
53
|
+
textFontWeight: number
|
|
52
54
|
}
|
|
53
55
|
>
|
|
54
56
|
>
|
|
@@ -64,6 +66,7 @@ declare const _default: import('vue').DefineComponent<
|
|
|
64
66
|
pictureDistribution: 3 | 4 | 5
|
|
65
67
|
iconRadius: number
|
|
66
68
|
iconTextMargin: number
|
|
69
|
+
textFontWeight: number
|
|
67
70
|
textSize: number
|
|
68
71
|
urlKey: string
|
|
69
72
|
titleKey: string
|
|
@@ -16,6 +16,9 @@ declare const _default: import('vue').DefineComponent<
|
|
|
16
16
|
back: boolean
|
|
17
17
|
capsuleMode: string
|
|
18
18
|
immersionMode: number
|
|
19
|
+
textSize: number
|
|
20
|
+
fontWeight: number
|
|
21
|
+
textColor: string
|
|
19
22
|
}
|
|
20
23
|
>,
|
|
21
24
|
{},
|
|
@@ -45,6 +48,9 @@ declare const _default: import('vue').DefineComponent<
|
|
|
45
48
|
back: boolean
|
|
46
49
|
capsuleMode: string
|
|
47
50
|
immersionMode: number
|
|
51
|
+
textSize: number
|
|
52
|
+
fontWeight: number
|
|
53
|
+
textColor: string
|
|
48
54
|
}
|
|
49
55
|
>
|
|
50
56
|
>
|
|
@@ -52,6 +58,8 @@ declare const _default: import('vue').DefineComponent<
|
|
|
52
58
|
{
|
|
53
59
|
title: string
|
|
54
60
|
styleGroup: 1 | 2 | 3 | 4
|
|
61
|
+
fontWeight: number
|
|
62
|
+
textSize: number
|
|
55
63
|
back: boolean
|
|
56
64
|
topStyle: 1 | 2
|
|
57
65
|
immersionMode: 1 | 2
|