@tplc/business 0.2.88 → 0.2.89

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.2.89](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.2.88...v0.2.89) (2025-01-12)
6
+
7
+
8
+ ### ✨ Features | 新功能
9
+
10
+ * 调整product 阴影 ([4b02637](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/4b02637fa0eb9dea727164c79da336d1562f29d3))
11
+
5
12
  ### [0.2.88](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.2.87...v0.2.88) (2025-01-12)
6
13
 
7
14
  ### [0.2.87](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.2.86...v0.2.87) (2025-01-12)
@@ -94,7 +94,10 @@ defineExpose({
94
94
  </script>
95
95
 
96
96
  <template>
97
- <lcb-block v-bind="$props">
97
+ <lcb-block
98
+ v-bind="$props"
99
+ :custom-class="`${listType == 'horizontal' ? 'h-fit overflow-x-auto whitespace-nowrap flex items-stretch w-full' : ''}`"
100
+ >
98
101
  <!-- 单列 -->
99
102
  <view class="flex flex-col gap-2" v-if="listType === 'list'">
100
103
  <lcb-action-view
@@ -161,7 +164,7 @@ defineExpose({
161
164
  </lcb-action-view>
162
165
  </view>
163
166
 
164
- <view class="lcb-product-waterfall p-0.5" v-else-if="listType === 'waterfall'">
167
+ <view class="lcb-product-waterfall p-0.5 !py-1" v-else-if="listType === 'waterfall'">
165
168
  <u-waterfall :addTime="0" :modelValue="renderList" ref="uWaterfallRef">
166
169
  <template #left="{ leftList: list }">
167
170
  <view class="flex flex-col gap-3">
@@ -253,14 +256,11 @@ defineExpose({
253
256
  </u-waterfall>
254
257
  </view>
255
258
 
256
- <view
257
- class="whitespace-nowrap flex items-stretch w-full overflow-x-auto p-0.5"
258
- v-else-if="listType == 'horizontal'"
259
- >
259
+ <template v-else-if="listType == 'horizontal'">
260
260
  <lcb-action-view
261
261
  v-for="(item, index) in renderList"
262
262
  :key="`${item?.productId}:${index}`"
263
- custom-class="inline-block flex-shrink-0 w-fit !h-auto"
263
+ custom-class="flex-shrink-0 w-fit !h-auto"
264
264
  v-bind="item.link"
265
265
  >
266
266
  <view
@@ -295,7 +295,7 @@ defineExpose({
295
295
  </slot>
296
296
  </view>
297
297
  </lcb-action-view>
298
- </view>
298
+ </template>
299
299
  </lcb-block>
300
300
  </template>
301
301
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.2.88",
3
+ "version": "0.2.89",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],