@tplc/business 0.4.135 → 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 CHANGED
@@ -2,6 +2,13 @@
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
+
5
12
  ### [0.4.135](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.132...v0.4.135) (2025-06-23)
6
13
 
7
14
 
@@ -50,19 +50,20 @@
50
50
  <wd-icon classPrefix="lcb" name="xiangyou" size="24rpx" />
51
51
  </lcb-action-view>
52
52
  </view>
53
- <lcb-img-nav
54
- :items="info.userLevelRightsList"
55
- :styleGroup="2"
56
- :pictureDistribution="itemNum"
57
- :iconType="1"
58
- :iconSize="itemIconSize"
59
- :textColor="itemTextColor"
60
- :iconTextMargin="24"
61
- :textSize="itemTextSize"
62
- urlKey="icon"
63
- titleKey="userRightsTitle"
64
- @click="onItemClick"
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>
@@ -93,14 +94,12 @@ const props = withDefaults(defineProps<LcbVipProps>(), {
93
94
  })
94
95
  const info = ref<CurrentRightsDetail>()
95
96
  const current = ref<UserLevelRightsList>()
96
- const onItemClick = (item: UserLevelRightsList) => {
97
- // if (item.userRightsConfigId === '0') {
98
- // navigateTo('/pages-sub/vip/rights')
99
- uni.$lcb.navigateTo(props.linkUrl)
100
- // return
101
- // }
102
- // current.value = item
103
- }
97
+ // const onItemClick = (item: UserLevelRightsList) => {
98
+ // // if (item.userRightsConfigId === '0') {
99
+ // // navigateTo('/pages-sub/vip/rights')
100
+ // // }
101
+ // // current.value = item
102
+ // }
104
103
 
105
104
  onMounted(async () => {
106
105
  const { data } = await currentRightsDetail()
@@ -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,5 +6,5 @@ export interface LcbVipProps extends LcbBlockProps {
5
6
  itemIconSize: number
6
7
  itemTextColor: string
7
8
  itemTextSize: number
8
- linkUrl: string
9
+ link: LcbActionViewProps
9
10
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.4.135",
3
+ "version": "0.4.136",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],
@@ -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,5 +6,5 @@ export interface LcbVipProps extends LcbBlockProps {
5
6
  itemIconSize: number
6
7
  itemTextColor: string
7
8
  itemTextSize: number
8
- linkUrl: string
9
+ link: LcbActionViewProps
9
10
  }