@tplc/business 0.4.167 → 0.4.168

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,8 @@
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.168](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.94...v0.4.168) (2025-07-25)
6
+
5
7
  ### [0.4.167](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.96...v0.4.167) (2025-07-23)
6
8
 
7
9
 
@@ -1,6 +1,6 @@
1
1
  <template>
2
- <view class="lcb-banner">
3
- <lcb-block v-bind="$props" custom-class="overflow-visible">
2
+ <view class="lcb-banner" :class="{ 'full-screen-background': fullScreenBackground }">
3
+ <lcb-block v-bind="$props" custom-class="overflow-visible lcb-banner-block">
4
4
  <wd-swiper
5
5
  value-key="url"
6
6
  action
@@ -8,7 +8,7 @@
8
8
  v-bind="{
9
9
  list: items,
10
10
  loop,
11
- height: transformValueUnit(height),
11
+ height: fullScreenBackground ? '100%' : transformValueUnit(height),
12
12
  imgWidth: imgWidth && transformValueUnit(imgWidth),
13
13
  radius: transformValueUnit(radius),
14
14
  autoplay: Boolean(interval),
@@ -21,6 +21,7 @@
21
21
  indicator: indicator ? { type: indicator } : false,
22
22
  indicatorCustomStyle,
23
23
  customStyle,
24
+ maskBgColor,
24
25
  ...supplementProps,
25
26
  }"
26
27
  />
@@ -73,4 +74,20 @@ const customStyle = computed(() => {
73
74
  box-shadow: 0px 4rpx 10rpx 0px rgba(51, 51, 51, 0.1);
74
75
  }
75
76
  }
77
+ .full-screen-background {
78
+ width: 100%;
79
+ height: 100%;
80
+ z-index: 0;
81
+ position: absolute;
82
+ top: 0;
83
+ left: 0;
84
+ .lcb-banner-block {
85
+ width: 100%;
86
+ height: 100%;
87
+ }
88
+ :deep(.wd-swiper, uni-swiper, .uni-swiper-wrapper, .uni-swiper-wrapper) {
89
+ width: 100% !important;
90
+ height: 100% !important;
91
+ }
92
+ }
76
93
  </style>
@@ -50,4 +50,6 @@ export interface LcbBannerProps extends LcbBlockProps {
50
50
  indicator?: 'dots' | 'dots-bar' | 'fraction'
51
51
  /** 滑动样式 1平面 2立体 */
52
52
  slidingStyle?: 1 | 2
53
+ maskBgColor?: string
54
+ fullScreenBackground?: boolean
53
55
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.4.167",
3
+ "version": "0.4.168",
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.92"
14
+ "@tplc/wot": "0.1.94"
15
15
  },
16
16
  "engines": {
17
17
  "node": ">=18",
@@ -47,4 +47,6 @@ export interface LcbBannerProps extends LcbBlockProps {
47
47
  indicator?: 'dots' | 'dots-bar' | 'fraction'
48
48
  /** 滑动样式 1平面 2立体 */
49
49
  slidingStyle?: 1 | 2
50
+ maskBgColor?: string
51
+ fullScreenBackground?: boolean
50
52
  }