@tplc/business 0.5.35 → 0.5.36
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,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.5.36](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.5.35...v0.5.36) (2025-10-31)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### ✨ Features | 新功能
|
|
9
|
+
|
|
10
|
+
* lcb-filter-grid 新增颜色 ([64d77bb](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/64d77bb7322550f794d0e599d94cd2bf11beb3c5))
|
|
11
|
+
* 调整form ([91b9c49](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/91b9c49d135935ac58b9ac046ce1d8c6f8adb7b2))
|
|
12
|
+
|
|
5
13
|
### [0.5.35](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.5.34...v0.5.35) (2025-10-31)
|
|
6
14
|
|
|
7
15
|
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
:style="{
|
|
17
17
|
borderRadius: transformValueUnit(radius),
|
|
18
18
|
padding: `${transformValueUnit(textPV)} ${transformValueUnit(textPH)}`,
|
|
19
|
-
backgroundColor: current === index ?
|
|
19
|
+
backgroundColor: current === index ? activeBgColor : textBgColor,
|
|
20
20
|
boxShadow:
|
|
21
21
|
shadowColor && shadowSize
|
|
22
22
|
? `${shadowColor} 0px ${shadowSize}rpx ${blurSize}rpx 0px `
|
|
@@ -28,8 +28,9 @@
|
|
|
28
28
|
height: transformValueUnit(height),
|
|
29
29
|
'border-radius': transformValueUnit(radius),
|
|
30
30
|
textAlign,
|
|
31
|
-
color: current === index ?
|
|
32
|
-
fontSize:
|
|
31
|
+
color: current === index ? activeColor : color,
|
|
32
|
+
fontSize:
|
|
33
|
+
current === index ? transformValueUnit(activeFontSize) : transformValueUnit(fontSize),
|
|
33
34
|
}"
|
|
34
35
|
>
|
|
35
36
|
{{ item.title }}
|
|
@@ -50,7 +51,6 @@ defineOptions({
|
|
|
50
51
|
styleIsolation: 'shared',
|
|
51
52
|
},
|
|
52
53
|
})
|
|
53
|
-
const themeColor = inject('theme-color', '#3875FF')
|
|
54
54
|
const props = withDefaults(defineProps<LcbFilterGridProps>(), {
|
|
55
55
|
marginHorizontal: 24,
|
|
56
56
|
height: 100,
|
|
@@ -59,6 +59,9 @@ const props = withDefaults(defineProps<LcbFilterGridProps>(), {
|
|
|
59
59
|
textAlign: 'center',
|
|
60
60
|
imgRadius: 8,
|
|
61
61
|
fontSize: 28,
|
|
62
|
+
activeColor: '#fff',
|
|
63
|
+
activeFontSize: 28,
|
|
64
|
+
activeBgColor: 'var(--wot-color-theme)',
|
|
62
65
|
})
|
|
63
66
|
const { syncForm } = useSyncForm(props.dynamicScope)
|
|
64
67
|
const current = ref(-1)
|
package/package.json
CHANGED
|
@@ -10,6 +10,9 @@ declare const _default: import('vue').DefineComponent<
|
|
|
10
10
|
textAlign: string
|
|
11
11
|
imgRadius: number
|
|
12
12
|
fontSize: number
|
|
13
|
+
activeColor: string
|
|
14
|
+
activeFontSize: number
|
|
15
|
+
activeBgColor: string
|
|
13
16
|
}
|
|
14
17
|
>,
|
|
15
18
|
{},
|
|
@@ -33,6 +36,9 @@ declare const _default: import('vue').DefineComponent<
|
|
|
33
36
|
textAlign: string
|
|
34
37
|
imgRadius: number
|
|
35
38
|
fontSize: number
|
|
39
|
+
activeColor: string
|
|
40
|
+
activeFontSize: number
|
|
41
|
+
activeBgColor: string
|
|
36
42
|
}
|
|
37
43
|
>
|
|
38
44
|
>
|
|
@@ -44,6 +50,9 @@ declare const _default: import('vue').DefineComponent<
|
|
|
44
50
|
textAlign: 'left' | 'center' | 'right'
|
|
45
51
|
gap: number
|
|
46
52
|
cols: number
|
|
53
|
+
activeColor: string
|
|
54
|
+
activeFontSize: number
|
|
55
|
+
activeBgColor: string
|
|
47
56
|
},
|
|
48
57
|
{}
|
|
49
58
|
>
|