@tplc/business 0.0.76 → 0.0.78
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 +18 -0
- package/components/lcb-user-top/Nums/index.vue +3 -2
- package/components/lcb-user-top/lcb-user-top.vue +25 -4
- package/components/lcb-vip/components/InfoDialog/index.vue +1 -5
- package/package.json +5 -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,24 @@
|
|
|
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.78](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.39...v0.0.78) (2024-11-25)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### ✨ Features | 新功能
|
|
9
|
+
|
|
10
|
+
* 自定义组件可配置 ([8ed2eba](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/8ed2eba97f007a03eb96313e219b265b7b22ff1c))
|
|
11
|
+
* 自定义组件可配置 ([0186bbb](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/0186bbbf1efbf1541fa0246465e88f1044ca13e6))
|
|
12
|
+
* 自定义组件可配置 ([92e6e54](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/92e6e5444dc7cc17297386ac9eb760c0b840b6f7))
|
|
13
|
+
* 自定义组件可配置 ([a8837ad](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/a8837ade986287ae026eca69f9d4984ce02a89f4))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### 🐛 Bug Fixes | Bug 修复
|
|
17
|
+
|
|
18
|
+
* 修改qrcode 兼容小程序 ([e04f9aa](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/e04f9aaeaa64e7681e01bcbd860f075186cdce32))
|
|
19
|
+
* 新增user-top点击地址 ([7c69203](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/7c6920384dd6750496a78a1480b0659c59ff0a55))
|
|
20
|
+
|
|
21
|
+
### [0.0.77](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.37...v0.0.77) (2024-11-24)
|
|
22
|
+
|
|
5
23
|
### [0.0.76](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.0.55...v0.0.76) (2024-11-24)
|
|
6
24
|
|
|
7
25
|
|
|
@@ -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({
|
|
@@ -38,14 +38,10 @@ defineProps<{
|
|
|
38
38
|
}>()
|
|
39
39
|
const modelValue = defineModel<UserLevelRightsList>()
|
|
40
40
|
watch(
|
|
41
|
-
() => modelValue,
|
|
41
|
+
() => modelValue.value,
|
|
42
42
|
(val) => {
|
|
43
43
|
if (val) show.value = true
|
|
44
44
|
},
|
|
45
|
-
{
|
|
46
|
-
immediate: true,
|
|
47
|
-
deep: true,
|
|
48
|
-
},
|
|
49
45
|
)
|
|
50
46
|
const onDrawdown = () => {
|
|
51
47
|
uni.navigateTo({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tplc/business",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.78",
|
|
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",
|
|
@@ -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
|
>
|