@tplc/business 0.0.29 → 0.0.30
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 +2 -0
- package/components/lcb-tags/lcb-tags.vue +4 -11
- package/components/lcb-video/lcb-video.vue +11 -13
- package/iconfonts/index.css +339 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
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.30](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.15...v0.0.30) (2024-10-19)
|
|
6
|
+
|
|
5
7
|
### [0.0.29](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.14...v0.0.29) (2024-10-19)
|
|
6
8
|
|
|
7
9
|
|
|
@@ -1,12 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<lcb-block v-bind="$props">
|
|
3
|
-
<scroll-view v-if="mode == 1" scroll-x class="w-full whitespace-nowrap"
|
|
4
|
-
// marginLeft: transformValueUnit(marginHorizontal),
|
|
5
|
-
// marginRight: transformValueUnit(marginHorizontal),
|
|
6
|
-
// marginTop: transformValueUnit(-(floatUp || 0)),
|
|
7
|
-
// marginTop: transformValueUnit(marginTop),
|
|
8
|
-
// marginBottom: transformValueUnit(marginBottom),
|
|
9
|
-
}">
|
|
3
|
+
<scroll-view v-if="mode == 1" scroll-x class="w-full whitespace-nowrap">
|
|
10
4
|
<view class="flex shrink-0 h-46rpx relative -mx-8rpx">
|
|
11
5
|
<Tag v-bind="itemProps" />
|
|
12
6
|
</view>
|
|
@@ -20,7 +14,7 @@
|
|
|
20
14
|
<script setup lang="ts">
|
|
21
15
|
import { LcbTagsProps } from './types'
|
|
22
16
|
import Tag from './Tag/index.vue'
|
|
23
|
-
import { computed } from 'vue'
|
|
17
|
+
import { computed } from 'vue'
|
|
24
18
|
import { formatJson } from '../../utils/utils'
|
|
25
19
|
defineOptions({
|
|
26
20
|
name: 'LcbTags',
|
|
@@ -35,10 +29,9 @@ const props = withDefaults(defineProps<LcbTagsProps>(), {
|
|
|
35
29
|
tagColor: '#000',
|
|
36
30
|
})
|
|
37
31
|
const itemProps = computed(() => {
|
|
38
|
-
const data = props.items
|
|
39
|
-
console.log(data, (typeof data == 'object') ? data : formatJson(data, []))
|
|
32
|
+
const data = props.items
|
|
40
33
|
return {
|
|
41
|
-
items:
|
|
34
|
+
items: typeof data === 'object' ? data : formatJson(data, []),
|
|
42
35
|
fontSize: props.fontSize,
|
|
43
36
|
tagRadius: props.tagRadius,
|
|
44
37
|
tagColor: props.tagColor,
|
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<lcb-block v-bind="
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
showProgress,
|
|
14
|
-
}" class="w-full" />
|
|
2
|
+
<lcb-block v-bind="$props">
|
|
3
|
+
<video
|
|
4
|
+
v-bind="{
|
|
5
|
+
src,
|
|
6
|
+
loop,
|
|
7
|
+
muted,
|
|
8
|
+
autoplay,
|
|
9
|
+
showProgress,
|
|
10
|
+
}"
|
|
11
|
+
class="w-full"
|
|
12
|
+
/>
|
|
15
13
|
</lcb-block>
|
|
16
14
|
</template>
|
|
17
15
|
|
package/iconfonts/index.css
CHANGED
|
@@ -1 +1,339 @@
|
|
|
1
|
-
@
|
|
1
|
+
@font-face {
|
|
2
|
+
font-family: 'lcb'; /* Project id 4710234 */
|
|
3
|
+
src:
|
|
4
|
+
url('//at.alicdn.com/t/c/font_4710234_4pa59gffcpf.woff2?t=1729228175639') format('woff2'),
|
|
5
|
+
url('//at.alicdn.com/t/c/font_4710234_4pa59gffcpf.woff?t=1729228175639') format('woff'),
|
|
6
|
+
url('//at.alicdn.com/t/c/font_4710234_4pa59gffcpf.ttf?t=1729228175639') format('truetype');
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.lcb {
|
|
10
|
+
font-family: 'lcb' !important;
|
|
11
|
+
font-size: 16px;
|
|
12
|
+
font-style: normal;
|
|
13
|
+
-webkit-font-smoothing: antialiased;
|
|
14
|
+
-moz-osx-font-smoothing: grayscale;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.lcb-mingpian:before {
|
|
18
|
+
content: '\e654';
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.lcb-douyin:before {
|
|
22
|
+
content: '\e655';
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.lcb-xiangzuo:before {
|
|
26
|
+
content: '\e656';
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.lcb-yinhangka:before {
|
|
30
|
+
content: '\e658';
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.lcb-shangjia:before {
|
|
34
|
+
content: '\e659';
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.lcb-dengji:before {
|
|
38
|
+
content: '\e65a';
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.lcb-xuanzhong:before {
|
|
42
|
+
content: '\e65b';
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.lcb-shoujihao:before {
|
|
46
|
+
content: '\e65c';
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.lcb-shangchuan:before {
|
|
50
|
+
content: '\e65d';
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.lcb-geren:before {
|
|
54
|
+
content: '\e65e';
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.lcb-xiaoyan:before {
|
|
58
|
+
content: '\e65f';
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.lcb-xiangyou:before {
|
|
62
|
+
content: '\e661';
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.lcb-fensi:before {
|
|
66
|
+
content: '\e646';
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.lcb-shenhezhong:before {
|
|
70
|
+
content: '\e647';
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.lcb-shijian:before {
|
|
74
|
+
content: '\e648';
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.lcb-renshu:before {
|
|
78
|
+
content: '\e64b';
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.lcb-gouxuan:before {
|
|
82
|
+
content: '\e64c';
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.lcb-yijianfankui:before {
|
|
86
|
+
content: '\e64d';
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.lcb-jianji:before {
|
|
90
|
+
content: '\e64f';
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.lcb-kefu:before {
|
|
94
|
+
content: '\e650';
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.lcb-shuaxin:before {
|
|
98
|
+
content: '\e652';
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.lcb-zuo_left:before {
|
|
102
|
+
content: '\e643';
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.lcb-shouye_home-two:before {
|
|
106
|
+
content: '\e644';
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.lcb-jiantouzuo_arrow-left:before {
|
|
110
|
+
content: '\e645';
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.lcb-fanyi_translate1:before {
|
|
114
|
+
content: '\e641';
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.lcb-shouye_home1:before {
|
|
118
|
+
content: '\e642';
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.lcb-buxihuan_dislike-two:before {
|
|
122
|
+
content: '\e63f';
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.lcb-biaoqian_tag:before {
|
|
126
|
+
content: '\e640';
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.lcb-gengduo1_more-one2:before {
|
|
130
|
+
content: '\e62e';
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.lcb-peizhi_config:before {
|
|
134
|
+
content: '\e62f';
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.lcb-gengduo_more-app:before {
|
|
138
|
+
content: '\e630';
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.lcb-pubuliuhengxiang_waterfalls-h:before {
|
|
142
|
+
content: '\e631';
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.lcb-nvxing_female:before {
|
|
146
|
+
content: '\e632';
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.lcb-jiazai_loading:before {
|
|
150
|
+
content: '\e633';
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.lcb-nanxing_male:before {
|
|
154
|
+
content: '\e634';
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.lcb-gengduo2_more-two2:before {
|
|
158
|
+
content: '\e635';
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.lcb-fangda_zoom-in:before {
|
|
162
|
+
content: '\e636';
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.lcb-baocun_save:before {
|
|
166
|
+
content: '\e637';
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.lcb-gengduo_more2:before {
|
|
170
|
+
content: '\e638';
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.lcb-buxihuan_dislike:before {
|
|
174
|
+
content: '\e639';
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.lcb-fenxiang3_share-three:before {
|
|
178
|
+
content: '\e63a';
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.lcb-fenxiang_share:before {
|
|
182
|
+
content: '\e63b';
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.lcb-dingyue_rss:before {
|
|
186
|
+
content: '\e63c';
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.lcb-buxihuan_unlike:before {
|
|
190
|
+
content: '\e63d';
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.lcb-biaoqian_tag-one2:before {
|
|
194
|
+
content: '\e63e';
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.lcb-shuqian_bookmark-one:before {
|
|
198
|
+
content: '\e61d';
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.lcb-pubuliuzongxiang_waterfalls-v:before {
|
|
202
|
+
content: '\e61e';
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.lcb-shezhipeizhi_setting-config:before {
|
|
206
|
+
content: '\e61f';
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.lcb-gongju_tool:before {
|
|
210
|
+
content: '\e620';
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.lcb-shouye_home:before {
|
|
214
|
+
content: '\e621';
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.lcb-baocunyingpan_save-one:before {
|
|
218
|
+
content: '\e622';
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.lcb-hanbaotubiao_hamburger-button:before {
|
|
222
|
+
content: '\e623';
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.lcb-fanyi_translate:before {
|
|
226
|
+
content: '\e624';
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.lcb-shanchu_delete-two:before {
|
|
230
|
+
content: '\e625';
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.lcb-leida_radar:before {
|
|
234
|
+
content: '\e626';
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.lcb-miaozhun_aiming:before {
|
|
238
|
+
content: '\e627';
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.lcb-quanbu_all-application:before {
|
|
242
|
+
content: '\e628';
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.lcb-jiazai4_loading-four:before {
|
|
246
|
+
content: '\e629';
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.lcb-faan_bill:before {
|
|
250
|
+
content: '\e62a';
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.lcb-junhengqi_equalizer:before {
|
|
254
|
+
content: '\e62b';
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.lcb-shandian_lightning:before {
|
|
258
|
+
content: '\e62d';
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.lcb-tishi_tips:before {
|
|
262
|
+
content: '\e60b';
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
.lcb-yulan-guanbi_preview-close-one:before {
|
|
266
|
+
content: '\e60d';
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
.lcb-yulan-guanbi_preview-close:before {
|
|
270
|
+
content: '\e60e';
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.lcb-suoxiao_zoom-out:before {
|
|
274
|
+
content: '\e60f';
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
.lcb-zhaopian_pic:before {
|
|
278
|
+
content: '\e610';
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.lcb-sousuo_search:before {
|
|
282
|
+
content: '\e611';
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
.lcb-shuaxin_refresh:before {
|
|
286
|
+
content: '\e612';
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
.lcb-xiangji_camera:before {
|
|
290
|
+
content: '\e613';
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
.lcb-shuimian_sleep:before {
|
|
294
|
+
content: '\e614';
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
.lcb-xihuan_like:before {
|
|
298
|
+
content: '\e615';
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
.lcb-xitong_system:before {
|
|
302
|
+
content: '\e616';
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
.lcb-shezhi_setting-three:before {
|
|
306
|
+
content: '\e617';
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
.lcb-shalouman_hourglass-full:before {
|
|
310
|
+
content: '\e618';
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
.lcb-shaloukong_hourglass-null:before {
|
|
314
|
+
content: '\e619';
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
.lcb-shezhi_setting-two:before {
|
|
318
|
+
content: '\e61a';
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
.lcb-shuqian_bookmark:before {
|
|
322
|
+
content: '\e61b';
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
.lcb-shezhi_setting-one:before {
|
|
326
|
+
content: '\e61c';
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
.lcb-shezhi_setting:before {
|
|
330
|
+
content: '\e60a';
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
.lcb-yulan-dakai_preview-open:before {
|
|
334
|
+
content: '\e60c';
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
.lcb-biaoqian_tag-one:before {
|
|
338
|
+
content: '\e605';
|
|
339
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tplc/business",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.30",
|
|
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.15"
|
|
15
15
|
},
|
|
16
16
|
"engines": {
|
|
17
17
|
"node": ">=18",
|