@tplc/business 0.4.134 → 0.4.135

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,27 @@
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.135](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.132...v0.4.135) (2025-06-23)
6
+
7
+
8
+ ### 🚀 Chore | 构建/工程依赖/工具
9
+
10
+ * **release:** 0.1.85 ([8f86827](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/8f8682734ad495770d03285e994378ad74ef3832))
11
+ * **release:** 0.1.86 ([30e6d1d](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/30e6d1d9fde0c8f6ead5112384046a3c9757f563))
12
+ * **release:** 0.1.87 ([610e7c5](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/610e7c59b19811286f45e076b0e63206264b3254))
13
+ * **release:** 0.4.133 ([79dd687](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/79dd68745f0c1cf4c2ef48782827bc5bf047f275))
14
+ * **release:** 0.4.134 ([0562a3d](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/0562a3d29bc0884488f8d7f9769201ac5a810cda))
15
+
16
+
17
+ ### ✨ Features | 新功能
18
+
19
+ * 修改tabs ([d6943cb](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/d6943cbd0ed0c94875de9cc218070e24f917b5ac))
20
+ * 修改数据 ([5f5f47c](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/5f5f47ce24c7341992ea839bd4725bd64b0adf2a))
21
+ * 变更字段 ([7080453](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/7080453dfa884fc4d66d75309d9bcc7f9bfaa2ab))
22
+ * 支持自动调整 ([03aa0f9](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/03aa0f9f4d7c151776f6372c520f75aa36e76a6a))
23
+ * 新增新属性 ([cd8221b](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/cd8221b9038f8384eeababa3fd0190b77bea6fa0))
24
+ * 新增有 ([6518110](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/6518110c12f29389272461464bb8842c050d0e59))
25
+
5
26
  ### [0.4.134](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.133...v0.4.134) (2025-06-21)
6
27
 
7
28
 
@@ -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>
@@ -0,0 +1,7 @@
1
+ import { LcbActionViewProps } from '../lcb-action-view/types'
2
+ import { LcbBlockProps } from '../lcb-block/types'
3
+
4
+ export interface LcbRoomCalendarProps extends LcbBlockProps {
5
+ linkTitle?: string
6
+ link?: LcbActionViewProps
7
+ }
@@ -84,7 +84,7 @@ defineOptions({
84
84
  styleIsolation: 'shared',
85
85
  },
86
86
  })
87
- withDefaults(defineProps<LcbVipProps>(), {
87
+ const props = withDefaults(defineProps<LcbVipProps>(), {
88
88
  cardHeight: 340,
89
89
  itemIconSize: 48,
90
90
  itemNum: 5,
@@ -95,7 +95,8 @@ const info = ref<CurrentRightsDetail>()
95
95
  const current = ref<UserLevelRightsList>()
96
96
  const onItemClick = (item: UserLevelRightsList) => {
97
97
  // if (item.userRightsConfigId === '0') {
98
- navigateTo('/pages-sub/vip/rights')
98
+ // navigateTo('/pages-sub/vip/rights')
99
+ uni.$lcb.navigateTo(props.linkUrl)
99
100
  // return
100
101
  // }
101
102
  // current.value = item
@@ -105,9 +106,6 @@ onMounted(async () => {
105
106
  const { data } = await currentRightsDetail()
106
107
  info.value = data
107
108
  })
108
- const navigateTo = (url: string) => {
109
- uni.$lcb.navigateTo(url)
110
- }
111
109
  </script>
112
110
 
113
111
  <style lang="scss" scoped></style>
@@ -5,4 +5,5 @@ export interface LcbVipProps extends LcbBlockProps {
5
5
  itemIconSize: number
6
6
  itemTextColor: string
7
7
  itemTextSize: number
8
+ linkUrl: string
8
9
  }
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.134",
3
+ "version": "0.4.135",
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.84"
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
+ }
@@ -0,0 +1,6 @@
1
+ import { LcbActionViewProps } from '../lcb-action-view/types'
2
+ import { LcbBlockProps } from '../lcb-block/types'
3
+ export interface LcbRoomCalendarProps extends LcbBlockProps {
4
+ linkTitle?: string
5
+ link?: LcbActionViewProps
6
+ }
@@ -5,4 +5,5 @@ export interface LcbVipProps extends LcbBlockProps {
5
5
  itemIconSize: number
6
6
  itemTextColor: string
7
7
  itemTextSize: number
8
+ linkUrl: string
8
9
  }