@tplc/business 0.2.1 → 0.2.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 CHANGED
@@ -2,71 +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.2.1](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.0.79...v0.2.1) (2024-11-27)
6
-
7
-
8
- ### 🐛 Bug Fixes | Bug 修复
9
-
10
- * lcb-list兼容小程序 ([065efe8](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/065efe8f63c6f58581b227df534c954fbc56cc48))
11
-
12
-
13
- ### ✨ Features | 新功能
14
-
15
- * 兼容user-top ([56a04c1](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/56a04c189d4379cc7dd83acae5a3dac05bbe9314))
16
- * 新增 按钮模式 ([e839a01](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/e839a01dd81996dae49a5259940cbfea6d03acca))
17
- * 跳转 wd-backtop 滚动方式 ([2844471](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/28444716c8382777b1c74141a7d08611a304ee18))
18
-
19
-
20
- ### 🚀 Chore | 构建/工程依赖/工具
21
-
22
- * **release:** 0.0.80 ([a7e25d6](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/a7e25d6951502a9023ddf7599c07a3ec3310d9ae))
23
- * **release:** 0.1.16 ([2c69e6f](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/2c69e6f2099187fa852420c52bca155c1b3a9368))
24
- * **release:** 0.1.22 ([0b4e25d](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/0b4e25da273d86d8f014beb487d8d213504c6527))
25
- * **release:** 0.1.40 ([f446dab](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/f446daba559dbd89b1a705c71bb06f93264966c4))
26
- * **release:** 0.1.41 ([3702673](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/370267380ff0fad014bd2087063849c9db05e370))
27
-
28
- ### [0.1.22](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.0.79...v0.1.22) (2024-11-27)
29
-
30
-
31
- ### 🐛 Bug Fixes | Bug 修复
32
-
33
- * lcb-list兼容小程序 ([065efe8](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/065efe8f63c6f58581b227df534c954fbc56cc48))
34
-
35
-
36
- ### ✨ Features | 新功能
37
-
38
- * 兼容user-top ([56a04c1](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/56a04c189d4379cc7dd83acae5a3dac05bbe9314))
39
- * 新增 按钮模式 ([e839a01](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/e839a01dd81996dae49a5259940cbfea6d03acca))
40
- * 跳转 wd-backtop 滚动方式 ([2844471](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/28444716c8382777b1c74141a7d08611a304ee18))
41
-
42
-
43
- ### 🚀 Chore | 构建/工程依赖/工具
44
-
45
- * **release:** 0.0.80 ([a7e25d6](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/a7e25d6951502a9023ddf7599c07a3ec3310d9ae))
46
- * **release:** 0.1.16 ([2c69e6f](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/2c69e6f2099187fa852420c52bca155c1b3a9368))
47
- * **release:** 0.1.40 ([f446dab](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/f446daba559dbd89b1a705c71bb06f93264966c4))
48
- * **release:** 0.1.41 ([3702673](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/370267380ff0fad014bd2087063849c9db05e370))
49
-
50
- ### [0.1.16](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.0.79...v0.1.16) (2024-11-27)
51
-
52
-
53
- ### 🐛 Bug Fixes | Bug 修复
54
-
55
- * lcb-list兼容小程序 ([065efe8](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/065efe8f63c6f58581b227df534c954fbc56cc48))
5
+ ### [0.2.2](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.42...v0.2.2) (2024-11-27)
56
6
 
57
7
 
58
8
  ### 🚀 Chore | 构建/工程依赖/工具
59
9
 
60
- * **release:** 0.0.80 ([a7e25d6](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/a7e25d6951502a9023ddf7599c07a3ec3310d9ae))
61
- * **release:** 0.1.40 ([f446dab](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/f446daba559dbd89b1a705c71bb06f93264966c4))
62
- * **release:** 0.1.41 ([3702673](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/370267380ff0fad014bd2087063849c9db05e370))
10
+ * **release:** 0.1.16 ([53b5a85](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/53b5a8587e924c2d12388a21fd475a35013809f2))
63
11
 
64
-
65
- ### ✨ Features | 新功能
66
-
67
- * 兼容user-top ([56a04c1](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/56a04c189d4379cc7dd83acae5a3dac05bbe9314))
68
- * 新增 按钮模式 ([e839a01](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/e839a01dd81996dae49a5259940cbfea6d03acca))
69
- * 跳转 wd-backtop 滚动方式 ([2844471](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/28444716c8382777b1c74141a7d08611a304ee18))
12
+ ### [0.1.16](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.42...v0.1.16) (2024-11-27)
70
13
 
71
14
  ### [0.0.80](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.0.78...v0.0.80) (2024-11-26)
72
15
 
@@ -106,10 +106,6 @@ const onClear = () => {
106
106
  margin-bottom: 12rpx;
107
107
  }
108
108
  }
