@melt-js/comps-vue2 0.0.0-stage → 2026.11.6

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.
Files changed (47) hide show
  1. package/README.md +51 -2
  2. package/hel_dist/css/chunk-f032efe6.332a9b03.css +1 -0
  3. package/hel_dist/entry.js +37 -0
  4. package/hel_dist/favicon.ico +0 -0
  5. package/hel_dist/hel-meta.json +90 -0
  6. package/hel_dist/img/clouds_back.d1a6739b.jpg +0 -0
  7. package/hel_dist/img/clouds_front.b35c0bd4.jpg +0 -0
  8. package/hel_dist/img/clouds_left.4f5664b9.jpg +0 -0
  9. package/hel_dist/img/clouds_right.0e9ec637.jpg +0 -0
  10. package/hel_dist/img/clouds_top.31039c75.jpg +0 -0
  11. package/hel_dist/img/logo.82b9c7a5.png +0 -0
  12. package/hel_dist/index.html +1 -0
  13. package/hel_dist/js/app~493df0b3.39d7ea1f.js +16 -0
  14. package/hel_dist/js/app~493df0b3.39d7ea1f.js.map +1 -0
  15. package/hel_dist/js/chunk-f032efe6.d73e0465.js +2 -0
  16. package/hel_dist/js/chunk-f032efe6.d73e0465.js.map +1 -0
  17. package/hel_proxy/entry.js +37 -0
  18. package/hel_proxy_es/entry.js +28 -0
  19. package/package.json +88 -6
  20. package/scripts/check.js +13 -0
  21. package/scripts/meta.js +21 -0
  22. package/scripts/prepublishOnly.js +26 -0
  23. package/src/assets/logo.png +0 -0
  24. package/src/components/App.vue +32 -0
  25. package/src/components/Butterflies3d/assets/clouds_back.jpg +0 -0
  26. package/src/components/Butterflies3d/assets/clouds_front.jpg +0 -0
  27. package/src/components/Butterflies3d/assets/clouds_left.jpg +0 -0
  28. package/src/components/Butterflies3d/assets/clouds_right.jpg +0 -0
  29. package/src/components/Butterflies3d/assets/clouds_top.jpg +0 -0
  30. package/src/components/Butterflies3d/assets/wing-pattern.gif +0 -0
  31. package/src/components/Butterflies3d/index.vue +245 -0
  32. package/src/components/Butterflies3d/source/README.md +17 -0
  33. package/src/components/Butterflies3d/source/index.html +305 -0
  34. package/src/components/Butterflies3d/source/reset.css +1 -0
  35. package/src/components/Butterflies3d/source/style.css +831 -0
  36. package/src/components/Butterflies3d/style.css +295 -0
  37. package/src/components/HelloWorld.vue +37 -0
  38. package/src/components/TierRanking/index.vue +1012 -0
  39. package/src/components/TierRanking/ranking.css +650 -0
  40. package/src/components/TierRanking/source/ranking.css +657 -0
  41. package/src/components/TierRanking/source/ranking.html +1532 -0
  42. package/src/components/index.js +18 -0
  43. package/src/configs/subApp.js +9 -0
  44. package/src/entrance/libProperties.js +10 -0
  45. package/src/entrance/libTypes.ts +34 -0
  46. package/src/loadApp.js +20 -0
  47. package/src/main.js +25 -0
