@tplc/business 0.3.80 → 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 CHANGED
@@ -2,6 +2,20 @@
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
+
5
19
  ### [0.3.80](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.3.78...v0.3.80) (2025-03-12)
6
20
 
7
21
 
@@ -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: `0 ${transformValueUnit(numsPadLR || 0)}`,
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.3.80",
3
+ "version": "0.3.81",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],
@@ -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
  }