@tplc/business 0.2.9 → 0.2.10

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.2.10](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.2.8...v0.2.10) (2024-12-04)
6
+
7
+
8
+ ### 🚀 Chore | 构建/工程依赖/工具
9
+
10
+ * **release:** 0.2.9 ([9016b1b](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/9016b1b131b6ad5d71512c0bcdf6f20ead4ade60))
11
+
12
+
13
+ ### ✨ Features | 新功能
14
+
15
+ * banner-block link ([2bfcf31](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/2bfcf31919a2c018649362d61f78def9d8f6b99a))
16
+ * hotlink ([273704d](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/273704da5ea012c137eda1a4841c6671928e2b3f))
17
+ * vip 兼容ios ([dc94817](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/dc94817b76dbeb9497837c6859da87c152794d0d))
18
+
5
19
  ### [0.2.9](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.2.4...v0.2.9) (2024-12-03)
6
20
 
7
21
 
@@ -168,6 +168,7 @@ const onChooseAvatar = async (e) => {
168
168
  line-height: normal;
169
169
  border-radius: inherit;
170
170
  overflow: inherit;
171
+ text-align: inherit;
171
172
  &::after {
172
173
  border: none;
173
174
  }
@@ -1,7 +1,11 @@
1
1
  <template>
2
2
  <lcb-block v-bind="$props">
3
3
  <view v-if="styleGroup === 1" class="pl-32rpx">
4
- <view class="py-42rpx pr-26rpx flex justify-between items-center" v-if="styleGroup === 1">
4
+ <lcb-action-view
5
+ custom-class="!py-42rpx !pr-26rpx !flex justify-between items-center"
6
+ v-bind="link"
7
+ v-if="styleGroup === 1"
8
+ >
5
9
  <view class="flex-1 flex items-center">
6
10
  <img :src="logo" class="w-60rpx h-60rpx" mode="aspectFit" />
7
11
  <view class="ml-32rpx leading-none">
@@ -10,7 +14,7 @@
10
14
  </view>
11
15
  </view>
12
16
  <wd-icon class-prefix="lcb" name="a-xingzhuang97" size="24rpx" color="#666666" />
13
- </view>
17
+ </lcb-action-view>
14
18
  <scroll-view scroll-x class="w-full whitespace-nowrap pb-24rpx">
15
19
  <lcb-action-view v-for="(item, index) in items" :key="index" v-bind="item.link">
16
20
  <image
@@ -39,10 +43,13 @@
39
43
  :imgWidth="(imgWidth || 0) + (itemPadding || 0)"
40
44
  :interval="2000"
41
45
  />
42
- <view class="p-24rpx text-30rpx text-#333 flex justify-between items-center">
46
+ <lcb-action-view
47
+ v-bind="link"
48
+ custom-class="!p-24rpx !text-30rpx text-#333 !flex justify-between items-center"
49
+ >
43
50
  <view>{{ title }}</view>
44
51
  <wd-icon class-prefix="lcb" name="a-xingzhuang103" size="30rpx" color="#666" />
45
- </view>
52
+ </lcb-action-view>
46
53
  </view>
47
54
  </lcb-block>
48
55
  </template>
@@ -1,3 +1,4 @@
1
+ import { LcbActionViewProps } from '../lcb-action-view/types'
1
2
  import { LcbBlockProps } from '../lcb-block/types'
2
3
  import { ActionView } from 'action'
3
4
  export interface LcbBannerListProps extends LcbBlockProps {
@@ -15,4 +16,5 @@ export interface LcbBannerListProps extends LcbBlockProps {
15
16
  leftIcon?: string
16
17
  itemPadding?: number
17
18
  imageRadius?: number
19
+ link?: LcbActionViewProps
18
20
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.2.9",
3
+ "version": "0.2.10",
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
  import { ActionView } from 'action'
3
4
  export interface LcbBannerListProps extends LcbBlockProps {
@@ -15,4 +16,5 @@ export interface LcbBannerListProps extends LcbBlockProps {
15
16
  leftIcon?: string
16
17
  itemPadding?: number
17
18
  imageRadius?: number
19
+ link?: LcbActionViewProps
18
20
  }