@tplc/business 0.3.75 → 0.3.76
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 +2 -0
- package/components/lcb-banner/lcb-banner.vue +10 -1
- package/components/lcb-banner/types.ts +3 -0
- package/components/lcb-user-top/lcb-user-top.vue +1 -8
- package/components/lcb-user-top/types.ts +0 -1
- package/package.json +1 -1
- package/types/components/lcb-banner/types.d.ts +3 -0
- package/types/components/lcb-user-top/lcb-user-top.vue.d.ts +0 -3
- package/types/components/lcb-user-top/types.d.ts +0 -1
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.3.76](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.3.75...v0.3.76) (2025-03-10)
|
|
6
|
+
|
|
5
7
|
### [0.3.75](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.3.73...v0.3.75) (2025-03-10)
|
|
6
8
|
|
|
7
9
|
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<view class="lcb-banner">
|
|
3
|
-
<lcb-block v-bind="$props">
|
|
3
|
+
<lcb-block v-bind="$props" custom-class="overflow-visible">
|
|
4
4
|
<wd-swiper
|
|
5
5
|
value-key="url"
|
|
6
6
|
action
|
|
7
|
+
custom-indicator-class="custom-indicator-class"
|
|
7
8
|
v-bind="{
|
|
8
9
|
list: items,
|
|
9
10
|
loop,
|
|
@@ -18,6 +19,8 @@
|
|
|
18
19
|
customNextImageClass,
|
|
19
20
|
interval,
|
|
20
21
|
indicator: indicator ? { type: indicator } : false,
|
|
22
|
+
indicatorCustomStyle,
|
|
23
|
+
customStyle,
|
|
21
24
|
...supplementProps,
|
|
22
25
|
}"
|
|
23
26
|
/>
|
|
@@ -57,6 +60,12 @@ const supplementProps = computed(() => {
|
|
|
57
60
|
}
|
|
58
61
|
return {}
|
|
59
62
|
})
|
|
63
|
+
const indicatorCustomStyle = computed(() => {
|
|
64
|
+
return props.indicatorBottom ? `bottom: ${transformValueUnit(props.indicatorBottom)}` : ''
|
|
65
|
+
})
|
|
66
|
+
const customStyle = computed(() => {
|
|
67
|
+
return props.paddingBottom ? `padding-bottom: ${transformValueUnit(props.paddingBottom)}` : ''
|
|
68
|
+
})
|
|
60
69
|
</script>
|
|
61
70
|
<style lang="scss" scoped>
|
|
62
71
|
.lcb-banner {
|
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<lcb-block
|
|
3
|
-
v-bind="{
|
|
4
|
-
...$props,
|
|
5
|
-
backgroundColor: bgStyle === 1 ? backgroundColor : '',
|
|
6
|
-
backgroundImage: bgStyle === 2 ? backgroundImage : '',
|
|
7
|
-
}"
|
|
8
|
-
>
|
|
2
|
+
<lcb-block v-bind="$props">
|
|
9
3
|
<view
|
|
10
4
|
class="anyTopGap"
|
|
11
5
|
:style="{
|
|
@@ -155,7 +149,6 @@ withDefaults(defineProps<LcbUserTopProps>(), {
|
|
|
155
149
|
editText: '编辑资料',
|
|
156
150
|
editSize: 28,
|
|
157
151
|
rightIconSize: 28,
|
|
158
|
-
bgStyle: 1,
|
|
159
152
|
})
|
|
160
153
|
const padTop = computed(() => {
|
|
161
154
|
return addUnit(statusBarHeight || 0)
|
package/package.json
CHANGED
|
@@ -17,7 +17,6 @@ declare const _default: import('vue').DefineComponent<
|
|
|
17
17
|
editText: string
|
|
18
18
|
editSize: number
|
|
19
19
|
rightIconSize: number
|
|
20
|
-
bgStyle: number
|
|
21
20
|
}
|
|
22
21
|
>,
|
|
23
22
|
{},
|
|
@@ -48,7 +47,6 @@ declare const _default: import('vue').DefineComponent<
|
|
|
48
47
|
editText: string
|
|
49
48
|
editSize: number
|
|
50
49
|
rightIconSize: number
|
|
51
|
-
bgStyle: number
|
|
52
50
|
}
|
|
53
51
|
>
|
|
54
52
|
>
|
|
@@ -64,7 +62,6 @@ declare const _default: import('vue').DefineComponent<
|
|
|
64
62
|
textSize: number
|
|
65
63
|
photoRound: boolean
|
|
66
64
|
photoSize: number
|
|
67
|
-
bgStyle: 1 | 2
|
|
68
65
|
moreIcon: boolean
|
|
69
66
|
editText: string
|
|
70
67
|
editSize: number
|