109
-
110
- .text-light {
111
- color: $-color-theme;
112
- }
113
109
  }
114
110
 
115
111
  .history-tag {
@@ -16,8 +16,8 @@
16
16
  :width="`${styleGroup == 3 ? transformValueUnit(imageSize) : '100%'}`"
17
17
  :src="item.url"
18
18
  :enable-preview="enablePreview"
19
- mode="widthFix"
20
- height="auto"
19
+ :mode="imageHeight ? 'scaleToFill' : 'widthFix'"
20
+ :height="imageHeight ? transformValueUnit(imageHeight) : 'auto'"
21
21
  :custom-class="`${styleGroup == 3 ? 'overflow-hidden' : 'overflow-hidden block'}`"
22
22
  :style="{
23
23
  borderRadius: transformValueUnit(imageRadius),
@@ -92,6 +92,7 @@ const imageProps = computed(() => {
92
92
  marginHorizontal: props.marginHorizontal,
93
93
  enablePreview: props.enablePreview,
94
94
  styleGroup: props.styleGroup,
95
+ imageHeight: props.imageHeight,
95
96
  }
96
97
  })
97
98
 
@@ -12,4 +12,5 @@ export interface LcbImageProps {
12
12
  imageSize?: number
13
13
  floatUp?: number
14
14
  marginBottom?: number
15
+ imageHeight?: number
15
16
  }
@@ -6,7 +6,7 @@
6
6
  title,
7
7
  marginHorizontal: 0,
8
8
  paddingHorizontal: titlePadding,
9
- paddingBottom: 25,
9
+ paddingBottom: titleBottom,
10
10
  fontSize,
11
11
  fontWeight,
12
12
  color,
@@ -111,6 +111,7 @@ withDefaults(defineProps<LcbImgNavProps>(), {
111
111
  titleKey: 'title',
112
112
  itemFlexMode: 'column',
113
113
  itemGap: 24,
114
+ titleBottom: 40,
114
115
  })
115
116
  </script>
116
117
 
@@ -33,6 +33,7 @@ export interface LcbImgNavProps extends LcbBlockProps {
33
33
  textSize?: number
34
34
  urlKey?: string
35
35
  titleKey?: string
36
+ titleBottom?: number
36
37
 
37
38
  itemBgColor?: string
38
39
  itemRadius?: number
@@ -49,7 +49,7 @@
49
49
  <template v-else-if="back">
50
50
  <wd-icon
51
51
  class-prefix="lcb"
52
- :name="isLastPage() ? 'shouye_home-two' : 'zuo_left'"
52
+ :name="isLastPage() ? 'shouye_home' : 'zuo_left'"
53
53
  @click="toBack"
54
54
  :color="contentColor"
55
55
  size="24px"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
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.41"
14
+ "@tplc/wot": "0.1.42"
15
15
  },
16
16
  "engines": {
17
17
  "node": ">=18",
@@ -10,4 +10,5 @@ export interface LcbImageProps {
10
10
  imageSize?: number
11
11
  floatUp?: number
12
12
  marginBottom?: number
13
+ imageHeight?: number
13
14
  }
@@ -16,6 +16,7 @@ declare const _default: import('vue').DefineComponent<
16
16
  titleKey: string
17
17
  itemFlexMode: string
18
18
  itemGap: number
19
+ titleBottom: number
19
20
  }
20
21
  >,
21
22
  {},
@@ -47,6 +48,7 @@ declare const _default: import('vue').DefineComponent<
47
48
  titleKey: string
48
49
  itemFlexMode: string
49
50
  itemGap: number
51
+ titleBottom: number
50
52
  }
51
53
  >
52
54
  >
@@ -65,6 +67,7 @@ declare const _default: import('vue').DefineComponent<
65
67
  textSize: number
66
68
  urlKey: string
67
69
  titleKey: string
70
+ titleBottom: number
68
71
  itemGap: number
69
72
  itemFlexMode: 'row' | 'column'
70
73
  },
@@ -30,6 +30,7 @@ export interface LcbImgNavProps extends LcbBlockProps {
30
30
  textSize?: number
31
31
  urlKey?: string
32
32
  titleKey?: string
33
+ titleBottom?: number
33
34
  itemBgColor?: string
34
35
  itemRadius?: number
35
36
  itemVerticalPadding?: number
@@ -24,10 +24,10 @@ declare const __VLS_component: import('vue').DefineComponent<
24
24
  imageRadius: number
25
25
  items: Record<string, any>[]
26
26
  imageWidth: number
27
+ imageHeight: number
27
28
  listType: 'list' | 'horizontal' | 'grid' | 'waterfall'
28
29
  imageWidthPercent: number
29
30
  imageHeightPercent: number
30
- imageHeight: number
31
31
  itemHeight: number
32
32
  },
33
33
  {}