@tplc/business 0.0.74 → 0.0.76
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 +80 -0
- package/components/lcb-home-search/lcb-home-search.vue +1 -0
- package/components/lcb-img-nav/lcb-img-nav.vue +41 -35
- package/components/lcb-img-nav/types.ts +13 -0
- package/components/lcb-vip/components/InfoDialog/index.vue +22 -12
- package/components/lcb-vip/lcb-vip.vue +1 -1
- package/package.json +13 -13
- package/types/components/lcb-home-search/lcb-home-search.vue.d.ts +3 -0
- package/types/components/lcb-img-nav/lcb-img-nav.vue.d.ts +6 -0
- package/types/components/lcb-img-nav/types.d.ts +12 -0
- package/types/components/lcb-vip/components/InfoDialog/index.vue.d.ts +13 -13
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,86 @@
|
|
|
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.76](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.0.55...v0.0.76) (2024-11-24)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### 🐛 Bug Fixes | Bug 修复
|
|
9
|
+
|
|
10
|
+
* lcb-nav 兼容page-scroll-top ([e809efd](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/e809efddf1559a42c48140cae80e4081542fa123))
|
|
11
|
+
* lcb-vip 调整地址调整 ([08547c0](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/08547c0bf975af2adb65e4e1effdb132149803e3))
|
|
12
|
+
* swiper link ([afe011e](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/afe011ed46292fc24a54afd2c0724aa8ccad4cf4))
|
|
13
|
+
* 修复lcb-city-select 小程序无法选中锚点 ([93b3d2f](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/93b3d2f31bab14d4dc85abbd835e8c659a917dde))
|
|
14
|
+
* 修复lcb-home-search ([7810778](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/78107780e9660739e0d426810fb5b86eb9fa0201))
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### 🚀 Chore | 构建/工程依赖/工具
|
|
18
|
+
|
|
19
|
+
* **release:** 0.0.56 ([4b3f70b](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/4b3f70bab6b9ff6dcf5a6d356a8f864f386098f9))
|
|
20
|
+
* **release:** 0.0.57 ([b4f53b9](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/b4f53b98b178a4b09821553e1bac961f17a4bf62))
|
|
21
|
+
* **release:** 0.0.58 ([058ef9c](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/058ef9c965dd16ea66e844f0e1729d53d77ddc03))
|
|
22
|
+
* **release:** 0.0.59 ([e8b8eb1](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/e8b8eb15014d8410926d26d8e82d8e7351268ba6))
|
|
23
|
+
* **release:** 0.0.60 ([3c35e08](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/3c35e087dab890aa4eb6728491250e0b0385e949))
|
|
24
|
+
* **release:** 0.0.61 ([3f73335](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/3f733357fd76e43828261fdc593aad2430bb7578))
|
|
25
|
+
* **release:** 0.0.62 ([d49297d](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/d49297df383829ecc4f9dd22d791cf7f6e668928))
|
|
26
|
+
* **release:** 0.0.63 ([f9a0484](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/f9a0484374a191ba7b49406bdd92fabe8471c8d8))
|
|
27
|
+
* **release:** 0.0.64 ([edbe549](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/edbe54969af400180a7f8f4d6e545b1a6a8d4a4f))
|
|
28
|
+
* **release:** 0.0.65 ([5e1ac06](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/5e1ac06a7375693149b86c1030dab7f07a2fc392))
|
|
29
|
+
* **release:** 0.0.66 ([4a12507](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/4a1250740efeff889870d4f2ffb038780bd1df4b))
|
|
30
|
+
* **release:** 0.0.67 ([9855458](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/985545875348ab644c95b28805dbd8e2e7ceaf54))
|
|
31
|
+
* **release:** 0.0.68 ([cebb1d9](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/cebb1d917b7f569a8221b69bf0f4f9208673d67e))
|
|
32
|
+
* **release:** 0.0.69 ([e70c23f](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/e70c23fbd74800637ccb37284cdfbef198925dab))
|
|
33
|
+
* **release:** 0.0.70 ([885499f](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/885499fa64b2fe55872e53ba47e7988604cd9c2d))
|
|
34
|
+
* **release:** 0.0.71 ([7422a19](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/7422a19335b0a2249f8bd9799dfa9679d55f0188))
|
|
35
|
+
* **release:** 0.0.72 ([ca650c1](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/ca650c155cd8eb5cbf7bc51f64b2772b5c5b6fb6))
|
|
36
|
+
* **release:** 0.0.73 ([fbce655](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/fbce655f7b60fa1a779be42e61b80638d4bcd948))
|
|
37
|
+
* **release:** 0.0.74 ([612f0f6](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/612f0f69e0a2d2145898e6d41d732352b18f11c8))
|
|
38
|
+
* **release:** 0.0.75 ([d52fcda](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/d52fcda79e12d0fb6f40776297fedd5061c1215f))
|
|
39
|
+
* **release:** 0.1.24 ([6fdf148](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/6fdf148486f0b0ebdaf6670e5ed087dd9a070ce2))
|
|
40
|
+
* **release:** 0.1.26 ([45b5ff0](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/45b5ff0fa6c01b56b962dd264f9fae14af486e68))
|
|
41
|
+
* **release:** 0.1.27 ([89ac830](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/89ac830da7304cb2741c8ab1138f70f1ebebab3f))
|
|
42
|
+
* **release:** 0.1.28 ([ad80524](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/ad80524068ce319ee72b52ebaf5ba97dfd8ad793))
|
|
43
|
+
* **release:** 0.1.29 ([2736f92](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/2736f92697545d412715c6719b36428e12bb3cea))
|
|
44
|
+
* **release:** 0.1.30 ([6a745ec](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/6a745ec7682e9e655d3f3ffd31a4d946551800f8))
|
|
45
|
+
* **release:** 0.1.31 ([bb7e5bb](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/bb7e5bb67c21da5b6fcb5deb1289d086b8f813b0))
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
### ✨ Features | 新功能
|
|
49
|
+
|
|
50
|
+
* overlay inject ([e4880dc](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/e4880dc9008191dbdf42b0c6c720be04d9ed4ca8))
|
|
51
|
+
* add lcb-vip ([efc7f5e](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/efc7f5e3c24f616ebc7b41bc99dbb8918ed4b81d))
|
|
52
|
+
* add wd-qr-code ([83196b5](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/83196b5294a8936b33eafe312cf203a3de531a8c))
|
|
53
|
+
* back home ([10a9148](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/10a91481426fe3a687401c54e593e06ab50560b3))
|
|
54
|
+
* banner兼容圆角 ([57bc054](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/57bc0542bf1e38188d6d00caff5b0c9209f5b2da))
|
|
55
|
+
* filter 兼容h5 ([d858f86](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/d858f86274e06e00e1b9247fde5d1f3c54d003f4))
|
|
56
|
+
* home-search-ui 调整 ([c894815](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/c894815dd55d471dd8d240730778fd3ef41c76db))
|
|
57
|
+
* lcb product item 支持横向布局时图片高度和圆角配置 ([020c710](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/020c710a96bc18540f80771dcf3bdc49eb268475))
|
|
58
|
+
* lcb-img-nav 支持调整底色 ([cde9bcc](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/cde9bcce0d343e1ec9159d59b75d0596c16130c2))
|
|
59
|
+
* lcb-nav gap高度调整 ([6c2c940](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/6c2c9401a2db6f9c75d1d5a0cb05c102a3e75517))
|
|
60
|
+
* lcb-nav 常规模式下新增gap 无需用户添加 ([1f9f7d6](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/1f9f7d6f00e3435b353b67db6cb4db42843f54dc))
|
|
61
|
+
* lcb-title 新增更多配置 ([0be4376](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/0be4376cc7c5552a19f6f19b3088276a0fec5218))
|
|
62
|
+
* mine/search ([e8d34fc](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/e8d34fc0182fe71de8d9abedb323ff49ee68720d))
|
|
63
|
+
* shadow ([d2de6bf](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/d2de6bf135619c73db1a6a1cc027b1ba94002228))
|
|
64
|
+
* version 0.0.56 ([3a13a45](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/3a13a4574d37d9f1b53b42c36ce5601498d6f2c6))
|
|
65
|
+
* wd-popup 兼容小程序 ([121367c](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/121367c6d45e78f47fe160ce98626aeb0e63e8ec))
|
|
66
|
+
* wd-qr-code ts global ([70bb8fe](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/70bb8fe820d27a5a8d769ac0bfc4087a020d5835))
|
|
67
|
+
* wd-qr-code 新增class 调整项 ([ff1d67c](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/ff1d67cf638dcf29371d071203f087bdd3994282))
|
|
68
|
+
* 丰富grid ([e306107](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/e306107d2964146f047862b5c3e7e5f8a368ae81))
|
|
69
|
+
* 完成富文本组件 ([6ca6d20](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/6ca6d20100724795e086a45d25608db6854a7ebf))
|
|
70
|
+
* 尝试增加自定义组件交互 ([6a08c74](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/6a08c74c3bd07af327a1dd23dddbd4e2ecab88df))
|
|
71
|
+
* 晚上布局 ([d33d983](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/d33d983b87e56e63633c3233b3608ca1c3006956))
|
|
72
|
+
* 暂定提交 ([c0a390b](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/c0a390bc08031181cd63f4c44e88229f7e737b2d))
|
|
73
|
+
* 暂时提交qrcode ([6139d1f](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/6139d1f5f551a992277ffca11a09758cab9d2a2c))
|
|
74
|
+
* 更新版本 ([bc1cb63](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/bc1cb63756e802aa43e365944b859e84eef7e70a))
|
|
75
|
+
* 调整引擎组件配置 ([e150cad](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/e150cad11c4183cce1b5e731a295d8a061389bdd))
|
|
76
|
+
* 透明度 ([b7eb9aa](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/b7eb9aa884d41db903cea4abe32cc84b71038ccb))
|
|
77
|
+
|
|
78
|
+
### [0.0.75](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.0.74...v0.0.75) (2024-11-23)
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
### ✨ Features | 新功能
|
|
82
|
+
|
|
83
|
+
* 完成富文本组件 ([6ca6d20](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/6ca6d20100724795e086a45d25608db6854a7ebf))
|
|
84
|
+
|
|
5
85
|
### [0.0.74](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.31...v0.0.74) (2024-11-22)
|
|
6
86
|
|
|
7
87
|
### [0.0.73](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.0.72...v0.0.73) (2024-11-22)
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
<view
|
|
16
16
|
:style="{
|
|
17
17
|
gridTemplateColumns: `repeat(${pictureDistribution}, minmax(0, 1fr))`,
|
|
18
|
+
gap: transformValueUnit(itemGap),
|
|
18
19
|
}"
|
|
19
20
|
:class="[
|
|
20
21
|
{
|
|
@@ -28,42 +29,52 @@
|
|
|
28
29
|
v-for="item in items"
|
|
29
30
|
:key="item.title"
|
|
30
31
|
v-bind="item.link"
|
|
31
|
-
custom-class="!flex flex-col justify-center items-center item"
|
|
32
32
|
@click="onItemClick(item)"
|
|
33
33
|
>
|
|
34
34
|
<view
|
|
35
|
-
class="
|
|
35
|
+
class="!flex justify-center items-center item"
|
|
36
36
|
:style="{
|
|
37
|
-
|
|
37
|
+
backgroundColor: itemBgColor,
|
|
38
|
+
borderRadius: transformValueUnit(itemRadius),
|
|
39
|
+
padding: `${transformValueUnit(itemVerticalPadding)} ${transformValueUnit(itemHorizontalPadding)}`,
|
|
40
|
+
flexDirection: itemFlexMode,
|
|
41
|
+
gap: transformValueUnit(iconTextMargin),
|
|
42
|
+
boxShadow:
|
|
43
|
+
itemShadowColor && itemShadowSize
|
|
44
|
+
? `0px 0px ${itemBlurSize}px ${itemShadowSize}px ${itemShadowColor}`
|
|
45
|
+
: '',
|
|
46
|
+
marginRight: styleGroup === 1 ? transformValueUnit(itemGap) : 0,
|
|
38
47
|
}"
|
|
39
48
|
>
|
|
40
|
-
<
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
49
|
+
<view class="overflow-hidden">
|
|
50
|
+
<wd-icon
|
|
51
|
+
v-if="iconType === 0"
|
|
52
|
+
class-prefix="lcb"
|
|
53
|
+
:name="item.icon!"
|
|
54
|
+
:size="iconSize + 'rpx'"
|
|
55
|
+
:color="iconColor"
|
|
56
|
+
/>
|
|
57
|
+
<img
|
|
58
|
+
v-else
|
|
59
|
+
class="block"
|
|
60
|
+
:style="{
|
|
61
|
+
borderRadius: iconRadius + 'rpx',
|
|
62
|
+
height: iconSize + 'rpx',
|
|
63
|
+
width: iconSize + 'rpx',
|
|
64
|
+
}"
|
|
65
|
+
:src="item[urlKey]"
|
|
66
|
+
/>
|
|
67
|
+
</view>
|
|
68
|
+
<view
|
|
69
|
+
class="title"
|
|
50
70
|
:style="{
|
|
51
|
-
|
|
52
|
-
height: iconSize + 'rpx',
|
|
53
|
-
width: iconSize + 'rpx',
|
|
71
|
+
fontSize: transformValueUnit(textSize),
|
|
54
72
|
}"
|
|
55
|
-
|
|
56
|
-
|
|
73
|
+
>
|
|
74
|
+
{{ item[titleKey] }}
|
|
75
|
+
</view>
|
|
76
|
+
<wd-icon v-if="styleGroup === 3" name="chevron-right" size="22"></wd-icon>
|
|
57
77
|
</view>
|
|
58
|
-
<view
|
|
59
|
-
class="title"
|
|
60
|
-
:style="{
|
|
61
|
-
fontSize: transformValueUnit(textSize),
|
|
62
|
-
}"
|
|
63
|
-
>
|
|
64
|
-
{{ item[titleKey] }}
|
|
65
|
-
</view>
|
|
66
|
-
<wd-icon v-if="styleGroup === 3" name="chevron-right" size="22"></wd-icon>
|
|
67
78
|
</lcb-action-view>
|
|
68
79
|
</view>
|
|
69
80
|
</lcb-block>
|
|
@@ -98,20 +109,16 @@ withDefaults(defineProps<LcbImgNavProps>(), {
|
|
|
98
109
|
textSize: 28,
|
|
99
110
|
urlKey: 'url',
|
|
100
111
|
titleKey: 'title',
|
|
112
|
+
itemFlexMode: 'column',
|
|
113
|
+
itemGap: 24,
|
|
101
114
|
})
|
|
102
115
|
</script>
|
|
103
116
|
|
|
104
117
|
<style lang="scss" scoped>
|
|
105
118
|
.single {
|
|
106
|
-
display: flex;
|
|
107
|
-
gap: 24rpx;
|
|
108
|
-
width: 100%;
|
|
109
119
|
overflow-x: auto;
|
|
110
120
|
white-space: nowrap;
|
|
111
|
-
|
|
112
|
-
> view {
|
|
113
|
-
display: inline-flex;
|
|
114
|
-
}
|
|
121
|
+
width: 100%;
|
|
115
122
|
}
|
|
116
123
|
|
|
117
124
|
.mutil {
|
|
@@ -132,7 +139,6 @@ withDefaults(defineProps<LcbImgNavProps>(), {
|
|
|
132
139
|
}
|
|
133
140
|
}
|
|
134
141
|
.title {
|
|
135
|
-
width: 68px;
|
|
136
142
|
overflow: hidden;
|
|
137
143
|
line-height: 1;
|
|
138
144
|
text-align: center;
|
|
@@ -33,4 +33,17 @@ export interface LcbImgNavProps extends LcbBlockProps {
|
|
|
33
33
|
textSize?: number
|
|
34
34
|
urlKey?: string
|
|
35
35
|
titleKey?: string
|
|
36
|
+
|
|
37
|
+
itemBgColor?: string
|
|
38
|
+
itemRadius?: number
|
|
39
|
+
itemVerticalPadding?: number
|
|
40
|
+
itemHorizontalPadding?: number
|
|
41
|
+
itemGap?: number
|
|
42
|
+
itemFlexMode?: 'row' | 'column'
|
|
43
|
+
/** 阴影颜色 */
|
|
44
|
+
itemShadowColor?: string
|
|
45
|
+
/** 阴影大小 */
|
|
46
|
+
itemShadowSize?: number
|
|
47
|
+
/** 模糊大小 */
|
|
48
|
+
itemBlurSize?: number
|
|
36
49
|
}
|
|
@@ -1,22 +1,24 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<wd-popup v-model="show" custom-style="background:transparent" @close="
|
|
3
|
-
<view class="pop-view flex justify-center flex-col items-center" v-if="
|
|
4
|
-
<view class="text-4 mb-4 font-500">{{
|
|
5
|
-
<mp-html :content="
|
|
2
|
+
<wd-popup v-model="show" custom-style="background:transparent" @close="onClose" closable>
|
|
3
|
+
<view class="pop-view flex justify-center flex-col items-center" v-if="modelValue">
|
|
4
|
+
<view class="text-4 mb-4 font-500">{{ modelValue.userRightsTitle }}</view>
|
|
5
|
+
<mp-html :content="modelValue.userRightsContent" v-if="modelValue.userRightsContent" />
|
|
6
6
|
<wd-qr-code
|
|
7
7
|
custom-class="!mt-5"
|
|
8
8
|
:size="130"
|
|
9
9
|
canvasId="qrCode"
|
|
10
|
-
:value="
|
|
11
|
-
v-if="
|
|
10
|
+
:value="modelValue.qrCode"
|
|
11
|
+
v-if="modelValue.qrCode"
|
|
12
12
|
/>
|
|
13
|
-
<view class="text-3 text-#969696 mt-3.5" v-if="
|
|
13
|
+
<view class="text-3 text-#969696 mt-3.5" v-if="modelValue.qrCodeTips">
|
|
14
|
+
{{ modelValue.qrCodeTips }}
|
|
15
|
+
</view>
|
|
14
16
|
<wd-button
|
|
15
17
|
type="primary"
|
|
16
18
|
plain
|
|
17
19
|
custom-class="!rounded-10rpx !mt-4 "
|
|
18
20
|
@click="onDrawdown"
|
|
19
|
-
v-if="['voucher', 'cashVoucher'].includes(
|
|
21
|
+
v-if="['voucher', 'cashVoucher'].includes(modelValue.userRightsType) && !hiddenDrawdown"
|
|
20
22
|
>
|
|
21
23
|
{{ translate('领取') }}
|
|
22
24
|
</wd-button>
|
|
@@ -31,21 +33,29 @@ import mpHtml from 'mp-html/src/uni-app/components/mp-html/mp-html.vue'
|
|
|
31
33
|
import { watch, ref } from 'vue'
|
|
32
34
|
const { translate } = useTranslate()
|
|
33
35
|
const show = ref(false)
|
|
34
|
-
|
|
35
|
-
data?: UserLevelRightsList
|
|
36
|
+
defineProps<{
|
|
36
37
|
hiddenDrawdown?: boolean
|
|
37
38
|
}>()
|
|
39
|
+
const modelValue = defineModel<UserLevelRightsList>()
|
|
38
40
|
watch(
|
|
39
|
-
() =>
|
|
41
|
+
() => modelValue,
|
|
40
42
|
(val) => {
|
|
41
43
|
if (val) show.value = true
|
|
42
44
|
},
|
|
45
|
+
{
|
|
46
|
+
immediate: true,
|
|
47
|
+
deep: true,
|
|
48
|
+
},
|
|
43
49
|
)
|
|
44
50
|
const onDrawdown = () => {
|
|
45
51
|
uni.navigateTo({
|
|
46
|
-
url: `/pages/drawdown/drawdown?from=vip&id=${
|
|
52
|
+
url: `/pages/drawdown/drawdown?from=vip&id=${modelValue.value?.userRightsConfigId}`,
|
|
47
53
|
})
|
|
48
54
|
}
|
|
55
|
+
const onClose = () => {
|
|
56
|
+
show.value = false
|
|
57
|
+
modelValue.value = undefined
|
|
58
|
+
}
|
|
49
59
|
</script>
|
|
50
60
|
<style lang="scss" scoped>
|
|
51
61
|
.pop-view {
|
package/package.json
CHANGED
|
@@ -1,26 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tplc/business",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.76",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"业务组件"
|
|
6
6
|
],
|
|
7
7
|
"type": "module",
|
|
8
|
-
"scripts": {
|
|
9
|
-
"pub": "pnpm dts && pnpm publish --no-git-checks",
|
|
10
|
-
"dts": "rm -rf types && vue-tsc --project ./tsconfig.dts.json && pnpm prettier --write types",
|
|
11
|
-
"release-major": "standard-version --release-as major ",
|
|
12
|
-
"release-minor": "standard-version --release-as minor",
|
|
13
|
-
"release-patch": "standard-version --release-as patch ",
|
|
14
|
-
"generateComponent": "node ./scripts/createComponent.mjs",
|
|
15
|
-
"generateGlobalDts": "node ./scripts/generateGlobalDts.mjs"
|
|
16
|
-
},
|
|
17
8
|
"publishConfig": {
|
|
18
9
|
"access": "public",
|
|
19
10
|
"registry": "https://registry.npmjs.org/"
|
|
20
11
|
},
|
|
21
12
|
"peerDependencies": {
|
|
22
|
-
"
|
|
23
|
-
"
|
|
13
|
+
"vue": ">=3.2.47",
|
|
14
|
+
"@tplc/wot": "0.1.31"
|
|
24
15
|
},
|
|
25
16
|
"engines": {
|
|
26
17
|
"node": ">=18",
|
|
@@ -30,5 +21,14 @@
|
|
|
30
21
|
"mp-html": "^2.5.0",
|
|
31
22
|
"qs": "6.5.3",
|
|
32
23
|
"uview-plus": "^3.3.9"
|
|
24
|
+
},
|
|
25
|
+
"scripts": {
|
|
26
|
+
"pub": "pnpm dts && pnpm publish --no-git-checks",
|
|
27
|
+
"dts": "rm -rf types && vue-tsc --project ./tsconfig.dts.json && pnpm prettier --write types",
|
|
28
|
+
"release-major": "standard-version --release-as major ",
|
|
29
|
+
"release-minor": "standard-version --release-as minor",
|
|
30
|
+
"release-patch": "standard-version --release-as patch ",
|
|
31
|
+
"generateComponent": "node ./scripts/createComponent.mjs",
|
|
32
|
+
"generateGlobalDts": "node ./scripts/generateGlobalDts.mjs"
|
|
33
33
|
}
|
|
34
|
-
}
|
|
34
|
+
}
|
|
@@ -8,6 +8,7 @@ declare const _default: import('vue').DefineComponent<
|
|
|
8
8
|
radius: number
|
|
9
9
|
placeholder: string
|
|
10
10
|
btnText: string
|
|
11
|
+
opacity: number
|
|
11
12
|
}
|
|
12
13
|
>,
|
|
13
14
|
{},
|
|
@@ -29,6 +30,7 @@ declare const _default: import('vue').DefineComponent<
|
|
|
29
30
|
radius: number
|
|
30
31
|
placeholder: string
|
|
31
32
|
btnText: string
|
|
33
|
+
opacity: number
|
|
32
34
|
}
|
|
33
35
|
>
|
|
34
36
|
>
|
|
@@ -38,6 +40,7 @@ declare const _default: import('vue').DefineComponent<
|
|
|
38
40
|
placeholder: string
|
|
39
41
|
marginHorizontal: number
|
|
40
42
|
backgroundColor: string
|
|
43
|
+
opacity: number
|
|
41
44
|
btnText: string
|
|
42
45
|
},
|
|
43
46
|
{}
|
|
@@ -14,6 +14,8 @@ declare const _default: import('vue').DefineComponent<
|
|
|
14
14
|
textSize: number
|
|
15
15
|
urlKey: string
|
|
16
16
|
titleKey: string
|
|
17
|
+
itemFlexMode: string
|
|
18
|
+
itemGap: number
|
|
17
19
|
}
|
|
18
20
|
>,
|
|
19
21
|
{},
|
|
@@ -43,6 +45,8 @@ declare const _default: import('vue').DefineComponent<
|
|
|
43
45
|
textSize: number
|
|
44
46
|
urlKey: string
|
|
45
47
|
titleKey: string
|
|
48
|
+
itemFlexMode: string
|
|
49
|
+
itemGap: number
|
|
46
50
|
}
|
|
47
51
|
>
|
|
48
52
|
>
|
|
@@ -61,6 +65,8 @@ declare const _default: import('vue').DefineComponent<
|
|
|
61
65
|
textSize: number
|
|
62
66
|
urlKey: string
|
|
63
67
|
titleKey: string
|
|
68
|
+
itemGap: number
|
|
69
|
+
itemFlexMode: 'row' | 'column'
|
|
64
70
|
},
|
|
65
71
|
{}
|
|
66
72
|
>
|
|
@@ -30,4 +30,16 @@ export interface LcbImgNavProps extends LcbBlockProps {
|
|
|
30
30
|
textSize?: number
|
|
31
31
|
urlKey?: string
|
|
32
32
|
titleKey?: string
|
|
33
|
+
itemBgColor?: string
|
|
34
|
+
itemRadius?: number
|
|
35
|
+
itemVerticalPadding?: number
|
|
36
|
+
itemHorizontalPadding?: number
|
|
37
|
+
itemGap?: number
|
|
38
|
+
itemFlexMode?: 'row' | 'column'
|
|
39
|
+
/** 阴影颜色 */
|
|
40
|
+
itemShadowColor?: string
|
|
41
|
+
/** 阴影大小 */
|
|
42
|
+
itemShadowSize?: number
|
|
43
|
+
/** 模糊大小 */
|
|
44
|
+
itemBlurSize?: number
|
|
33
45
|
}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { UserLevelRightsList } from '../../api'
|
|
2
|
+
declare let __VLS_typeProps: {
|
|
3
|
+
hiddenDrawdown?: boolean
|
|
4
|
+
}
|
|
5
|
+
type __VLS_PublicProps = {
|
|
6
|
+
modelValue?: UserLevelRightsList
|
|
7
|
+
} & typeof __VLS_typeProps
|
|
2
8
|
declare const _default: import('vue').DefineComponent<
|
|
3
|
-
__VLS_TypePropsToOption<
|
|
4
|
-
data?: UserLevelRightsList
|
|
5
|
-
hiddenDrawdown?: boolean
|
|
6
|
-
}>,
|
|
9
|
+
__VLS_TypePropsToOption<__VLS_PublicProps>,
|
|
7
10
|
{},
|
|
8
11
|
unknown,
|
|
9
12
|
{},
|
|
10
13
|
{},
|
|
11
14
|
import('vue').ComponentOptionsMixin,
|
|
12
15
|
import('vue').ComponentOptionsMixin,
|
|
13
|
-
{
|
|
16
|
+
{
|
|
17
|
+
'update:modelValue': (modelValue: UserLevelRightsList) => void
|
|
18
|
+
},
|
|
14
19
|
string,
|
|
15
20
|
import('vue').PublicProps,
|
|
16
|
-
Readonly<
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
data?: UserLevelRightsList
|
|
20
|
-
hiddenDrawdown?: boolean
|
|
21
|
-
}>
|
|
22
|
-
>
|
|
23
|
-
>,
|
|
21
|
+
Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_PublicProps>>> & {
|
|
22
|
+
'onUpdate:modelValue'?: ((modelValue: UserLevelRightsList) => any) | undefined
|
|
23
|
+
},
|
|
24
24
|
{},
|
|
25
25
|
{}
|
|
26
26
|
>
|