@tplc/business 0.0.30 → 0.0.32
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 +15 -0
- package/components/lcb-block/lcb-block.vue +1 -0
- package/components/lcb-block/types.ts +1 -0
- package/components/lcb-img-nav/lcb-img-nav.vue +2 -2
- package/components/lcb-nav/lcb-nav.vue +6 -14
- package/components/lcb-notice/lcb-notice.vue +1 -7
- package/components/lcb-user-top/lcb-user-top.vue +1 -3
- package/components/lcb-user-top/types.ts +3 -5
- package/package.json +2 -2
- package/types/components/lcb-block/types.d.ts +1 -0
- package/types/components/lcb-notice/lcb-notice.vue.d.ts +1 -1
- package/types/components/lcb-user-top/lcb-user-top.vue.d.ts +2 -0
- package/types/components/lcb-user-top/types.d.ts +2 -4
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,21 @@
|
|
|
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.0.32](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.0.31...v0.0.32) (2024-10-20)
|
|
6
|
+
|
|
7
|
+
### [0.0.31](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.16...v0.0.31) (2024-10-20)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### ✨ Features | 新功能
|
|
11
|
+
|
|
12
|
+
* 修改notice ([970856d](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/970856d68bc5e7f8fe6752d8ea631797b66faef2))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### 🐛 Bug Fixes | Bug 修复
|
|
16
|
+
|
|
17
|
+
* nav 兼容小程序 ([d08552a](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/d08552a051edbecde98bc2c237450edda3afc6a3))
|
|
18
|
+
* 格式化代码 ([8a3a3dd](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/8a3a3dd3750edc645288e59526eb83fa8ef96f70))
|
|
19
|
+
|
|
5
20
|
### [0.0.30](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.15...v0.0.30) (2024-10-19)
|
|
6
21
|
|
|
7
22
|
### [0.0.29](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.14...v0.0.29) (2024-10-19)
|
|
@@ -30,6 +30,7 @@ export interface LcbBlockProps {
|
|
|
30
30
|
backgroundRepeat?: 'repeat' | 'repeat-x' | 'repeat-y' | 'no-repeat'
|
|
31
31
|
backgroundSize?: string
|
|
32
32
|
backgroundPosition?: string
|
|
33
|
+
borderColor?: string
|
|
33
34
|
}
|
|
34
35
|
export interface LcbBlockInnerProps extends LcbBlockProps {
|
|
35
36
|
[key: string]: any
|
|
@@ -106,10 +106,10 @@ withDefaults(defineProps<LcbImgNavProps>(), {
|
|
|
106
106
|
display: flex;
|
|
107
107
|
flex-direction: column;
|
|
108
108
|
gap: 40rpx;
|
|
109
|
-
.item {
|
|
109
|
+
:deep(.item) {
|
|
110
110
|
flex-direction: row;
|
|
111
111
|
}
|
|
112
|
-
.title {
|
|
112
|
+
:deep(.title) {
|
|
113
113
|
flex: 1;
|
|
114
114
|
text-align: start;
|
|
115
115
|
margin-left: 24rpx;
|
|
@@ -5,12 +5,14 @@
|
|
|
5
5
|
immersiveTop: topStyle === 2,
|
|
6
6
|
fixed,
|
|
7
7
|
}"
|
|
8
|
+
:style="{
|
|
9
|
+
paddingTop,
|
|
10
|
+
}"
|
|
8
11
|
>
|
|
9
12
|
<view
|
|
10
13
|
class="navbar-header"
|
|
11
14
|
:style="{
|
|
12
15
|
color: contentColor,
|
|
13
|
-
paddingTop,
|
|
14
16
|
}"
|
|
15
17
|
>
|
|
16
18
|
<view
|
|
@@ -22,12 +24,7 @@
|
|
|
22
24
|
}"
|
|
23
25
|
/>
|
|
24
26
|
<!-- 左边布局 -->
|
|
25
|
-
<view
|
|
26
|
-
class="navbar-left z-1"
|
|
27
|
-
:style="{
|
|
28
|
-
paddingTop,
|
|
29
|
-
}"
|
|
30
|
-
>
|
|
27
|
+
<view class="navbar-left z-1">
|
|
31
28
|
<!-- 返回按钮 -->
|
|
32
29
|
<view
|
|
33
30
|
v-if="styleGroup === 3 && capsuleList.length"
|
|
@@ -65,12 +62,7 @@
|
|
|
65
62
|
</view>
|
|
66
63
|
</view>
|
|
67
64
|
<!-- 中间布局 -->
|
|
68
|
-
<view
|
|
69
|
-
class="navbar-center"
|
|
70
|
-
:style="{
|
|
71
|
-
paddingTop,
|
|
72
|
-
}"
|
|
73
|
-
>
|
|
65
|
+
<view class="navbar-center">
|
|
74
66
|
<Search v-if="styleGroup === 2 && titleLocation === 'center'" :back="back" />
|
|
75
67
|
<Title v-bind="titleProps" v-else-if="styleGroup === 2 || titleLocation === 'center'" />
|
|
76
68
|
</view>
|
|
@@ -226,7 +218,7 @@ const toBack = () => {
|
|
|
226
218
|
position: absolute;
|
|
227
219
|
left: 0px;
|
|
228
220
|
width: 100%;
|
|
229
|
-
height:
|
|
221
|
+
height: 44px;
|
|
230
222
|
background-repeat: no-repeat;
|
|
231
223
|
background-position: 50%;
|
|
232
224
|
background-position-x: 50%;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ActionView } from 'action'
|
|
2
|
+
import { LcbBlockProps } from '.././/lcb-block/types'
|
|
2
3
|
|
|
3
|
-
export interface LcbUserTopProps {
|
|
4
|
+
export interface LcbUserTopProps extends LcbBlockProps {
|
|
4
5
|
// // items?: Partial<ActionView>[]
|
|
5
6
|
// // imageWidth?: number
|
|
6
7
|
// autoplay?: boolean
|
|
@@ -44,9 +45,6 @@ export interface LcbUserTopProps {
|
|
|
44
45
|
// /** 滑动样式 1平面 2立体 */
|
|
45
46
|
// slidingStyle?: 1 | 2
|
|
46
47
|
|
|
47
|
-
paddingTop?: number
|
|
48
|
-
paddingBottom?: number
|
|
49
|
-
paddingHorizontal?: number
|
|
50
48
|
// paddingRight?: number
|
|
51
49
|
photoUrl?: string
|
|
52
50
|
photoRound?: boolean
|
|
@@ -83,4 +81,4 @@ export interface NumsItemProps {
|
|
|
83
81
|
titleColor?: string
|
|
84
82
|
value?: number
|
|
85
83
|
title?: string
|
|
86
|
-
}
|
|
84
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tplc/business",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.32",
|
|
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.
|
|
14
|
+
"@tplc/wot": "0.1.16"
|
|
15
15
|
},
|
|
16
16
|
"engines": {
|
|
17
17
|
"node": ">=18",
|
|
@@ -28,6 +28,7 @@ export interface LcbBlockProps {
|
|
|
28
28
|
backgroundRepeat?: 'repeat' | 'repeat-x' | 'repeat-y' | 'no-repeat'
|
|
29
29
|
backgroundSize?: string
|
|
30
30
|
backgroundPosition?: string
|
|
31
|
+
borderColor?: string
|
|
31
32
|
}
|
|
32
33
|
export interface LcbBlockInnerProps extends LcbBlockProps {
|
|
33
34
|
[key: string]: any
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
paddingBottom?: number
|
|
4
|
-
paddingHorizontal?: number
|
|
1
|
+
import { LcbBlockProps } from '.././/lcb-block/types'
|
|
2
|
+
export interface LcbUserTopProps extends LcbBlockProps {
|
|
5
3
|
photoUrl?: string
|
|
6
4
|
photoRound?: boolean
|
|
7
5
|
photoSize?: number
|