@tplc/business 0.4.134 → 0.4.136
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-list/components/SelectTagView/index.vue +1 -1
- package/components/lcb-room-calendar/lcb-room-calendar.vue +32 -0
- package/components/lcb-room-calendar/types.ts +7 -0
- package/components/lcb-vip/lcb-vip.vue +21 -24
- package/components/lcb-vip/types.ts +2 -0
- package/global.d.ts +2 -1
- package/package.json +2 -2
- package/types/components/lcb-room-calendar/lcb-room-calendar.vue.d.ts +56 -0
- package/types/components/lcb-room-calendar/types.d.ts +6 -0
- package/types/components/lcb-vip/types.d.ts +2 -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.4.136](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.135...v0.4.136) (2025-06-23)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### ✨ Features | 新功能
|
|
9
|
+
|
|
10
|
+
* link url ([4209b9a](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/4209b9aa86d739338259fc57013d22f527468d7a))
|
|
11
|
+
|
|
12
|
+
### [0.4.135](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.132...v0.4.135) (2025-06-23)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### 🚀 Chore | 构建/工程依赖/工具
|
|
16
|
+
|
|
17
|
+
* **release:** 0.1.85 ([8f86827](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/8f8682734ad495770d03285e994378ad74ef3832))
|
|
18
|
+
* **release:** 0.1.86 ([30e6d1d](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/30e6d1d9fde0c8f6ead5112384046a3c9757f563))
|
|
19
|
+
* **release:** 0.1.87 ([610e7c5](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/610e7c59b19811286f45e076b0e63206264b3254))
|
|
20
|
+
* **release:** 0.4.133 ([79dd687](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/79dd68745f0c1cf4c2ef48782827bc5bf047f275))
|
|
21
|
+
* **release:** 0.4.134 ([0562a3d](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/0562a3d29bc0884488f8d7f9769201ac5a810cda))
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### ✨ Features | 新功能
|
|
25
|
+
|
|
26
|
+
* 修改tabs ([d6943cb](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/d6943cbd0ed0c94875de9cc218070e24f917b5ac))
|
|
27
|
+
* 修改数据 ([5f5f47c](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/5f5f47ce24c7341992ea839bd4725bd64b0adf2a))
|
|
28
|
+
* 变更字段 ([7080453](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/7080453dfa884fc4d66d75309d9bcc7f9bfaa2ab))
|
|
29
|
+
* 支持自动调整 ([03aa0f9](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/03aa0f9f4d7c151776f6372c520f75aa36e76a6a))
|
|
30
|
+
* 新增新属性 ([cd8221b](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/cd8221b9038f8384eeababa3fd0190b77bea6fa0))
|
|
31
|
+
* 新增有 ([6518110](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/6518110c12f29389272461464bb8842c050d0e59))
|
|
32
|
+
|
|
5
33
|
### [0.4.134](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.133...v0.4.134) (2025-06-21)
|
|
6
34
|
|
|
7
35
|
|
|
@@ -23,7 +23,7 @@ defineProps<{ title: string; checked?: boolean; size?: 'small' | 'normal' }>()
|
|
|
23
23
|
<style lang="scss" scoped>
|
|
24
24
|
@import '@tplc/wot/components/common/abstracts/variable';
|
|
25
25
|
.select-tag {
|
|
26
|
-
width: 150rpx;
|
|
26
|
+
min-width: 150rpx;
|
|
27
27
|
height: 56rpx;
|
|
28
28
|
background: #f5f5f7;
|
|
29
29
|
border-radius: 53rpx;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<lcb-block>
|
|
3
|
+
<view class="flex justify-between items-center text-white">
|
|
4
|
+
<view>
|
|
5
|
+
<view class="text-4 font-bold">{{ currentMonth }}月</view>
|
|
6
|
+
</view>
|
|
7
|
+
<lcb-action-view v-bind="link" custom-class="!flex !items-center !justify-center gap-1.5">
|
|
8
|
+
<view class="font-bold text-3.5">{{ linkTitle }}</view>
|
|
9
|
+
<lcb-icon name="lcb-a-xingzhuang97" prefix="lcb" size="26rpx" />
|
|
10
|
+
</lcb-action-view>
|
|
11
|
+
</view>
|
|
12
|
+
</lcb-block>
|
|
13
|
+
</template>
|
|
14
|
+
|
|
15
|
+
<script setup lang="ts">
|
|
16
|
+
import { dayjs } from '@tplc/wot'
|
|
17
|
+
import { LcbRoomCalendarProps } from './types'
|
|
18
|
+
defineOptions({
|
|
19
|
+
name: 'LcbRoomCalendar',
|
|
20
|
+
options: {
|
|
21
|
+
addGlobalClass: true,
|
|
22
|
+
virtualHost: true,
|
|
23
|
+
styleIsolation: 'shared',
|
|
24
|
+
},
|
|
25
|
+
})
|
|
26
|
+
withDefaults(defineProps<LcbRoomCalendarProps>(), {
|
|
27
|
+
linkTitle: '进入我家',
|
|
28
|
+
})
|
|
29
|
+
const currentMonth = dayjs().format('MM')
|
|
30
|
+
</script>
|
|
31
|
+
|
|
32
|
+
<style lang="scss" scoped></style>
|
|
@@ -50,19 +50,20 @@
|
|
|
50
50
|
<wd-icon classPrefix="lcb" name="xiangyou" size="24rpx" />
|
|
51
51
|
</lcb-action-view>
|
|
52
52
|
</view>
|
|
53
|
-
<lcb-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
53
|
+
<lcb-action-view v-bind="link">
|
|
54
|
+
<lcb-img-nav
|
|
55
|
+
:items="info.userLevelRightsList"
|
|
56
|
+
:styleGroup="2"
|
|
57
|
+
:pictureDistribution="itemNum"
|
|
58
|
+
:iconType="1"
|
|
59
|
+
:iconSize="itemIconSize"
|
|
60
|
+
:textColor="itemTextColor"
|
|
61
|
+
:iconTextMargin="24"
|
|
62
|
+
:textSize="itemTextSize"
|
|
63
|
+
urlKey="icon"
|
|
64
|
+
titleKey="userRightsTitle"
|
|
65
|
+
/>
|
|
66
|
+
</lcb-action-view>
|
|
66
67
|
<InfoDialog v-model="current" currentLevelFlag />
|
|
67
68
|
</view>
|
|
68
69
|
</lcb-block>
|
|
@@ -84,7 +85,7 @@ defineOptions({
|
|
|
84
85
|
styleIsolation: 'shared',
|
|
85
86
|
},
|
|
86
87
|
})
|
|
87
|
-
withDefaults(defineProps<LcbVipProps>(), {
|
|
88
|
+
const props = withDefaults(defineProps<LcbVipProps>(), {
|
|
88
89
|
cardHeight: 340,
|
|
89
90
|
itemIconSize: 48,
|
|
90
91
|
itemNum: 5,
|
|
@@ -93,21 +94,17 @@ withDefaults(defineProps<LcbVipProps>(), {
|
|
|
93
94
|
})
|
|
94
95
|
const info = ref<CurrentRightsDetail>()
|
|
95
96
|
const current = ref<UserLevelRightsList>()
|
|
96
|
-
const onItemClick = (item: UserLevelRightsList) => {
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
}
|
|
97
|
+
// const onItemClick = (item: UserLevelRightsList) => {
|
|
98
|
+
// // if (item.userRightsConfigId === '0') {
|
|
99
|
+
// // navigateTo('/pages-sub/vip/rights')
|
|
100
|
+
// // }
|
|
101
|
+
// // current.value = item
|
|
102
|
+
// }
|
|
103
103
|
|
|
104
104
|
onMounted(async () => {
|
|
105
105
|
const { data } = await currentRightsDetail()
|
|
106
106
|
info.value = data
|
|
107
107
|
})
|
|
108
|
-
const navigateTo = (url: string) => {
|
|
109
|
-
uni.$lcb.navigateTo(url)
|
|
110
|
-
}
|
|
111
108
|
</script>
|
|
112
109
|
|
|
113
110
|
<style lang="scss" scoped></style>
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { LcbActionViewProps } from './../lcb-action-view/types'
|
|
1
2
|
import { LcbBlockProps } from './../lcb-block/types'
|
|
2
3
|
export interface LcbVipProps extends LcbBlockProps {
|
|
3
4
|
cardHeight: number
|
|
@@ -5,4 +6,5 @@ export interface LcbVipProps extends LcbBlockProps {
|
|
|
5
6
|
itemIconSize: number
|
|
6
7
|
itemTextColor: string
|
|
7
8
|
itemTextSize: number
|
|
9
|
+
link: LcbActionViewProps
|
|
8
10
|
}
|
package/global.d.ts
CHANGED
|
@@ -35,6 +35,7 @@ declare module 'vue' {
|
|
|
35
35
|
'lcb-product': (typeof import('@tplc/business/components/lcb-product/lcb-product.vue'))['default']
|
|
36
36
|
'lcb-product-item': (typeof import('@tplc/business/components/lcb-product-item/lcb-product-item.vue'))['default']
|
|
37
37
|
'lcb-rich-text': (typeof import('@tplc/business/components/lcb-rich-text/lcb-rich-text.vue'))['default']
|
|
38
|
+
'lcb-room-calendar': (typeof import('@tplc/business/components/lcb-room-calendar/lcb-room-calendar.vue'))['default']
|
|
38
39
|
'lcb-search': (typeof import('@tplc/business/components/lcb-search/lcb-search.vue'))['default']
|
|
39
40
|
'lcb-swiper': (typeof import('@tplc/business/components/lcb-swiper/lcb-swiper.vue'))['default']
|
|
40
41
|
'lcb-tabs': (typeof import('@tplc/business/components/lcb-tabs/lcb-tabs.vue'))['default']
|
|
@@ -47,8 +48,8 @@ declare module 'vue' {
|
|
|
47
48
|
'lcb-vip': (typeof import('@tplc/business/components/lcb-vip/lcb-vip.vue'))['default']
|
|
48
49
|
'lcb-waterfall-item': (typeof import('@tplc/business/components/lcb-waterfall/lcb-waterfall-item.vue'))['default']
|
|
49
50
|
'lcb-waterfall': (typeof import('@tplc/business/components/lcb-waterfall/lcb-waterfall.vue'))['default']
|
|
50
|
-
'lcb-wrapper-list': (typeof import('@tplc/business/components/lcb-wrapper-list/lcb-wrapper-list.vue'))['default']
|
|
51
51
|
'lcb-wrapper-item': (typeof import('@tplc/business/components/lcb-wrapper-item/lcb-wrapper-item.vue'))['default']
|
|
52
|
+
'lcb-wrapper-list': (typeof import('@tplc/business/components/lcb-wrapper-list/lcb-wrapper-list.vue'))['default']
|
|
52
53
|
}
|
|
53
54
|
}
|
|
54
55
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tplc/business",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.136",
|
|
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.87"
|
|
15
15
|
},
|
|
16
16
|
"engines": {
|
|
17
17
|
"node": ">=18",
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { LcbRoomCalendarProps } from './types'
|
|
2
|
+
declare const _default: import('vue').DefineComponent<
|
|
3
|
+
__VLS_WithDefaults<
|
|
4
|
+
__VLS_TypePropsToOption<LcbRoomCalendarProps>,
|
|
5
|
+
{
|
|
6
|
+
linkTitle: string
|
|
7
|
+
}
|
|
8
|
+
>,
|
|
9
|
+
{},
|
|
10
|
+
unknown,
|
|
11
|
+
{},
|
|
12
|
+
{},
|
|
13
|
+
import('vue').ComponentOptionsMixin,
|
|
14
|
+
import('vue').ComponentOptionsMixin,
|
|
15
|
+
{},
|
|
16
|
+
string,
|
|
17
|
+
import('vue').PublicProps,
|
|
18
|
+
Readonly<
|
|
19
|
+
import('vue').ExtractPropTypes<
|
|
20
|
+
__VLS_WithDefaults<
|
|
21
|
+
__VLS_TypePropsToOption<LcbRoomCalendarProps>,
|
|
22
|
+
{
|
|
23
|
+
linkTitle: string
|
|
24
|
+
}
|
|
25
|
+
>
|
|
26
|
+
>
|
|
27
|
+
>,
|
|
28
|
+
{
|
|
29
|
+
linkTitle: string
|
|
30
|
+
},
|
|
31
|
+
{}
|
|
32
|
+
>
|
|
33
|
+
export default _default
|
|
34
|
+
type __VLS_WithDefaults<P, D> = {
|
|
35
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
36
|
+
? __VLS_Prettify<
|
|
37
|
+
P[K] & {
|
|
38
|
+
default: D[K]
|
|
39
|
+
}
|
|
40
|
+
>
|
|
41
|
+
: P[K]
|
|
42
|
+
}
|
|
43
|
+
type __VLS_Prettify<T> = {
|
|
44
|
+
[K in keyof T]: T[K]
|
|
45
|
+
} & {}
|
|
46
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
|
|
47
|
+
type __VLS_TypePropsToOption<T> = {
|
|
48
|
+
[K in keyof T]-?: {} extends Pick<T, K>
|
|
49
|
+
? {
|
|
50
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
|
|
51
|
+
}
|
|
52
|
+
: {
|
|
53
|
+
type: import('vue').PropType<T[K]>
|
|
54
|
+
required: true
|
|
55
|
+
}
|
|
56
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { LcbActionViewProps } from './../lcb-action-view/types'
|
|
1
2
|
import { LcbBlockProps } from './../lcb-block/types'
|
|
2
3
|
export interface LcbVipProps extends LcbBlockProps {
|
|
3
4
|
cardHeight: number
|
|
@@ -5,4 +6,5 @@ export interface LcbVipProps extends LcbBlockProps {
|
|
|
5
6
|
itemIconSize: number
|
|
6
7
|
itemTextColor: string
|
|
7
8
|
itemTextSize: number
|
|
9
|
+
link: LcbActionViewProps
|
|
8
10
|
}
|