@10yun/cv-mobile-ui 0.5.50 → 0.5.52
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/build/common_func.js +3 -1
- package/build/parse-create.js +17 -8
- package/build/parse-pages-pkg.js +10 -4
- package/empty-devtools.js +3 -0
- package/libs/aes.js +50 -0
- package/libs/bledefine/bledefine.js +51 -0
- package/libs/bledefine/ios-ble-statuscode.js +97 -0
- package/libs/nfc/hexiii-nfc.js +236 -0
- package/libs/nfc.js +179 -0
- package/libs/sdk/html2canvas.js +8 -0
- package/libs/sdk/sdk-h5.js +585 -0
- package/{plugins → libs}/storage2.js +0 -5
- package/{plugins → libs}/storage3.js +0 -4
- package/libs/validators/index.js +438 -0
- package/libs/weapp-qrcode.js +1108 -0
- package/package.json +2 -3
- package/ui-cv/components/cv-dialog-share/tui-share.vue +16 -16
- package/ui-cv/components/cv-mask-png/cv-mask-png.vue +27 -0
- package/ui-cv/components/cv-mask-svg/cv-mask-svg.vue +22 -0
- package/ui-cv/components/cv-mask-svg/mixins.js +131 -0
- package/ui-fireui/components/{fui-actionsheet/fui-actionsheet.vue → u-action-sheet/u-action-sheet.vue} +21 -21
- package/ui-fireui/components/{fui-alert/fui-alert.vue → u-alert/u-alert.vue} +13 -13
- package/ui-fireui/components/{fui-badge/fui-badge.vue → u-badge/u-badge.vue} +16 -16
- package/ui-fireui/components/{fui-bottom-navigation/fui-bottom-navigation.vue → u-bottom-navigation/u-bottom-navigation.vue} +47 -46
- package/ui-fireui/components/{fui-bottom-popup/fui-bottom-popup.vue → u-bottom-popup/u-bottom-popup.vue} +9 -8
- package/ui-fireui/components/{fui-bubble-popup/fui-bubble-popup.vue → u-bubble-popup/u-bubble-popup.vue} +19 -15
- package/ui-fireui/components/{fui-button/fui-button.vue → u-button/u-button.vue} +69 -69
- package/ui-fireui/components/u-button/u-button2.vue +553 -0
- package/ui-fireui/components/{fui-calendar/fui-calendar.vue → u-calendar/u-calendar.vue} +78 -78
- package/ui-fireui/components/u-calendar/u-calendar2.vue +801 -0
- package/ui-fireui/components/{fui-card/fui-card.vue → u-card/u-card.vue} +24 -24
- package/ui-fireui/components/{fui-cascade-selection/fui-cascade-selection.vue → u-cascade-selection/u-cascade-selection.vue} +32 -32
- package/ui-fireui/components/{fui-circular-progress/fui-circular-progress.vue → u-circular-progress/u-circular-progress.vue} +14 -6
- package/ui-fireui/components/{fui-collapse/fui-collapse.vue → u-collapse/u-collapse.vue} +19 -19
- package/ui-fireui/components/{fui-countdown/fui-countdown.vue → u-countdown/u-countdown.vue} +28 -28
- package/ui-fireui/components/{fui-datetime/fui-datetime.vue → u-datetime/u-datetime.vue} +51 -51
- package/ui-fireui/components/{fui-divider/fui-divider.vue → u-divider/u-divider.vue} +6 -6
- package/ui-fireui/components/{fui-drawer/fui-drawer.vue → u-drawer/u-drawer.vue} +11 -11
- package/ui-fireui/components/{fui-dropdown-list/fui-dropdown-list.vue → u-dropdown-list/u-dropdown-list.vue} +11 -6
- package/ui-fireui/components/{fui-fab/fui-fab.vue → u-fab/u-fab.vue} +30 -30
- package/ui-fireui/components/{fui-footer/fui-footer.vue → u-footer/u-footer.vue} +19 -15
- package/ui-fireui/components/{fui-grid/fui-grid.vue → u-grid/u-grid.vue} +13 -5
- package/ui-fireui/components/{fui-grid-item/fui-grid-item.vue → u-grid-item/u-grid-item.vue} +19 -19
- package/ui-fireui/components/{fui-icon/fui-icon.vue → u-icon/u-icon.vue} +191 -191
- package/ui-fireui/components/{fui-image-cropper/fui-image-cropper.vue → u-image-cropper/u-image-cropper.vue} +44 -44
- package/ui-fireui/components/{fui-image-group/fui-image-group.vue → u-image-group/u-image-group.vue} +7 -7
- package/ui-fireui/components/{fui-keyboard/fui-keyboard.vue → u-keyboard/u-keyboard.vue} +29 -32
- package/ui-fireui/components/{fui-keyboard-input/fui-keyboard-input.vue → u-keyboard-input/u-keyboard-input.vue} +9 -9
- package/ui-fireui/components/{fui-list-cell/fui-list-cell.vue → u-list-cell/u-list-cell.vue} +23 -23
- package/ui-fireui/components/{fui-list-view/fui-list-view.vue → u-list-view/u-list-view.vue} +11 -11
- package/ui-fireui/components/{fui-loading/fui-loading.vue → u-loading/u-loading.vue} +6 -6
- package/ui-fireui/components/{fui-loadmore/fui-loadmore.vue → u-loadmore/u-loadmore.vue} +15 -15
- package/ui-fireui/components/{fui-modal/fui-modal.vue → u-modal/u-modal.vue} +58 -58
- package/ui-fireui/components/{fui-navigation-bar/fui-navigation-bar.vue → u-navigation-bar/u-navigation-bar.vue} +11 -10
- package/ui-fireui/components/{fui-no-data/fui-no-data.vue → u-no-data/u-no-data.vue} +11 -11
- package/ui-fireui/components/{fui-nomore/fui-nomore.vue → u-nomore/u-nomore.vue} +10 -10
- package/ui-fireui/components/{fui-numberbox/fui-numberbox.vue → u-numberbox/u-numberbox.vue} +12 -12
- package/ui-fireui/components/{fui-numberbox-border/fui-numberbox-border.vue → u-numberbox-border/u-numberbox-border.vue} +10 -10
- package/ui-fireui/components/{fui-picture-cropper/fui-picture-cropper.vue → u-picture-cropper/u-picture-cropper.vue} +42 -42
- package/ui-fireui/components/u-picture-cropper/u-picture-cropper.wxs +582 -0
- package/ui-fireui/components/{fui-round-progress/fui-round-progress.vue → u-round-progress/u-round-progress.vue} +2 -2
- package/ui-fireui/components/{fui-scroll-top/fui-scroll-top.vue → u-scroll-top/u-scroll-top.vue} +21 -21
- package/ui-fireui/components/{fui-sharemodel/fui-sharemodel.vue → u-share-model/u-share-model.vue} +24 -24
- package/ui-fireui/components/{fui-skeleton/fui-skeleton.vue → u-skeleton/u-skeleton.vue} +22 -22
- package/ui-fireui/components/{fui-steps/fui-steps.vue → u-steps/u-steps.vue} +27 -27
- package/ui-fireui/components/{fui-sticky/fui-sticky.vue → u-sticky/u-sticky.vue} +4 -4
- package/ui-fireui/components/{fui-sticky-wxs/fui-sticky-wxs.vue → u-sticky-wxs/u-sticky-wxs.vue} +7 -7
- package/ui-fireui/components/u-sticky-wxs/u-sticky.wxs +46 -0
- package/ui-fireui/components/{fui-swipe-action/fui-swipe-action.vue → u-swipe-action/u-swipe-action.vue} +11 -11
- package/ui-fireui/components/{fui-tabbar/fui-tabbar.vue → u-tabbar/u-tabbar.vue} +26 -30
- package/ui-fireui/components/{fui-tabs/fui-tabs.vue → u-tabs/u-tabs.vue} +17 -17
- package/ui-fireui/components/{fui-tabs2/fui-tabs2.vue → u-tabs2/u-tabs2.vue} +17 -17
- package/ui-fireui/components/{fui-tag/fui-tag.vue → u-tag/u-tag.vue} +362 -374
- package/ui-fireui/components/{fui-time-axis/fui-time-axis.vue → u-time-axis/u-time-axis.vue} +3 -3
- package/ui-fireui/components/{fui-timeaxis-item/fui-timeaxis-item.vue → u-timeaxis-item/u-timeaxis-item.vue} +4 -4
- package/ui-fireui/components/{fui-tips/fui-tips.vue → u-tips/u-tips.vue} +20 -20
- package/ui-fireui/components/{fui-toast/fui-toast.vue → u-toast/u-toast.vue} +13 -13
- package/ui-fireui/components/{fui-top-dropdown/fui-top-dropdown.vue → u-top-dropdown/u-top-dropdown.vue} +8 -8
- package/ui-fireui/components/{fui-upload/fui-upload.vue → u-upload/u-upload.vue} +30 -30
- package/ui-fireui/components/u-upload2/u-upload.vue +464 -0
- package/ui-fireui/components/{fui-uploadsamll/fui-uploadsamll.vue → u-uploadsamll/u-uploadsamll.vue} +34 -34
- package/ui-fireui/css/thorui.css +589 -0
- package/ui-fireui/{fireui.css → index.css} +306 -268
- package/ui-fireui/nvue/u-circular-progress/gcanvas/bridge/bridge-weex.js +241 -0
- package/ui-fireui/nvue/u-circular-progress/gcanvas/context-2d/FillStyleLinearGradient.js +18 -0
- package/ui-fireui/nvue/u-circular-progress/gcanvas/context-2d/FillStylePattern.js +8 -0
- package/ui-fireui/nvue/u-circular-progress/gcanvas/context-2d/FillStyleRadialGradient.js +17 -0
- package/ui-fireui/nvue/u-circular-progress/gcanvas/context-2d/RenderingContext.js +666 -0
- package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/ActiveInfo.js +11 -0
- package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/Buffer.js +21 -0
- package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/Framebuffer.js +21 -0
- package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/GLenum.js +298 -0
- package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/GLmethod.js +142 -0
- package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/GLtype.js +23 -0
- package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/Program.js +21 -0
- package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/Renderbuffer.js +21 -0
- package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/RenderingContext.js +1191 -0
- package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/Shader.js +22 -0
- package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/ShaderPrecisionFormat.js +11 -0
- package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/Texture.js +22 -0
- package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/UniformLocation.js +22 -0
- package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/classUtils.js +3 -0
- package/ui-fireui/nvue/u-circular-progress/gcanvas/env/canvas.js +74 -0
- package/ui-fireui/nvue/u-circular-progress/gcanvas/env/image.js +96 -0
- package/ui-fireui/nvue/u-circular-progress/gcanvas/env/tool.js +24 -0
- package/ui-fireui/nvue/u-circular-progress/gcanvas/index.js +47 -0
- package/ui-fireui/nvue/u-circular-progress/u-circular-progress.nvue +203 -0
- package/ui-fireui/nvue/u-icon/icons.js +188 -0
- package/ui-fireui/nvue/u-icon/u-icon.vue +78 -0
- package/uview-plus/components/u-grid/u-grid.vue +23 -1
- package/ui-fireui/components/fui-picture-cropper/fui-picture-cropper.wxs +0 -560
- package/ui-fireui/components/fui-rate/fui-rate.vue +0 -167
- package/ui-fireui/components/fui-sticky-wxs/fui-sticky.wxs +0 -44
- /package/ui-fireui/components/{fui-calendar/fui-calendar.js → u-calendar/u-calendar.js} +0 -0
|
@@ -1,374 +1,362 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<view
|
|
3
|
-
class="
|
|
4
|
-
:hover-class="hover ? '
|
|
5
|
-
:hover-stay-time="150"
|
|
6
|
-
:class="[
|
|
7
|
-
originLeft ? '
|
|
8
|
-
originRight ? '
|
|
9
|
-
getClassName(shape, plain),
|
|
10
|
-
getTypeClass(type, plain)
|
|
11
|
-
]"
|
|
12
|
-
:style="{
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
border:
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
border-radius:
|
|
334
|
-
}
|
|
335
|
-
|
|
336
|
-
.
|
|
337
|
-
border-radius: 50rpx;
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
.
|
|
341
|
-
border-radius:
|
|
342
|
-
}
|
|
343
|
-
|
|
344
|
-
.
|
|
345
|
-
border-radius:
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
.
|
|
349
|
-
border-radius:
|
|
350
|
-
}
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
.
|
|
357
|
-
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
.
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
/* tag end*/
|
|
365
|
-
.fui-origin-left {
|
|
366
|
-
transform-origin: 0 center;
|
|
367
|
-
}
|
|
368
|
-
.fui-origin-right {
|
|
369
|
-
transform-origin: 100% center;
|
|
370
|
-
}
|
|
371
|
-
.fui-tag-opcity {
|
|
372
|
-
opacity: 0.5;
|
|
373
|
-
}
|
|
374
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<view
|
|
3
|
+
class="up-tag"
|
|
4
|
+
:hover-class="hover ? 'up-tag-opcity' : ''"
|
|
5
|
+
:hover-stay-time="150"
|
|
6
|
+
:class="[
|
|
7
|
+
originLeft ? 'up-origin-left' : '',
|
|
8
|
+
originRight ? 'up-origin-right' : '',
|
|
9
|
+
getClassName(shape, plain),
|
|
10
|
+
getTypeClass(type, plain)
|
|
11
|
+
]"
|
|
12
|
+
:style="{ transform: `scale(${scaleMultiple})`, padding: padding, margin: margin, fontSize: size, lineHeight: size }"
|
|
13
|
+
@tap="handleClick"
|
|
14
|
+
>
|
|
15
|
+
<slot></slot>
|
|
16
|
+
</view>
|
|
17
|
+
</template>
|
|
18
|
+
|
|
19
|
+
<script>
|
|
20
|
+
export default {
|
|
21
|
+
name: 'fuiTag',
|
|
22
|
+
props: {
|
|
23
|
+
type: {
|
|
24
|
+
type: String,
|
|
25
|
+
default: 'primary'
|
|
26
|
+
},
|
|
27
|
+
//padding
|
|
28
|
+
padding: {
|
|
29
|
+
type: String,
|
|
30
|
+
default: '16rpx 26rpx'
|
|
31
|
+
},
|
|
32
|
+
margin: {
|
|
33
|
+
type: String,
|
|
34
|
+
default: '0'
|
|
35
|
+
},
|
|
36
|
+
//文字大小 rpx
|
|
37
|
+
size: {
|
|
38
|
+
type: String,
|
|
39
|
+
default: '28rpx'
|
|
40
|
+
},
|
|
41
|
+
// circle, square,circleLeft,circleRight
|
|
42
|
+
shape: {
|
|
43
|
+
type: String,
|
|
44
|
+
default: 'square'
|
|
45
|
+
},
|
|
46
|
+
//是否空心
|
|
47
|
+
plain: {
|
|
48
|
+
type: Boolean,
|
|
49
|
+
default: false
|
|
50
|
+
},
|
|
51
|
+
//点击效果
|
|
52
|
+
hover: {
|
|
53
|
+
type: Boolean,
|
|
54
|
+
default: false
|
|
55
|
+
},
|
|
56
|
+
//缩放倍数
|
|
57
|
+
scaleMultiple: {
|
|
58
|
+
type: Number,
|
|
59
|
+
default: 1
|
|
60
|
+
},
|
|
61
|
+
originLeft: {
|
|
62
|
+
type: Boolean,
|
|
63
|
+
default: false
|
|
64
|
+
},
|
|
65
|
+
originRight: {
|
|
66
|
+
type: Boolean,
|
|
67
|
+
default: false
|
|
68
|
+
},
|
|
69
|
+
index: {
|
|
70
|
+
type: Number,
|
|
71
|
+
default: 0
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
methods: {
|
|
75
|
+
handleClick() {
|
|
76
|
+
this.$emit('click', { index: this.index });
|
|
77
|
+
},
|
|
78
|
+
getTypeClass(type, plain) {
|
|
79
|
+
return plain ? 'up-' + type + '-outline' : 'up-' + type;
|
|
80
|
+
},
|
|
81
|
+
getClassName(shape, plain) {
|
|
82
|
+
//circle, square,circleLeft,circleRight
|
|
83
|
+
var className = plain ? 'up-tag-outline ' : '';
|
|
84
|
+
if (shape != 'square') {
|
|
85
|
+
if (shape == 'circle') {
|
|
86
|
+
className = className + (plain ? 'up-tag-outline-fillet' : 'up-tag-fillet');
|
|
87
|
+
} else if (shape == 'circleLeft') {
|
|
88
|
+
className = className + 'up-tag-fillet-left';
|
|
89
|
+
} else if (shape == 'circleRight') {
|
|
90
|
+
className = className + 'up-tag-fillet-right';
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
return className;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
};
|
|
97
|
+
</script>
|
|
98
|
+
|
|
99
|
+
<style scoped>
|
|
100
|
+
/* color start*/
|
|
101
|
+
|
|
102
|
+
.up-primary {
|
|
103
|
+
background-color: #5677fc !important;
|
|
104
|
+
color: #fff;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.up-light-primary {
|
|
108
|
+
background-color: #5c8dff !important;
|
|
109
|
+
color: #fff;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.up-dark-primary {
|
|
113
|
+
background-color: #4a67d6 !important;
|
|
114
|
+
color: #fff;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.up-dLight-primary {
|
|
118
|
+
background-color: #4e77d9 !important;
|
|
119
|
+
color: #fff;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.up-danger {
|
|
123
|
+
background-color: #ed3f14 !important;
|
|
124
|
+
color: #fff;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.up-red {
|
|
128
|
+
background-color: #ff201f !important;
|
|
129
|
+
color: #fff;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.up-warning {
|
|
133
|
+
background-color: #ff7900 !important;
|
|
134
|
+
color: #fff;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.up-green {
|
|
138
|
+
background-color: #19be6b !important;
|
|
139
|
+
color: #fff;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.up-high-green {
|
|
143
|
+
background-color: #52dcae !important;
|
|
144
|
+
color: #52dcae;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.up-black {
|
|
148
|
+
background-color: #000 !important;
|
|
149
|
+
color: #fff;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.up-white {
|
|
153
|
+
background-color: #fff !important;
|
|
154
|
+
color: #333 !important;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.up-translucent {
|
|
158
|
+
background-color: rgba(0, 0, 0, 0.7);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.up-light-black {
|
|
162
|
+
background-color: #333 !important;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.up-gray {
|
|
166
|
+
background-color: #ededed !important;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.up-phcolor-gray {
|
|
170
|
+
background-color: #ccc !important;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.up-divider-gray {
|
|
174
|
+
background-color: #eaeef1 !important;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.up-btn-gray {
|
|
178
|
+
background-color: #ededed !important;
|
|
179
|
+
color: #999 !important;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.up-hover-gray {
|
|
183
|
+
background-color: #f7f7f9 !important;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.up-bg-gray {
|
|
187
|
+
background-color: #fafafa !important;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.up-light-blue {
|
|
191
|
+
background-color: #ecf6fd;
|
|
192
|
+
color: #4dabeb !important;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.up-light-brownish {
|
|
196
|
+
background-color: #fcebef;
|
|
197
|
+
color: #8a5966 !important;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.up-light-orange {
|
|
201
|
+
background-color: #fef5eb;
|
|
202
|
+
color: #faa851 !important;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.up-light-green {
|
|
206
|
+
background-color: #e8f6e8;
|
|
207
|
+
color: #44cf85 !important;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.up-primary-outline::after {
|
|
211
|
+
border: 1px solid #5677fc !important;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.up-primary-outline {
|
|
215
|
+
color: #5677fc !important;
|
|
216
|
+
background-color: none;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.up-danger-outline {
|
|
220
|
+
color: #ed3f14 !important;
|
|
221
|
+
background-color: none;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.up-danger-outline::after {
|
|
225
|
+
border: 1px solid #ed3f14 !important;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.up-red-outline {
|
|
229
|
+
color: #ff201f !important;
|
|
230
|
+
background-color: none;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.up-red-outline::after {
|
|
234
|
+
border: 1px solid #ff201f !important;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.up-warning-outline {
|
|
238
|
+
color: #ff7900 !important;
|
|
239
|
+
background-color: none;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.up-warning-outline::after {
|
|
243
|
+
border: 1px solid #ff7900 !important;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.up-green-outline {
|
|
247
|
+
color: #44cf85 !important;
|
|
248
|
+
background-color: none;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.up-green-outline::after {
|
|
252
|
+
border: 1px solid #44cf85 !important;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.up-high-green-outline {
|
|
256
|
+
color: #52dcae !important;
|
|
257
|
+
background-color: none;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
.up-high-green-outline::after {
|
|
261
|
+
border: 1px solid #52dcae !important;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
.up-gray-outline {
|
|
265
|
+
color: #999 !important;
|
|
266
|
+
background-color: none;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
.up-gray-outline::after {
|
|
270
|
+
border: 1px solid #ccc !important;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.up-black-outline {
|
|
274
|
+
color: #333 !important;
|
|
275
|
+
background-color: none;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
.up-black-outline::after {
|
|
279
|
+
border: 1px solid #333 !important;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
.up-white-outline {
|
|
283
|
+
color: #fff !important;
|
|
284
|
+
background-color: none;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
.up-white-outline::after {
|
|
288
|
+
border: 1px solid #fff !important;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
/* color end*/
|
|
292
|
+
|
|
293
|
+
/* tag start*/
|
|
294
|
+
|
|
295
|
+
.up-tag {
|
|
296
|
+
display: flex;
|
|
297
|
+
align-items: center;
|
|
298
|
+
justify-content: center;
|
|
299
|
+
border-radius: 6rpx;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
.up-tag-outline {
|
|
303
|
+
position: relative;
|
|
304
|
+
background-color: none;
|
|
305
|
+
color: #5677fc;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
.up-tag-outline::after {
|
|
309
|
+
content: '';
|
|
310
|
+
position: absolute;
|
|
311
|
+
width: 200%;
|
|
312
|
+
height: 200%;
|
|
313
|
+
-webkit-transform-origin: 0 0;
|
|
314
|
+
transform-origin: 0 0;
|
|
315
|
+
-webkit-transform: scale(0.5, 0.5);
|
|
316
|
+
transform: scale(0.5, 0.5);
|
|
317
|
+
-webkit-box-sizing: border-box;
|
|
318
|
+
box-sizing: border-box;
|
|
319
|
+
left: 0;
|
|
320
|
+
top: 0;
|
|
321
|
+
border-radius: 12rpx;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
.up-tag-fillet {
|
|
325
|
+
border-radius: 50rpx;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
.up-white.up-tag-fillet::after {
|
|
329
|
+
border-radius: 80rpx;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
.up-tag-outline-fillet::after {
|
|
333
|
+
border-radius: 80rpx;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
.up-tag-fillet-left {
|
|
337
|
+
border-radius: 50rpx 0 0 50rpx;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
.up-tag-fillet-right {
|
|
341
|
+
border-radius: 0 50rpx 50rpx 0;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
.up-tag-fillet-left.up-tag-outline::after {
|
|
345
|
+
border-radius: 100rpx 0 0 100rpx;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
.up-tag-fillet-right.up-tag-outline::after {
|
|
349
|
+
border-radius: 0 100rpx 100rpx 0;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
/* tag end*/
|
|
353
|
+
.up-origin-left {
|
|
354
|
+
transform-origin: 0 center;
|
|
355
|
+
}
|
|
356
|
+
.up-origin-right {
|
|
357
|
+
transform-origin: 100% center;
|
|
358
|
+
}
|
|
359
|
+
.up-tag-opcity {
|
|
360
|
+
opacity: 0.5;
|
|
361
|
+
}
|
|
362
|
+
</style>
|