@tplc/business 0.4.123 → 0.4.124

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,13 @@
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.4.124](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.123...v0.4.124) (2025-06-08)
6
+
7
+
8
+ ### ✨ Features | 新功能
9
+
10
+ * update version ([895d74e](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/895d74e5abe6984c633071c320051883e0f9da06))
11
+
5
12
  ### [0.4.123](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.122...v0.4.123) (2025-06-08)
6
13
 
7
14
 
@@ -215,6 +215,7 @@ const blockProps = computed(() => {
215
215
  <lcb-product-item
216
216
  v-else
217
217
  v-bind="{ ...item, ...$props, ...attrs }"
218
+ :isLast="index === renderList.length - 1"
218
219
  :layoutType="layoutType"
219
220
  :coverImgStyle="{
220
221
  width: layoutType === 'vertical' ? '100%' : transformValueUnit(imageWidth),
@@ -96,9 +96,11 @@ defineSlots<{
96
96
 
97
97
  const borderStyle = computed(() => {
98
98
  return {
99
- borderWidth: transformValueUnit(props.borderWidth),
100
- borderColor: props.borderColor,
99
+ borderWidth: '0rpx',
100
+ borderBottomWidth: transformValueUnit(props.borderWidth),
101
+ borderBottomColor: props.borderColor,
101
102
  borderStyle: 'solid',
103
+ paddingBottom: props.borderWidth ? '12rpx' : 0,
102
104
  }
103
105
  })
104
106
  const itemStyle = computed(() => {
@@ -108,7 +110,11 @@ const itemStyle = computed(() => {
108
110
  props.shadowColor && props.shadowSize
109
111
  ? `0px 0px ${props.blurSize}px ${props.shadowSize}px ${props.shadowColor}`
110
112
  : '',
111
- ...(props.borderMode === 'full' ? borderStyle.value : {}),
113
+ // 只有list类型才需要border
114
+ ...(props.borderMode === 'full' && attrs.listType === 'list' && !attrs.isLast
115
+ ? borderStyle.value
116
+ : {}),
117
+ padding: '24rpx',
112
118
  }
113
119
  })
114
120
  </script>
@@ -118,7 +124,7 @@ const itemStyle = computed(() => {
118
124
  <view
119
125
  v-if="layoutType === 'horizontal'"
120
126
  :class="className"
121
- class="flex flex-col gap-1 px-2 py-3 bg-white relative overflow-clip"
127
+ class="flex flex-col gap-1 px-2 bg-white relative overflow-clip"
122
128
  :style="itemStyle"
123
129
  >
124
130
  <slot name="itemSection" />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.4.123",
3
+ "version": "0.4.124",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],