@tplc/business 0.0.77 → 0.0.79
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 +56 -0
- package/components/lcb-action-view/lcb-action-view.vue +8 -1
- package/components/lcb-action-view/types.ts +21 -2
- package/components/lcb-user-top/Nums/index.vue +3 -2
- package/components/lcb-user-top/lcb-user-top.vue +25 -4
- package/package.json +5 -2
- package/types/components/lcb-action-view/types.d.ts +21 -2
- package/types/components/lcb-user-top/Nums/index.vue.d.ts +6 -2
- package/types/index.d.ts +6 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,62 @@
|
|
|
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.0.79](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.0.73...v0.0.79) (2024-11-26)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### 🐛 Bug Fixes | Bug 修复
|
|
9
|
+
|
|
10
|
+
* 修复lcb-home-search ([7810778](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/78107780e9660739e0d426810fb5b86eb9fa0201))
|
|
11
|
+
* 修改qrcode 兼容小程序 ([e04f9aa](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/e04f9aaeaa64e7681e01bcbd860f075186cdce32))
|
|
12
|
+
* 新增user-top点击地址 ([7c69203](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/7c6920384dd6750496a78a1480b0659c59ff0a55))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### 🚀 Chore | 构建/工程依赖/工具
|
|
16
|
+
|
|
17
|
+
* **release:** 0.0.74 ([612f0f6](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/612f0f69e0a2d2145898e6d41d732352b18f11c8))
|
|
18
|
+
* **release:** 0.0.75 ([d52fcda](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/d52fcda79e12d0fb6f40776297fedd5061c1215f))
|
|
19
|
+
* **release:** 0.0.76 ([f75c168](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/f75c168d3b9165fe722dfef97753f4c4089914ae))
|
|
20
|
+
* **release:** 0.0.77 ([24e3ae2](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/24e3ae2bc1ea9d20b96af065fcfa4baf56a42ffc))
|
|
21
|
+
* **release:** 0.0.78 ([323cfbc](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/323cfbc8f61b53c8e9bd093e6f1577076590d43b))
|
|
22
|
+
* **release:** 0.1.31 ([bb7e5bb](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/bb7e5bb67c21da5b6fcb5deb1289d086b8f813b0))
|
|
23
|
+
* **release:** 0.1.32 ([3f28000](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/3f280007de08dfd18e51277d044ec2e20aa5878e))
|
|
24
|
+
* **release:** 0.1.33 ([4fac397](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/4fac39781eaa045c500b681916a3d8c1cfd71796))
|
|
25
|
+
* **release:** 0.1.34 ([9596a6f](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/9596a6f894ad8ab08d4c1af9943154b822022b75))
|
|
26
|
+
* **release:** 0.1.35 ([a237dd5](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/a237dd5af30d425d954ab53755959204f25c2a92))
|
|
27
|
+
* **release:** 0.1.36 ([f390dc4](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/f390dc455a22d9f16e4ff3facbd41dcc02902367))
|
|
28
|
+
* **release:** 0.1.37 ([557a2ba](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/557a2ba947c1e9936a006d22ccd8211107fd0aa1))
|
|
29
|
+
* **release:** 0.1.38 ([6375a2c](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/6375a2c3c39e29ad9ebd388bff41e96101d78c5a))
|
|
30
|
+
* **release:** 0.1.39 ([2bc41d1](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/2bc41d15414a5f6926099eefeee2a69f28a61f89))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
### ✨ Features | 新功能
|
|
34
|
+
|
|
35
|
+
* overlay inject ([e4880dc](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/e4880dc9008191dbdf42b0c6c720be04d9ed4ca8))
|
|
36
|
+
* lcb-img-nav 支持调整底色 ([cde9bcc](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/cde9bcce0d343e1ec9159d59b75d0596c16130c2))
|
|
37
|
+
* 完成富文本组件 ([6ca6d20](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/6ca6d20100724795e086a45d25608db6854a7ebf))
|
|
38
|
+
* 尝试增加自定义组件交互 ([6a08c74](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/6a08c74c3bd07af327a1dd23dddbd4e2ecab88df))
|
|
39
|
+
* 新增usertop点击路径 ([3e37a4d](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/3e37a4d49806be2d756102fa1cc80b72b4e487fb))
|
|
40
|
+
* 自定义组件可配置 ([8ed2eba](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/8ed2eba97f007a03eb96313e219b265b7b22ff1c))
|
|
41
|
+
* 自定义组件可配置 ([0186bbb](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/0186bbbf1efbf1541fa0246465e88f1044ca13e6))
|
|
42
|
+
* 自定义组件可配置 ([92e6e54](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/92e6e5444dc7cc17297386ac9eb760c0b840b6f7))
|
|
43
|
+
* 自定义组件可配置 ([a8837ad](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/a8837ade986287ae026eca69f9d4984ce02a89f4))
|
|
44
|
+
|
|
45
|
+
### [0.0.78](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.39...v0.0.78) (2024-11-25)
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
### ✨ Features | 新功能
|
|
49
|
+
|
|
50
|
+
* 自定义组件可配置 ([8ed2eba](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/8ed2eba97f007a03eb96313e219b265b7b22ff1c))
|
|
51
|
+
* 自定义组件可配置 ([0186bbb](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/0186bbbf1efbf1541fa0246465e88f1044ca13e6))
|
|
52
|
+
* 自定义组件可配置 ([92e6e54](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/92e6e5444dc7cc17297386ac9eb760c0b840b6f7))
|
|
53
|
+
* 自定义组件可配置 ([a8837ad](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/a8837ade986287ae026eca69f9d4984ce02a89f4))
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
### 🐛 Bug Fixes | Bug 修复
|
|
57
|
+
|
|
58
|
+
* 修改qrcode 兼容小程序 ([e04f9aa](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/e04f9aaeaa64e7681e01bcbd860f075186cdce32))
|
|
59
|
+
* 新增user-top点击地址 ([7c69203](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/7c6920384dd6750496a78a1480b0659c59ff0a55))
|
|
60
|
+
|
|
5
61
|
### [0.0.77](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.37...v0.0.77) (2024-11-24)
|
|
6
62
|
|
|
7
63
|
### [0.0.76](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.0.55...v0.0.76) (2024-11-24)
|
|
@@ -31,7 +31,14 @@ const emits = defineEmits<{
|
|
|
31
31
|
}>()
|
|
32
32
|
|
|
33
33
|
const openType = computed(() => {
|
|
34
|
-
return {
|
|
34
|
+
return {
|
|
35
|
+
88: 'getPhoneNumber',
|
|
36
|
+
12: 'contact',
|
|
37
|
+
101: 'chooseAvatar',
|
|
38
|
+
102: 'share',
|
|
39
|
+
103: 'feedback',
|
|
40
|
+
104: 'openSetting',
|
|
41
|
+
}[props.jumpType || '']
|
|
35
42
|
})
|
|
36
43
|
const onActionClick = () => {
|
|
37
44
|
const { jumpAppid, jumpUrl: url, jumpType, phoneNumber } = props
|
|
@@ -2,9 +2,28 @@ export interface LcbActionViewProps {
|
|
|
2
2
|
/**
|
|
3
3
|
* 跳转类型 1: 网页 2: 小程序内页 10: 跳转小程序 11: 跳转半屏小程序 12: 小程序客服
|
|
4
4
|
* 13: 退出登录 14: 小程序弹框 21: 新窗口跳到页面 22: 切换TAB页 23: 重启进入某页面
|
|
5
|
-
* 24: 回到上一层 25: 关闭当前页面 26: 关闭当前窗口 30: 拨打电话 88: 授权手机号 101 用户头像
|
|
5
|
+
* 24: 回到上一层 25: 关闭当前页面 26: 关闭当前窗口 30: 拨打电话 88: 授权手机号 101 用户头像 102 分享 103 意见反馈 104 打开授权设置页
|
|
6
6
|
*/
|
|
7
|
-
jumpType?:
|
|
7
|
+
jumpType?:
|
|
8
|
+
| 1
|
|
9
|
+
| 2
|
|
10
|
+
| 10
|
|
11
|
+
| 11
|
|
12
|
+
| 12
|
|
13
|
+
| 13
|
|
14
|
+
| 14
|
|
15
|
+
| 21
|
|
16
|
+
| 22
|
|
17
|
+
| 23
|
|
18
|
+
| 24
|
|
19
|
+
| 25
|
|
20
|
+
| 26
|
|
21
|
+
| 30
|
|
22
|
+
| 88
|
|
23
|
+
| 101
|
|
24
|
+
| 102
|
|
25
|
+
| 103
|
|
26
|
+
| 104
|
|
8
27
|
/** 跳转路径 */
|
|
9
28
|
jumpUrl?: string
|
|
10
29
|
/** 小程序appid */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
2
|
+
<view @click="emits('click')">
|
|
3
3
|
<view
|
|
4
4
|
class="font-bold leading-none"
|
|
5
5
|
:style="{
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
>
|
|
19
19
|
{{ title }}
|
|
20
20
|
</view>
|
|
21
|
-
</
|
|
21
|
+
</view>
|
|
22
22
|
</template>
|
|
23
23
|
|
|
24
24
|
<script setup lang="ts">
|
|
@@ -26,4 +26,5 @@ import { NumsItemProps } from '../types'
|
|
|
26
26
|
import { transformValueUnit } from '../../../utils/transform'
|
|
27
27
|
|
|
28
28
|
defineProps<NumsItemProps>()
|
|
29
|
+
const emits = defineEmits(['click'])
|
|
29
30
|
</script>
|
|
@@ -90,10 +90,30 @@
|
|
|
90
90
|
padding: `0 ${transformValueUnit(numsPadLR || 0)}`,
|
|
91
91
|
}"
|
|
92
92
|
>
|
|
93
|
-
<Nums
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
93
|
+
<Nums
|
|
94
|
+
v-if="valuesCard == true"
|
|
95
|
+
v-bind="$props"
|
|
96
|
+
title="储值卡"
|
|
97
|
+
@click="$lcb.navigateTo('/pages-sub/walletAccount/index')"
|
|
98
|
+
/>
|
|
99
|
+
<Nums
|
|
100
|
+
v-if="coupons == true"
|
|
101
|
+
v-bind="$props"
|
|
102
|
+
title="优惠券"
|
|
103
|
+
@click="$lcb.navigateTo('/pages-sub/mine/coupon')"
|
|
104
|
+
/>
|
|
105
|
+
<Nums
|
|
106
|
+
v-if="presales == true"
|
|
107
|
+
v-bind="$props"
|
|
108
|
+
title="预售券"
|
|
109
|
+
@click="$lcb.navigateTo('/pages-sub/mine/advanceTicket')"
|
|
110
|
+
/>
|
|
111
|
+
<Nums
|
|
112
|
+
v-if="memberPoints == true"
|
|
113
|
+
v-bind="$props"
|
|
114
|
+
title="会员积分"
|
|
115
|
+
@click="$lcb.navigateTo('/pages-sub/vip/points')"
|
|
116
|
+
/>
|
|
97
117
|
</view>
|
|
98
118
|
</lcb-block>
|
|
99
119
|
</template>
|
|
@@ -104,6 +124,7 @@ import { transformValueUnit } from '../../utils/transform'
|
|
|
104
124
|
import Nums from './Nums/index.vue'
|
|
105
125
|
import { computed } from 'vue'
|
|
106
126
|
import { addUnit } from '@tplc/wot/components/common/util'
|
|
127
|
+
import { $lcb } from 'index'
|
|
107
128
|
|
|
108
129
|
const { statusBarHeight } = uni.getSystemInfoSync()
|
|
109
130
|
defineOptions({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tplc/business",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.79",
|
|
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.39"
|
|
15
15
|
},
|
|
16
16
|
"engines": {
|
|
17
17
|
"node": ">=18",
|
|
@@ -22,6 +22,9 @@
|
|
|
22
22
|
"qs": "6.5.3",
|
|
23
23
|
"uview-plus": "^3.3.9"
|
|
24
24
|
},
|
|
25
|
+
"devDependencies": {
|
|
26
|
+
"standard-version": "^9.5.0"
|
|
27
|
+
},
|
|
25
28
|
"scripts": {
|
|
26
29
|
"pub": "pnpm dts && pnpm publish --no-git-checks",
|
|
27
30
|
"dts": "rm -rf types && vue-tsc --project ./tsconfig.dts.json && pnpm prettier --write types",
|
|
@@ -2,9 +2,28 @@ export interface LcbActionViewProps {
|
|
|
2
2
|
/**
|
|
3
3
|
* 跳转类型 1: 网页 2: 小程序内页 10: 跳转小程序 11: 跳转半屏小程序 12: 小程序客服
|
|
4
4
|
* 13: 退出登录 14: 小程序弹框 21: 新窗口跳到页面 22: 切换TAB页 23: 重启进入某页面
|
|
5
|
-
* 24: 回到上一层 25: 关闭当前页面 26: 关闭当前窗口 30: 拨打电话 88: 授权手机号 101 用户头像
|
|
5
|
+
* 24: 回到上一层 25: 关闭当前页面 26: 关闭当前窗口 30: 拨打电话 88: 授权手机号 101 用户头像 102 分享 103 意见反馈 104 打开授权设置页
|
|
6
6
|
*/
|
|
7
|
-
jumpType?:
|
|
7
|
+
jumpType?:
|
|
8
|
+
| 1
|
|
9
|
+
| 2
|
|
10
|
+
| 10
|
|
11
|
+
| 11
|
|
12
|
+
| 12
|
|
13
|
+
| 13
|
|
14
|
+
| 14
|
|
15
|
+
| 21
|
|
16
|
+
| 22
|
|
17
|
+
| 23
|
|
18
|
+
| 24
|
|
19
|
+
| 25
|
|
20
|
+
| 26
|
|
21
|
+
| 30
|
|
22
|
+
| 88
|
|
23
|
+
| 101
|
|
24
|
+
| 102
|
|
25
|
+
| 103
|
|
26
|
+
| 104
|
|
8
27
|
/** 跳转路径 */
|
|
9
28
|
jumpUrl?: string
|
|
10
29
|
/** 小程序appid */
|
|
@@ -7,10 +7,14 @@ declare const _default: import('vue').DefineComponent<
|
|
|
7
7
|
{},
|
|
8
8
|
import('vue').ComponentOptionsMixin,
|
|
9
9
|
import('vue').ComponentOptionsMixin,
|
|
10
|
-
{
|
|
10
|
+
{
|
|
11
|
+
click: (...args: any[]) => void
|
|
12
|
+
},
|
|
11
13
|
string,
|
|
12
14
|
import('vue').PublicProps,
|
|
13
|
-
Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<NumsItemProps
|
|
15
|
+
Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<NumsItemProps>>> & {
|
|
16
|
+
onClick?: ((...args: any[]) => any) | undefined
|
|
17
|
+
},
|
|
14
18
|
{},
|
|
15
19
|
{}
|
|
16
20
|
>
|