@@ -0,0 +1,657 @@
1
+ * {
2
+ margin: 0;
3
+ padding: 0;
4
+ box-sizing: border-box;
5
+ }
6
+
7
+ body {
8
+ font-family: 'Microsoft YaHei', Arial, sans-serif;
9
+ background: #1a1a1a;
10
+ min-height: 100vh;
11
+ min-width: 1400px;
12
+ padding: 80px 20px 0px 20px;
13
+ display: flex;
14
+ flex-direction: column;
15
+ }
16
+
17
+ .container {
18
+ width: 1200px;
19
+ margin: 0 auto;
20
+ background: #2d2d2d;
21
+ min-height: 600px;
22
+ }
23
+
24
+ .ranking-container {
25
+ display: flex;
26
+ flex-direction: column;
27
+ min-height: 500px;
28
+ }
29
+
30
+ .tier {
31
+ display: flex;
32
+ align-items: stretch;
33
+ min-height: 120px;
34
+ border-bottom: 2px solid #404040;
35
+ transition: all 0.3s ease;
36
+ }
37
+
38
+ .tier.fixed-height {
39
+ height: 130px;
40
+ min-height: 130px;
41
+ max-height: 130px;
42
+ }
43
+
44
+ .tier:hover {
45
+ background-color: #3a3a3a;
46
+ }
47
+
48
+ .tier.drag-over {
49
+ background-color: #404040;
50
+ }
51
+
52
+ .tier-label {
53
+ width: 150px;
54
+ text-align: center;
55
+ font-size: 1.9em;
56
+ font-weight: 900;
57
+ color: white;
58
+ text-shadow:
59
+ -1px -1px 0 #000,
60
+ 1px -1px 0 #000,
61
+ -1px 1px 0 #000,
62
+ 1px 1px 0 #000,
63
+ 0px -1px 0 #000,
64
+ 0px 1px 0 #000,
65
+ -1px 0px 0 #000,
66
+ 1px 0px 0 #000;
67
+ padding: 0px;
68
+ cursor: pointer;
69
+ outline: none;
70
+ border: none;
71
+ background: transparent;
72
+ display: flex;
73
+ align-items: center;
74
+ justify-content: center;
75
+ position: relative;
76
+ z-index: 100;
77
+ }
78
+
79
+ .tier-name {
80
+ font-weight: 900 !important;
81
+ outline: none;
82
+ min-width: 20px;
83
+ }
84
+
85
+ .tier-name:focus {
86
+ background: rgba(255,255,255,0.2);
87
+ border-radius: 4px;
88
+ padding: 0 5px;
89
+ }
90
+
91
+ .color-picker {
92
+ position: absolute;
93
+ right: -40px;
94
+ top: 50%;
95
+ transform: translateY(-50%);
96
+ width: 30px;
97
+ height: 30px;
98
+ border: none;
99
+ border-radius: 50%;
100
+ cursor: pointer;
101
+ opacity: 0;
102
+ pointer-events: none;
103
+ transition: opacity 0.3s;
104
+ z-index: 101;
105
+ }
106
+
107
+ .tier-label.editing .color-picker {
108
+ opacity: 1;
109
+ pointer-events: auto;
110
+ }
111
+
112
+ .delete-tier-btn {
113
+ position: absolute;
114
+ right: -75px;
115
+ top: 50%;
116
+ transform: translateY(-50%);
117
+ width: 32px;
118
+ height: 32px;
119
+ background: #fff;
120
+ border: 2px solid #ff3742;
121
+ border-radius: 50%;
122
+ color: #ff3742;
123
+ cursor: pointer;
124
+ opacity: 0;
125
+ pointer-events: none;
126
+ transition: opacity 0.3s ease;
127
+ font-size: 26px;
128
+ font-weight: bold;
129
+ display: flex;
130
+ align-items: center;
131
+ justify-content: center;
132
+ z-index: 101;
133
+ }
134
+
135
+ .manbo-link {
136
+ margin-top: 20px;
137
+ text-align: center;
138
+ padding-top: 20px;
139
+ border-top: 1px solid #3d3d5c;
140
+ }
141
+
142
+ .manbo-link a {
143
+ color: #7dbece;
144
+ text-decoration: none;
145
+ font-weight: 600;
146
+ }
147
+
148
+ .manbo-link a:hover {
149
+ text-decoration: underline;
150
+ }
151
+
152
+ .tier-label.editing .delete-tier-btn {
153
+ opacity: 1;
154
+ pointer-events: auto;
155
+ }
156
+
157
+ .help-btn {
158
+ position: fixed;
159
+ top: 20px;
160
+ right: 20px;
161
+ width: 50px;
162
+ height: 50px;
163
+ background: #65a6bc;
164
+ border: none;
165
+ border-radius: 50%;
166
+ color: white;
167
+ font-size: 20px;
168
+ font-weight: bold;
169
+ cursor: pointer;
170
+ box-shadow: 0 4px 12px rgba(0,0,0,0.3);
171
+ transition: all 0.3s ease;
172
+ z-index: 1000;
173
+ }
174
+
175
+ .help-btn:hover {
176
+ background: #7dbece;
177
+ transform: scale(1.1);
178
+ }
179
+
180
+ .fixed-height-toggle {
181
+ position: fixed;
182
+ top: 20px;
183
+ right: 80px;
184
+ background: #2d2d2d;
185
+ border: 2px solid #65a6bc;
186
+ border-radius: 8px;
187
+ padding: 8px 12px;
188
+ color: white;
189
+ font-size: 12px;
190
+ font-weight: 600;
191
+ cursor: pointer;
192
+ box-shadow: 0 4px 12px rgba(0,0,0,0.3);
193
+ transition: all 0.3s ease;
194
+ z-index: 1000;
195
+ display: flex;
196
+ align-items: center;
197
+ gap: 6px;
198
+ }
199
+
200
+ .fixed-height-toggle:hover {
201
+ background: #3a3a3a;
202
+ border-color: #7dbece;
203
+ }
204
+
205
+ .fixed-height-toggle input[type="checkbox"] {
206
+ margin: 0;
207
+ cursor: pointer;
208
+ }
209
+
210
+ .help-modal {
211
+ position: fixed;
212
+ top: 0;
213
+ left: 0;
214
+ width: 100%;
215
+ height: 100%;
216
+ background: rgba(0,0,0,0.8);
217
+ display: none;
218
+ justify-content: center;
219
+ align-items: center;
220
+ z-index: 2000;
221
+ }
222
+
223
+ .help-content {
224
+ background: #2d2d2d;
225
+ padding: 30px;
226
+ border-radius: 10px;
227
+ max-width: 500px;
228
+ width: 90%;
229
+ color: white;
230
+ position: relative;
231
+ }
232
+
233
+ .help-content h2 {
234
+ color: #7dbece;
235
+ margin-bottom: 20px;
236
+ text-align: center;
237
+ }
238
+
239
+ .help-content ul {
240
+ list-style: none;
241
+ padding: 0;
242
+ }
243
+
244
+ .help-content li {
245
+ margin-bottom: 15px;
246
+ padding-left: 20px;
247
+ position: relative;
248
+ }
249
+
250
+ .help-content li:before {
251
+ content: "•";
252
+ color: #7dbece;
253
+ font-weight: bold;
254
+ position: absolute;
255
+ left: 0;
256
+ }
257
+
258
+ .close-help {
259
+ position: absolute;
260
+ top: 10px;
261
+ right: 15px;
262
+ background: none;
263
+ border: none;
264
+ color: #999;
265
+ font-size: 24px;
266
+ cursor: pointer;
267
+ }
268
+
269
+ .close-help:hover {
270
+ color: white;
271
+ }
272
+
273
+ .save-image-container {
274
+ margin: 20px 0;
275
+ text-align: center;
276
+ }
277
+
278
+ .save-image-btn {
279
+ background: #444;
280
+ border: 2px solid #666;
281
+ color: #ccc;
282
+ padding: 10px 20px;
283
+ border-radius: 8px;
284
+ cursor: pointer;
285
+ font-size: 14px;
286
+ transition: all 0.3s ease;
287
+ }
288
+
289
+ .save-image-btn:hover {
290
+ background: #555;
291
+ border-color: #007bff;
292
+ color: #007bff;
293
+ }
294
+
295
+ .add-tier-btn {
296
+ background: #444;
297
+ border: 2px dashed #666;
298
+ color: #ccc;
299
+ padding: 10px;
300
+ margin: 5px 0;
301
+ border-radius: 8px;
302
+ cursor: pointer;
303
+ text-align: center;
304
+ font-size: 14px;
305
+ transition: all 0.3s;
306
+ min-width: 120px;
307
+ }
308
+
309
+ .add-tier-btn:hover {
310
+ background: #555;
311
+ border-color: #888;
312
+ color: #fff;
313
+ }
314
+
315
+ .reset-tier-btn {
316
+ background: #dc3545;
317
+ border: 2px solid #c82333;
318
+ color: white;
319
+ padding: 10px;
320
+ margin: 5px 0;
321
+ border-radius: 8px;
322
+ cursor: pointer;
323
+ text-align: center;
324
+ font-size: 14px;
325
+ transition: all 0.3s;
326
+ display: inline-block;
327
+ min-width: 120px;
328
+ }
329
+
330
+ .reset-tier-btn:hover {
331
+ background: #c82333;
332
+ border-color: #bd2130;
333
+ color: #fff;
334
+ }
335
+
336
+ .button-container {
337
+ display: flex;
338
+ flex-direction: column;
339
+ justify-content: center;
340
+ align-items: center;
341
+ margin: 10px 0;
342
+ order: 1001;
343
+ }
344
+
345
+ /* 重置确认模态框样式 */
346
+ .reset-modal {
347
+ position: fixed;
348
+ top: 0;
349
+ left: 0;
350
+ width: 100%;
351
+ height: 100%;
352
+ background: rgba(0,0,0,0.8);
353
+ display: none;
354
+ justify-content: center;
355
+ align-items: center;
356
+ z-index: 2000;
357
+ }
358
+
359
+ .reset-content {
360
+ background: #2d2d2d;
361
+ padding: 30px;
362
+ border-radius: 10px;
363
+ max-width: 400px;
364
+ width: 90%;
365
+ color: white;
366
+ position: relative;
367
+ text-align: center;
368
+ }
369
+
370
+ .reset-content h3 {
371
+ color: #dc3545;
372
+ margin-bottom: 20px;
373
+ }
374
+
375
+ .reset-content p {
376
+ margin-bottom: 25px;
377
+ line-height: 1.5;
378
+ }
379
+
380
+ .reset-buttons {
381
+ display: flex;
382
+ gap: 15px;
383
+ justify-content: center;
384
+ }
385
+
386
+ .reset-confirm-btn {
387
+ background: #dc3545;
388
+ border: none;
389
+ color: white;
390
+ padding: 10px 20px;
391
+ border-radius: 5px;
392
+ cursor: pointer;
393
+ font-size: 14px;
394
+ transition: background 0.3s;
395
+ }
396
+
397
+ .reset-confirm-btn:hover {
398
+ background: #c82333;
399
+ }
400
+
401
+ .reset-cancel-btn {
402
+ background: #6c757d;
403
+ border: none;
404
+ color: white;
405
+ padding: 10px 20px;
406
+ border-radius: 5px;
407
+ cursor: pointer;
408
+ font-size: 14px;
409
+ transition: background 0.3s;
410
+ }
411
+
412
+ .reset-cancel-btn:hover {
413
+ background: #5a6268;
414
+ }
415
+
416
+ .tier-s { background: #ff4757; }
417
+ .tier-a { background: #ff9f43; }
418
+ .tier-b { background: #3742fa; }
419
+ .tier-c { background: #2ed573; }
420
+ .tier-d { background: #747d8c; }
421
+
422
+ .tier-content {
423
+ flex: 1;
424
+ display: flex;
425
+ flex-wrap: wrap;
426
+ gap: 5px;
427
+ padding: 5px;
428
+ min-height: 130px;
429
+ align-items: center;
430
+ }
431
+
432
+ .tier.fixed-height .tier-content {
433
+ height: 120px;
434
+ min-height: 120px;
435
+ max-height: 120px;
436
+ overflow-x: hidden;
437
+ overflow-y: auto;
438
+ scrollbar-width: thin;
439
+ scrollbar-color: transparent transparent;
440
+ flex-wrap: wrap;
441
+ align-items: flex-start;
442
+ transition: scrollbar-color 0.3s ease;
443
+ }
444
+
445
+ .tier.fixed-height .tier-content:hover {
446
+ scrollbar-color: #65a6bc #404040;
447
+ }
448
+
449
+ .tier.fixed-height .tier-content::-webkit-scrollbar {
450
+ width: 6px;
451
+ }
452
+
453
+ .tier.fixed-height .tier-content::-webkit-scrollbar-track {
454
+ background: transparent;
455
+ border-radius: 3px;
456
+ }
457
+
458
+ .tier.fixed-height .tier-content::-webkit-scrollbar-thumb {
459
+ background: transparent;
460
+ border-radius: 3px;
461
+ transition: background 0.3s ease;
462
+ }
463
+
464
+ .tier.fixed-height .tier-content:hover::-webkit-scrollbar-track {
465
+ background: #404040;
466
+ }
467
+
468
+ .tier.fixed-height .tier-content:hover::-webkit-scrollbar-thumb {
469
+ background: #65a6bc;
470
+ }
471
+
472
+ .tier.fixed-height .tier-content:hover::-webkit-scrollbar-thumb:hover {
473
+ background: #7dbece;
474
+ }
475
+
476
+ .upload-btn {
477
+ width: 120px;
478
+ height: 120px;
479
+ border: 2px dashed #666;
480
+ background: #404040;
481
+ display: flex;
482
+ align-items: center;
483
+ justify-content: center;
484
+ font-size: 3em;
485
+ color: #ccc;
486
+ cursor: pointer;
487
+ transition: all 0.3s ease;
488
+ order: 999;
489
+ }
490
+
491
+ .upload-btn:hover {
492
+ border-color: #007bff;
493
+ background: #4a4a4a;
494
+ color: #007bff;
495
+ }
496
+
497
+ .delete-zone {
498
+ width: 120px;
499
+ height: 120px;
500
+ border: 2px dashed #dc3545;
501
+ background: #4a3a3a;
502
+ display: flex;
503
+ align-items: center;
504
+ justify-content: center;
505
+ font-size: 3em;
506
+ color: #dc3545;
507
+ transition: all 0.3s ease;
508
+ order: 1000;
509
+ }
510
+
511
+ .delete-zone.drag-over {
512
+ background: #dc3545;
513
+ color: white;
514
+ }
515
+
516
+ .image-item {
517
+ width: 120px;
518
+ height: 120px;
519
+ overflow: hidden;
520
+ cursor: grab;
521
+ transition: all 0.3s ease;
522
+ box-shadow: 0 4px 8px rgba(0,0,0,0.1);
523
+ position: relative;
524
+ user-select: none;
525
+ -webkit-user-drag: none;
526
+ }
527
+
528
+ .tier.fixed-height .image-item {
529
+ flex-shrink: 0;
530
+ }
531
+
532
+ .tier.fixed-height .image-item.single-row {
533
+ width: 120px;
534
+ height: 120px;
535
+ }
536
+
537
+ .tier.fixed-height .image-item.multi-row {
538
+ width: 70px;
539
+ height: 70px;
540
+ }
541
+
542
+ .tier.fixed-height .image-item.adaptive {
543
+ width: auto;
544
+ height: auto;
545
+ min-width: 70px;
546
+ min-height: 70px;
547
+ max-width: 120px;
548
+ max-height: 120px;
549
+ }
550
+
551
+ .image-item:hover {
552
+ transform: scale(1.05);
553
+ box-shadow: 0 6px 12px rgba(0,0,0,0.2);
554
+ }
555
+
556
+ .image-item:active {
557
+ cursor: grabbing;
558
+ }
559
+
560
+ .image-item img {
561
+ width: 100%;
562
+ height: 100%;
563
+ object-fit: cover;
564
+ }
565
+
566
+ .image-name-overlay {
567
+ position: absolute;
568
+ bottom: 0;
569
+ left: 0;
570
+ right: 0;
571
+ background: rgba(0, 0, 0, 0.5);
572
+ color: white;
573
+ padding: 4px 6px;
574
+ font-size: 12px;
575
+ font-weight: 500;
576
+ text-align: center;
577
+ white-space: nowrap;
578
+ overflow: hidden;
579
+ text-overflow: ellipsis;
580
+ z-index: 10;
581
+ transition: all 0.3s ease;
582
+ }
583
+
584
+ .image-item:hover .image-name-overlay {
585
+ background: rgba(0, 0, 0, 0.7);
586
+ }
587
+
588
+
589
+
590
+ .image-gallery {
591
+ display: flex;
592
+ flex-wrap: wrap;
593
+ gap: 5px;
594
+ padding: 10px 0 5px 0;
595
+ justify-content: center;
596
+ background: #2d2d2d;
597
+ }
598
+
599
+ .drag-preview {
600
+ position: fixed;
601
+ pointer-events: none;
602
+ z-index: 1000;
603
+ width: 120px;
604
+ height: 120px;
605
+ overflow: hidden;
606
+ box-shadow: 0 8px 16px rgba(0,0,0,0.3);
607
+ transform: rotate(5deg);
608
+ opacity: 0.8;
609
+ display: none;
610
+ }
611
+
612
+ .drag-preview img {
613
+ width: 100%;
614
+ height: 100%;
615
+ object-fit: cover;
616
+ }
617
+
618
+ #file-input {
619
+ display: none;
620
+ }
621
+
622
+ /* 图片放大模态框样式 */
623
+ .image-modal {
624
+ position: fixed;
625
+ top: 0;
626
+ left: 0;
627
+ width: 100%;
628
+ height: 100%;
629
+ background: transparent;
630
+ display: none;
631
+ justify-content: center;
632
+ align-items: flex-start;
633
+ padding-top: 60px;
634
+ z-index: 3000;
635
+ cursor: pointer;
636
+ }
637
+
638
+ .image-modal img {
639
+ min-width: 800px;
640
+ min-height: 500px;
641
+ max-width: 800px;
642
+ max-height: 500px;
643
+ object-fit: contain;
644
+ }
645
+
646
+ /* 禁用响应式设计,保持固定比例 */
647
+
648
+ .footer {
649
+ text-align: center;
650
+ color: #999;
651
+ font-size: 12px;
652
+ padding: 8px 0;
653
+ margin-top: auto;
654
+ position: relative;
655
+ z-index: 10;
656
+ background: #1a1a1a;
657
+ }