@tplc/business 0.5.35 → 0.5.37

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,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.5.37](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.5.36...v0.5.37) (2025-11-03)
6
+
7
+
8
+ ### ✨ Features | 新功能
9
+
10
+ * filter page ([a688367](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/a6883672f4b973ebd7523f3daa3c0145b8611cab))
11
+
12
+ ### [0.5.36](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.5.35...v0.5.36) (2025-10-31)
13
+
14
+
15
+ ### ✨ Features | 新功能
16
+
17
+ * lcb-filter-grid 新增颜色 ([64d77bb](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/64d77bb7322550f794d0e599d94cd2bf11beb3c5))
18
+ * 调整form ([91b9c49](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/91b9c49d135935ac58b9ac046ce1d8c6f8adb7b2))
19
+
5
20
  ### [0.5.35](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.5.34...v0.5.35) (2025-10-31)
6
21
 
7
22
 
@@ -8,7 +8,7 @@
8
8
  padding: `${transformValueUnit(paddingTop || paddingVertical || 0)} ${transformValueUnit(paddingRight || paddingHorizontal || 0)} ${transformValueUnit(paddingBottom || paddingVertical || 0)} ${transformValueUnit(paddingLeft || paddingHorizontal || 0)}`,
9
9
  borderRadius: `${transformValueUnit(topRadius || radius)} ${transformValueUnit(topRadius || radius)} ${transformValueUnit(bottomRadius || radius)} ${transformValueUnit(bottomRadius || radius)}`,
10
10
  color,
11
- background: `${backgroundPosition} / ${backgroundSize} ${backgroundRepeat} url('${backgroundImage}'), ${innerBackgroundColor}`,
11
+ background: `${backgroundPosition} / ${backgroundSize} ${backgroundRepeat} url('${backgroundImage}'), ${innerBackgroundColor || 'transparent'}`,
12
12
  fontSize: transformValueUnit(fontSize),
13
13
  fontWeight,
14
14
  borderColor,
@@ -16,7 +16,7 @@
16
16
  :style="{
17
17
  borderRadius: transformValueUnit(radius),
18
18
  padding: `${transformValueUnit(textPV)} ${transformValueUnit(textPH)}`,
19
- backgroundColor: current === index ? themeColor : textBgColor,
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 ? '#fff' : color,
32
- fontSize: transformValueUnit(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)
@@ -15,4 +15,7 @@ export interface LcbFilterGridProps extends LcbBlockProps {
15
15
  textPV?: number
16
16
  borderColor?: string
17
17
  dynamicScope?: string
18
+ activeColor?: string
19
+ activeFontSize?: number
20
+ activeBgColor?: string
18
21
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.5.35",
3
+ "version": "0.5.37",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],
@@ -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
  >
@@ -14,4 +14,7 @@ export interface LcbFilterGridProps extends LcbBlockProps {
14
14
  textPV?: number
15
15
  borderColor?: string
16
16
  dynamicScope?: string
17
+ activeColor?: string
18
+ activeFontSize?: number
19
+ activeBgColor?: string
17
20
  }