@haluo/biz 2.0.13 → 2.0.14-beta.3

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/dist/style.css CHANGED
@@ -1,24 +1,25 @@
1
- .m12[data-v-dd9e6bac] {
1
+ .m-colorPicker[data-v-b46fc003]{position:relative;text-align:left;font-size:14px;display:inline-block;outline:none}.m-colorPicker ul[data-v-b46fc003],.m-colorPicker li[data-v-b46fc003],.m-colorPicker ol[data-v-b46fc003]{list-style:none;margin:0;padding:0}.m-colorPicker .colorBtn[data-v-b46fc003]{width:15px;height:15px}.m-colorPicker .colorBtn.disabled[data-v-b46fc003]{cursor:no-drop}.m-colorPicker .box[data-v-b46fc003]{position:absolute;width:190px;background:#fff;border:1px solid #ddd;visibility:hidden;border-radius:2px;margin-top:2px;padding:10px 10px 5px;-webkit-box-shadow:0 0 5px #00000026;box-shadow:0 0 5px #00000026;opacity:0;-webkit-transition:all .3s ease;-o-transition:all .3s ease;transition:all .3s ease;-webkit-box-sizing:content-box;box-sizing:content-box}.m-colorPicker .box h3[data-v-b46fc003]{margin:10px 0 5px;font-size:14px;font-weight:400;line-height:1;color:#333}.m-colorPicker .box input[data-v-b46fc003]{visibility:hidden;position:absolute;left:0;bottom:0}.m-colorPicker .box.open[data-v-b46fc003]{visibility:visible;opacity:1;z-index:1}.m-colorPicker .hd[data-v-b46fc003]{overflow:hidden;line-height:29px}.m-colorPicker .hd .colorView[data-v-b46fc003]{width:100px;height:30px;float:left;-webkit-transition:background-color .3s ease;-o-transition:background-color .3s ease;transition:background-color .3s ease}.m-colorPicker .hd .defaultColor[data-v-b46fc003]{width:80px;float:right;text-align:center;border:1px solid #ddd;cursor:pointer;color:#333}.m-colorPicker .tColor li[data-v-b46fc003]{width:15px;height:15px;display:inline-block;margin:0 2px;-webkit-transition:all .3s ease;-o-transition:all .3s ease;transition:all .3s ease}.m-colorPicker .tColor li[data-v-b46fc003]:hover{-webkit-box-shadow:0 0 5px #0006;box-shadow:0 0 5px #0006;-webkit-transform:scale(1.3);-ms-transform:scale(1.3);transform:scale(1.3)}.m-colorPicker .bColor li[data-v-b46fc003]{width:15px;display:inline-block;margin:0 2px}.m-colorPicker .bColor li li[data-v-b46fc003]{display:block;width:15px;height:15px;-webkit-transition:all .3s ease;-o-transition:all .3s ease;transition:all .3s ease;margin:0}.m-colorPicker .bColor li li[data-v-b46fc003]:hover{-webkit-box-shadow:0 0 5px #0006;box-shadow:0 0 5px #0006;-webkit-transform:scale(1.3);-ms-transform:scale(1.3);transform:scale(1.3)}
2
+ .m12[data-v-719229ac] {
2
3
  margin: 0 12px;
3
4
  }
4
- .ml16[data-v-dd9e6bac] {
5
+ .ml16[data-v-719229ac] {
5
6
  margin-left: 16px;
6
7
  }
7
- .mr12[data-v-dd9e6bac] {
8
+ .mr12[data-v-719229ac] {
8
9
  margin-right: 12px;
9
10
  }
10
- .ml12[data-v-dd9e6bac] {
11
+ .ml12[data-v-719229ac] {
11
12
  margin-left: 12px;
12
13
  }
13
- .mr18[data-v-dd9e6bac] {
14
+ .mr18[data-v-719229ac] {
14
15
  margin-right: 18px;
15
16
  }
16
- .tools[data-v-dd9e6bac] {
17
+ .tools[data-v-719229ac] {
17
18
  z-index: 2;
18
19
  position: relative;
19
20
  background: #FAFAFA;
20
21
  }
21
- .tools .tools-content[data-v-dd9e6bac] {
22
+ .tools .tools-content[data-v-719229ac] {
22
23
  display: -webkit-box;
23
24
  display: -ms-flexbox;
24
25
  display: flex;
@@ -26,13 +27,13 @@
26
27
  -ms-flex-align: center;
27
28
  align-items: center;
28
29
  }
29
- .tools img[data-v-dd9e6bac] {
30
+ .tools img[data-v-719229ac] {
30
31
  cursor: pointer;
31
32
  }
32
- .tools .box[data-v-dd9e6bac] {
33
+ .tools .box[data-v-719229ac] {
33
34
  position: relative;
34
35
  }
35
- .tools .box .box-mask[data-v-dd9e6bac] {
36
+ .tools .box .box-mask[data-v-719229ac] {
36
37
  width: 40px;
37
38
  height: 40px;
38
39
  background: black;
@@ -41,7 +42,7 @@
41
42
  position: absolute;
42
43
  pointer-events: none;
43
44
  }
44
- .tools .tools-title[data-v-dd9e6bac] {
45
+ .tools .tools-title[data-v-719229ac] {
45
46
  color: #333333;
46
47
  font-size: 18px;
47
48
  display: -webkit-box;
@@ -52,25 +53,25 @@
52
53
  align-items: center;
53
54
  cursor: pointer;
54
55
  }
55
- .tools .disable[data-v-dd9e6bac] {
56
+ .tools .disable[data-v-719229ac] {
56
57
  cursor: not-allowed;
57
58
  -webkit-filter: blur(0.6px);
58
59
  filter: blur(0.6px);
59
60
  }
60
- .tools .disable img[data-v-dd9e6bac] {
61
+ .tools .disable img[data-v-719229ac] {
61
62
  cursor: not-allowed;
62
63
  }
63
- .tools .wrap[data-v-dd9e6bac] {
64
+ .tools .wrap[data-v-719229ac] {
64
65
  position: relative;
65
66
  }
66
- .tools[data-v-dd9e6bac] .m-colorPicker {
67
+ .tools[data-v-719229ac] .m-colorPicker {
67
68
  position: absolute;
68
69
  width: 100%;
69
70
  left: 0;
70
71
  z-index: -1;
71
72
  height: 100%;
72
73
  }
73
- .tools[data-v-dd9e6bac] .m-colorPicker .colorBtn {
74
+ .tools[data-v-719229ac] .m-colorPicker .colorBtn {
74
75
  width: 100%;
75
76
  height: 100%;
76
77
  opacity: 0;
@@ -119,12 +120,13 @@
119
120
  .basic-dialog .basic-dialog_divider {
120
121
  width: 3px;
121
122
  height: 14px;
122
- background: #FF3C08;
123
+ background: #ff3c08;
123
124
  margin-right: 7px;
124
125
  }
125
126
  .basic-dialog .el-button--primary {
126
- background: #FF5A25;
127
- border-color: #FF5A25;
127
+ background: #ff5a25;
128
+ border-color: #ff5a25;
129
+ margin-left: 30px;
128
130
  }
129
131
  .basic-dialog .dialog-footer {
130
132
  display: -webkit-box;
@@ -135,6 +137,18 @@
135
137
  -ms-flex-pack: center;
136
138
  justify-content: center;
137
139
  }
140
+ .basic-dialog .el-dialog__headerbtn {
141
+ top: 0;
142
+ width: 64px;
143
+ height: 64px;
144
+ }
145
+ .basic-dialog .dialog-footer .el-button {
146
+ height: 40px;
147
+ }
148
+ .hide-title .el-dialog__header {
149
+ padding: 0;
150
+ margin: 0;
151
+ }
138
152
  .insert-article {
139
153
  margin-top: 30px;
140
154
  }
@@ -241,9 +255,195 @@
241
255
  flex-direction: column;
242
256
  color: #333;
243
257
  }
258
+ .img-upload-content .title-box {
259
+ padding: 0 10px;
260
+ display: -webkit-box;
261
+ display: -ms-flexbox;
262
+ display: flex;
263
+ -webkit-box-align: center;
264
+ -ms-flex-align: center;
265
+ align-items: center;
266
+ margin-bottom: 10px;
267
+ }
268
+ .img-upload-content .title-box .title {
269
+ font-size: 16px;
270
+ color: #333333;
271
+ line-height: 22px;
272
+ margin-right: 30px;
273
+ cursor: pointer;
274
+ }
275
+ .img-upload-content .title-box .active {
276
+ font-weight: bold;
277
+ position: relative;
278
+ }
279
+ .img-upload-content .title-box .active .line {
280
+ position: absolute;
281
+ left: 0;
282
+ right: 0;
283
+ bottom: -8px;
284
+ height: 2px;
285
+ background-color: #ff3c08;
286
+ }
287
+ .img-upload-content .title-box .prompt-restriction {
288
+ font-size: 14px;
289
+ color: #ff5a25;
290
+ line-height: 20px;
291
+ }
292
+ .img-upload-content .text-picture {
293
+ padding: 0 10px;
294
+ }
295
+ .img-upload-content .map-depot {
296
+ padding: 0 10px;
297
+ }
298
+ .img-upload-content .map-depot .screen {
299
+ padding-top: 15px;
300
+ border-top: 1px solid #e8e8e8;
301
+ display: -webkit-box;
302
+ display: -ms-flexbox;
303
+ display: flex;
304
+ -webkit-box-align: center;
305
+ -ms-flex-align: center;
306
+ align-items: center;
307
+ -webkit-box-pack: justify;
308
+ -ms-flex-pack: justify;
309
+ justify-content: space-between;
310
+ }
311
+ .img-upload-content .map-depot .screen .select_1 {
312
+ width: 166px;
313
+ margin-right: 20px;
314
+ }
315
+ .img-upload-content .map-depot .screen .select_2 {
316
+ width: 256px;
317
+ }
318
+ .img-upload-content .map-depot .screen .el-button--primary {
319
+ background: #ff5a25;
320
+ border-color: #ff5a25;
321
+ }
322
+ .img-upload-content .map-depot .tab-box {
323
+ padding: 20px 0;
324
+ display: -webkit-box;
325
+ display: -ms-flexbox;
326
+ display: flex;
327
+ -webkit-box-align: center;
328
+ -ms-flex-align: center;
329
+ align-items: center;
330
+ }
331
+ .img-upload-content .map-depot .tab-box .tab {
332
+ font-size: 14px;
333
+ color: #333333;
334
+ line-height: 20px;
335
+ margin-right: 30px;
336
+ cursor: pointer;
337
+ }
338
+ .img-upload-content .map-depot .tab-box .active {
339
+ font-weight: bold;
340
+ position: relative;
341
+ }
342
+ .img-upload-content .map-depot .tab-box .active .line {
343
+ position: absolute;
344
+ left: 0;
345
+ right: 0;
346
+ bottom: 0;
347
+ height: 2px;
348
+ background-color: #ff3c08;
349
+ }
350
+ .img-upload-content .map-depot .protocol-box {
351
+ height: 344px;
352
+ display: -webkit-box;
353
+ display: -ms-flexbox;
354
+ display: flex;
355
+ -webkit-box-align: center;
356
+ -ms-flex-align: center;
357
+ align-items: center;
358
+ -webkit-box-pack: center;
359
+ -ms-flex-pack: center;
360
+ justify-content: center;
361
+ text-align: center;
362
+ font-size: 14px;
363
+ line-height: 24px;
364
+ color: #999999;
365
+ }
366
+ .img-upload-content .map-depot .protocol-box .link {
367
+ font-size: 14px;
368
+ line-height: 24px;
369
+ color: #3484de;
370
+ }
371
+ .img-upload-content .image-list {
372
+ overflow-y: auto;
373
+ display: -webkit-box;
374
+ display: -ms-flexbox;
375
+ display: flex;
376
+ -ms-flex-wrap: wrap;
377
+ flex-wrap: wrap;
378
+ }
379
+ .img-upload-content .image-list .image-item {
380
+ position: relative;
381
+ background-color: #d8d8d8;
382
+ cursor: pointer;
383
+ }
384
+ .img-upload-content .image-list .image-item .image {
385
+ width: 100%;
386
+ height: 100%;
387
+ -o-object-fit: contain;
388
+ object-fit: contain;
389
+ }
390
+ .img-upload-content .image-list .image-item .shade {
391
+ position: absolute;
392
+ left: 0;
393
+ right: 0;
394
+ top: 0;
395
+ bottom: 0;
396
+ background-color: rgba(0, 0, 0, 0.4);
397
+ }
398
+ .img-upload-content .image-list .image-item .shade .num {
399
+ display: inline-block;
400
+ width: 28px;
401
+ height: 28px;
402
+ margin-left: 10px;
403
+ margin-top: 10px;
404
+ display: -webkit-box;
405
+ display: -ms-flexbox;
406
+ display: flex;
407
+ -webkit-box-align: center;
408
+ -ms-flex-align: center;
409
+ align-items: center;
410
+ -webkit-box-pack: center;
411
+ -ms-flex-pack: center;
412
+ justify-content: center;
413
+ color: #ffffff;
414
+ font-size: 16px;
415
+ border-radius: 50%;
416
+ background-color: #ff5a25;
417
+ }
418
+ .img-upload-content .image-list.content-image {
419
+ height: 400px;
420
+ padding-top: 20px;
421
+ }
422
+ .img-upload-content .image-list.content-image .image-item {
423
+ width: 120px;
424
+ height: 120px;
425
+ margin-right: 12px;
426
+ margin-bottom: 20px;
427
+ }
428
+ .img-upload-content .image-list.content-image .image-item:nth-child(6n) {
429
+ margin-right: 0;
430
+ }
431
+ .img-upload-content .image-list.depot-image {
432
+ height: 284px;
433
+ }
434
+ .img-upload-content .image-list.depot-image .image-item {
435
+ width: 180px;
436
+ height: 120px;
437
+ margin-right: 20px;
438
+ margin-bottom: 15px;
439
+ }
440
+ .img-upload-content .image-list.depot-image .image-item:nth-child(4n) {
441
+ margin-right: 0;
442
+ }
244
443
  .insert-img {
245
444
  overflow-y: auto;
246
- height: 450px;
445
+ padding: 0 10px;
446
+ height: 400px;
247
447
  }
248
448
  .insert-img.no-img {
249
449
  display: -webkit-box;
@@ -255,7 +455,6 @@
255
455
  -webkit-box-pack: center;
256
456
  -ms-flex-pack: center;
257
457
  justify-content: center;
258
- height: 100%;
259
458
  }
260
459
  .insert-img .upload-wrap {
261
460
  display: -webkit-box;
@@ -318,15 +517,19 @@
318
517
  align-items: center;
319
518
  -ms-flex-wrap: wrap;
320
519
  flex-wrap: wrap;
321
- margin-top: 30px;
520
+ padding-top: 20px;
322
521
  }
323
522
  .insert-img .img-list .img-item {
324
523
  position: relative;
325
- margin-right: 20px;
326
- margin-bottom: 10px;
524
+ margin-right: 12px;
525
+ margin-bottom: 20px;
526
+ background-color: #d8d8d8;
527
+ }
528
+ .insert-img .img-list .img-item:nth-child(6n) {
529
+ margin-right: 0;
327
530
  }
328
531
  .insert-img .img-list .img-item .icon {
329
- width: 14px;
532
+ width: 18px;
330
533
  position: absolute;
331
534
  top: 0;
332
535
  right: 0;
@@ -338,7 +541,6 @@
338
541
  display: -webkit-box;
339
542
  display: -ms-flexbox;
340
543
  display: flex;
341
- margin-bottom: 10px;
342
544
  -ms-flex-wrap: wrap;
343
545
  flex-wrap: wrap;
344
546
  }
@@ -722,6 +924,9 @@
722
924
  min-height: 150px;
723
925
  margin: 5px 0;
724
926
  }
927
+ .editor #editor-content .halo-img-content .halo-picture-area:focus {
928
+ outline: 2px solid #1a74ff;
929
+ }
725
930
  .editor #editor-content .halo-img-content .no-upload,
726
931
  .editor #editor-content .halo-img-content .upload-fail {
727
932
  -webkit-filter: brightness(0.5);
@@ -742,6 +947,19 @@
742
947
  -ms-transform: translate(-50%, -50%);
743
948
  transform: translate(-50%, -50%);
744
949
  }
950
+ .editor #editor-content .video-cover-replace {
951
+ cursor: pointer;
952
+ position: absolute;
953
+ top: 10px;
954
+ left: 20%;
955
+ text-align: center;
956
+ font-size: 14px;
957
+ width: 88px;
958
+ line-height: 32px;
959
+ border-radius: 4px;
960
+ background-color: rgba(0, 0, 0, 0.5);
961
+ color: #fff;
962
+ }
745
963
  .editor #editor-content .halo-video-area {
746
964
  max-height: 200px;
747
965
  width: 500px;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@haluo/biz",
3
3
  "description": "rich text",
4
- "version": "2.0.13",
4
+ "version": "2.0.14-beta.3",
5
5
  "type": "module",
6
6
  "module": "./dist/haluo-biz.js",
7
7
  "main": "./dist/haluo-biz.umd.cjs",