@tplc/business 0.3.79 → 0.3.81
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 +28 -0
- package/components/lcb-fab/lcb-fab.vue +6 -2
- package/components/lcb-fab/types.ts +2 -0
- package/components/lcb-user-top/Nums/index.vue +1 -1
- package/components/lcb-user-top/lcb-user-top.vue +15 -6
- package/components/lcb-user-top/types.ts +11 -0
- package/package.json +1 -1
- package/types/components/lcb-fab/types.d.ts +2 -0
- package/types/components/lcb-user-top/lcb-user-top.vue.d.ts +15 -0
- package/types/components/lcb-user-top/types.d.ts +10 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,34 @@
|
|
|
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.81](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.3.79...v0.3.81) (2025-03-13)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### 🚀 Chore | 构建/工程依赖/工具
|
|
9
|
+
|
|
10
|
+
* **release:** 0.3.80 ([89ab989](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/89ab9898a722b8c131459299af898198213889c9))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### ✨ Features | 新功能
|
|
14
|
+
|
|
15
|
+
* title 新增logo ([ae2f22e](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/ae2f22eec1fbbe91f4f7e7d3d4953581b64cdc6c))
|
|
16
|
+
* 新增fab ([2cea98b](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/2cea98b0049aacb674019dd35a49f2a5049f3d2d))
|
|
17
|
+
* 新增数据 ([29d0146](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/29d0146c82a3fa01f2268c1084804c74f92399fd))
|
|
18
|
+
|
|
19
|
+
### [0.3.80](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.3.78...v0.3.80) (2025-03-12)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### 🚀 Chore | 构建/工程依赖/工具
|
|
23
|
+
|
|
24
|
+
* **release:** 0.3.79 ([f9f123b](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/f9f123b0f2a9947508046d1e74e463eadb3a6a25))
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### ✨ Features | 新功能
|
|
28
|
+
|
|
29
|
+
* title 新增logo ([ae2f22e](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/ae2f22eec1fbbe91f4f7e7d3d4953581b64cdc6c))
|
|
30
|
+
* 支持沉浸式文字 ([6f138c0](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/6f138c048cf28f6827307b95bf98175c2bc497ad))
|
|
31
|
+
* 新增数据 ([29d0146](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/29d0146c82a3fa01f2268c1084804c74f92399fd))
|
|
32
|
+
|
|
5
33
|
### [0.3.79](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.66...v0.3.79) (2025-03-12)
|
|
6
34
|
|
|
7
35
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<lcb-action-view
|
|
3
3
|
v-bind="$props.link"
|
|
4
|
-
custom-class="
|
|
4
|
+
:custom-class="`!fixed !z-2 flex items-center overflow-hidden !text-center justify-center flex-col box-border ${shadow ? 'shadow' : ''} break-after-all`"
|
|
5
5
|
:customStyle="customStyle"
|
|
6
6
|
>
|
|
7
7
|
<wd-icon
|
|
@@ -34,6 +34,7 @@ const customStyle = computed(() => {
|
|
|
34
34
|
bottom,
|
|
35
35
|
link,
|
|
36
36
|
width,
|
|
37
|
+
height,
|
|
37
38
|
borderRadius,
|
|
38
39
|
backgroundColor,
|
|
39
40
|
backgroundImage,
|
|
@@ -49,9 +50,12 @@ const customStyle = computed(() => {
|
|
|
49
50
|
borderRadius: transformValueUnit(borderRadius),
|
|
50
51
|
backgroundColor,
|
|
51
52
|
backgroundImage: `url(${backgroundImage})`,
|
|
52
|
-
height: transformValueUnit(
|
|
53
|
+
height: transformValueUnit(height),
|
|
53
54
|
fontSize: transformValueUnit(fontSize),
|
|
55
|
+
shadow: true,
|
|
54
56
|
padding: `0 ${transformValueUnit(padding)}`,
|
|
57
|
+
backgroundSize: '100% 100%',
|
|
58
|
+
backgroundRepeat: 'no-repeat',
|
|
55
59
|
}
|
|
56
60
|
})
|
|
57
61
|
</script>
|
|
@@ -6,6 +6,7 @@ export interface LcbFabProps {
|
|
|
6
6
|
backgroundColor?: string
|
|
7
7
|
backgroundImage?: string
|
|
8
8
|
width: number
|
|
9
|
+
height: number
|
|
9
10
|
borderRadius: number
|
|
10
11
|
text?: string
|
|
11
12
|
padding?: number
|
|
@@ -15,4 +16,5 @@ export interface LcbFabProps {
|
|
|
15
16
|
type?: 'icon' | 'text'
|
|
16
17
|
icon?: string
|
|
17
18
|
link?: LcbActionViewProps
|
|
19
|
+
shadow?: boolean
|
|
18
20
|
}
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
{{ (basicInfo?.[valueKey] || 0).toLocaleString() }}
|
|
11
11
|
</view>
|
|
12
12
|
<view
|
|
13
|
-
class="mt-15rpx"
|
|
14
13
|
:style="{
|
|
15
14
|
fontSize: transformValueUnit(titleSize),
|
|
16
15
|
color: titleColor,
|
|
16
|
+
marginTop: transformValueUnit(titleMarginTop),
|
|
17
17
|
}"
|
|
18
18
|
>
|
|
19
19
|
{{ title }}
|
|
@@ -77,38 +77,42 @@
|
|
|
77
77
|
</view>
|
|
78
78
|
<view
|
|
79
79
|
v-if="valuesCard == true || coupons == true || presales == true || memberPoints == true"
|
|
80
|
-
class="flex flex-justify-between text-center"
|
|
80
|
+
class="flex flex-justify-between text-center bg-no-repeat"
|
|
81
81
|
:style="{
|
|
82
82
|
color: textColor,
|
|
83
83
|
marginTop: transformValueUnit(numsMarginTop),
|
|
84
|
-
padding:
|
|
84
|
+
padding: `${transformValueUnit(numsPadTB || 0)} ${transformValueUnit(numsPadLR || 0)}`,
|
|
85
|
+
backgroundImage: numsBackgroundImage ? `url(${numsBackgroundImage})` : '',
|
|
86
|
+
borderRadius: transformValueUnit(numsBorderRadius || 0),
|
|
87
|
+
backgroundSize: '100% 100%',
|
|
88
|
+
backgroundColor: numsBackgroundColor,
|
|
85
89
|
}"
|
|
86
90
|
>
|
|
87
91
|
<Nums
|
|
88
92
|
v-if="valuesCard == true"
|
|
89
93
|
v-bind="$props"
|
|
90
|
-
title="
|
|
94
|
+
:title="valuesCardText"
|
|
91
95
|
valueKey="walletAmount"
|
|
92
96
|
@click="navigateTo('/pages-sub/walletAccount/index')"
|
|
93
97
|
/>
|
|
94
98
|
<Nums
|
|
95
99
|
v-if="coupons == true"
|
|
96
100
|
v-bind="$props"
|
|
97
|
-
title="
|
|
101
|
+
:title="couponsText"
|
|
98
102
|
valueKey="voucherCount"
|
|
99
103
|
@click="navigateTo('/pages-sub/mine/coupon')"
|
|
100
104
|
/>
|
|
101
105
|
<Nums
|
|
102
106
|
v-if="presales == true"
|
|
103
107
|
v-bind="$props"
|
|
104
|
-
title="
|
|
108
|
+
:title="presalesText"
|
|
105
109
|
valueKey="voucherCount"
|
|
106
110
|
@click="navigateTo('/pages-sub/mine/advanceTicket')"
|
|
107
111
|
/>
|
|
108
112
|
<Nums
|
|
109
113
|
v-if="memberPoints == true"
|
|
110
114
|
v-bind="$props"
|
|
111
|
-
title="
|
|
115
|
+
:title="memberPointsText"
|
|
112
116
|
valueKey="usePoint"
|
|
113
117
|
@click="navigateTo('/pages-sub/vip/points')"
|
|
114
118
|
/>
|
|
@@ -149,6 +153,11 @@ withDefaults(defineProps<LcbUserTopProps>(), {
|
|
|
149
153
|
editText: '编辑资料',
|
|
150
154
|
editSize: 28,
|
|
151
155
|
rightIconSize: 28,
|
|
156
|
+
valuesCardText: '储值卡',
|
|
157
|
+
couponsText: '优惠券',
|
|
158
|
+
presalesText: '预售券',
|
|
159
|
+
memberPointsText: '会员积分',
|
|
160
|
+
titleMarginTop: 15,
|
|
152
161
|
})
|
|
153
162
|
const padTop = computed(() => {
|
|
154
163
|
return addUnit(statusBarHeight || 0)
|
|
@@ -28,6 +28,16 @@ export interface LcbUserTopProps extends LcbBlockProps {
|
|
|
28
28
|
numsPadLR?: number
|
|
29
29
|
rightIconSize?: number
|
|
30
30
|
rightIconLink?: LcbActionViewProps
|
|
31
|
+
|
|
32
|
+
numsBackgroundImage?: string
|
|
33
|
+
numsBorderRadius?: number
|
|
34
|
+
numsPadTB?: number
|
|
35
|
+
numsBackgroundColor?: string
|
|
36
|
+
valuesCardText?: string
|
|
37
|
+
couponsText?: string
|
|
38
|
+
presalesText?: string
|
|
39
|
+
memberPointsText?: string
|
|
40
|
+
titleMarginTop?: number
|
|
31
41
|
}
|
|
32
42
|
|
|
33
43
|
export interface NumsItemProps {
|
|
@@ -38,4 +48,5 @@ export interface NumsItemProps {
|
|
|
38
48
|
value?: number
|
|
39
49
|
title?: string
|
|
40
50
|
valueKey: string
|
|
51
|
+
titleMarginTop?: number
|
|
41
52
|
}
|
package/package.json
CHANGED
|
@@ -5,6 +5,7 @@ export interface LcbFabProps {
|
|
|
5
5
|
backgroundColor?: string
|
|
6
6
|
backgroundImage?: string
|
|
7
7
|
width: number
|
|
8
|
+
height: number
|
|
8
9
|
borderRadius: number
|
|
9
10
|
text?: string
|
|
10
11
|
padding?: number
|
|
@@ -14,4 +15,5 @@ export interface LcbFabProps {
|
|
|
14
15
|
type?: 'icon' | 'text'
|
|
15
16
|
icon?: string
|
|
16
17
|
link?: LcbActionViewProps
|
|
18
|
+
shadow?: boolean
|
|
17
19
|
}
|
|
@@ -17,6 +17,11 @@ declare const _default: import('vue').DefineComponent<
|
|
|
17
17
|
editText: string
|
|
18
18
|
editSize: number
|
|
19
19
|
rightIconSize: number
|
|
20
|
+
valuesCardText: string
|
|
21
|
+
couponsText: string
|
|
22
|
+
presalesText: string
|
|
23
|
+
memberPointsText: string
|
|
24
|
+
titleMarginTop: number
|
|
20
25
|
}
|
|
21
26
|
>,
|
|
22
27
|
{},
|
|
@@ -47,6 +52,11 @@ declare const _default: import('vue').DefineComponent<
|
|
|
47
52
|
editText: string
|
|
48
53
|
editSize: number
|
|
49
54
|
rightIconSize: number
|
|
55
|
+
valuesCardText: string
|
|
56
|
+
couponsText: string
|
|
57
|
+
presalesText: string
|
|
58
|
+
memberPointsText: string
|
|
59
|
+
titleMarginTop: number
|
|
50
60
|
}
|
|
51
61
|
>
|
|
52
62
|
>
|
|
@@ -62,10 +72,15 @@ declare const _default: import('vue').DefineComponent<
|
|
|
62
72
|
textSize: number
|
|
63
73
|
photoRound: boolean
|
|
64
74
|
photoSize: number
|
|
75
|
+
titleMarginTop: number
|
|
65
76
|
moreIcon: boolean
|
|
66
77
|
editText: string
|
|
67
78
|
editSize: number
|
|
68
79
|
rightIconSize: number
|
|
80
|
+
valuesCardText: string
|
|
81
|
+
couponsText: string
|
|
82
|
+
presalesText: string
|
|
83
|
+
memberPointsText: string
|
|
69
84
|
},
|
|
70
85
|
{}
|
|
71
86
|
>
|
|
@@ -26,6 +26,15 @@ export interface LcbUserTopProps extends LcbBlockProps {
|
|
|
26
26
|
numsPadLR?: number
|
|
27
27
|
rightIconSize?: number
|
|
28
28
|
rightIconLink?: LcbActionViewProps
|
|
29
|
+
numsBackgroundImage?: string
|
|
30
|
+
numsBorderRadius?: number
|
|
31
|
+
numsPadTB?: number
|
|
32
|
+
numsBackgroundColor?: string
|
|
33
|
+
valuesCardText?: string
|
|
34
|
+
couponsText?: string
|
|
35
|
+
presalesText?: string
|
|
36
|
+
memberPointsText?: string
|
|
37
|
+
titleMarginTop?: number
|
|
29
38
|
}
|
|
30
39
|
export interface NumsItemProps {
|
|
31
40
|
numsSize?: number
|
|
@@ -35,4 +44,5 @@ export interface NumsItemProps {
|
|
|
35
44
|
value?: number
|
|
36
45
|
title?: string
|
|
37
46
|
valueKey: string
|
|
47
|
+
titleMarginTop?: number
|
|
38
48
|
}
|