@melt-js/comps-vue2 2026.11.5 → 2026.11.7

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 (56) hide show
  1. package/README.md +100 -36
  2. package/hel_dist/css/chunk-ad8df0e6.e2ca7fbd.css +1 -0
  3. package/hel_dist/hel-meta.json +23 -18
  4. package/hel_dist/img/clouds_back.d1a6739b.jpg +0 -0
  5. package/hel_dist/img/clouds_front.b35c0bd4.jpg +0 -0
  6. package/hel_dist/img/clouds_left.4f5664b9.jpg +0 -0
  7. package/hel_dist/img/clouds_right.0e9ec637.jpg +0 -0
  8. package/hel_dist/img/clouds_top.31039c75.jpg +0 -0
  9. package/hel_dist/index.html +1 -1
  10. package/hel_dist/js/{app~493df0b3.f16034ff.js → app~493df0b3.677583d3.js} +2 -2
  11. package/hel_dist/js/{app~493df0b3.f16034ff.js.map → app~493df0b3.677583d3.js.map} +1 -1
  12. package/hel_dist/js/chunk-ad8df0e6.39491564.js +2 -0
  13. package/hel_dist/js/chunk-ad8df0e6.39491564.js.map +1 -0
  14. package/package.json +6 -1
  15. package/src/components/BirdSvg/index.vue +101 -0
  16. package/src/components/BirdSvg/source/README.md +17 -0
  17. package/src/components/BirdSvg/source/index.html +65 -0
  18. package/src/components/BirdSvg/source/style.css +284 -0
  19. package/src/components/BirdSvg/style.css +194 -0
  20. package/src/components/Butterflies3d/assets/clouds_back.jpg +0 -0
  21. package/src/components/Butterflies3d/assets/clouds_front.jpg +0 -0
  22. package/src/components/Butterflies3d/assets/clouds_left.jpg +0 -0
  23. package/src/components/Butterflies3d/assets/clouds_right.jpg +0 -0
  24. package/src/components/Butterflies3d/assets/clouds_top.jpg +0 -0
  25. package/src/components/Butterflies3d/assets/wing-pattern.gif +0 -0
  26. package/src/components/Butterflies3d/index.vue +245 -0
  27. package/src/components/Butterflies3d/source/README.md +17 -0
  28. package/src/components/Butterflies3d/source/index.html +305 -0
  29. package/src/components/Butterflies3d/source/reset.css +1 -0
  30. package/src/components/Butterflies3d/source/style.css +831 -0
  31. package/src/components/Butterflies3d/style.css +295 -0
  32. package/src/components/CatFace/index.vue +128 -0
  33. package/src/components/CatFace/source/README.md +19 -0
  34. package/src/components/CatFace/source/cat.less +374 -0
  35. package/src/components/CatFace/source/index.html +92 -0
  36. package/src/components/CatFace/style.css +394 -0
  37. package/src/components/FrogExpressions/index.vue +94 -0
  38. package/src/components/FrogExpressions/source/README.md +17 -0
  39. package/src/components/FrogExpressions/source/demo.css +45 -0
  40. package/src/components/FrogExpressions/source/frog.html +375 -0
  41. package/src/components/FrogExpressions/source/style.css +1555 -0
  42. package/src/components/FrogExpressions/style.css +1109 -0
  43. package/src/components/WhaleFollow/index.vue +276 -0
  44. package/src/components/WhaleFollow/source/README.md +19 -0
  45. package/src/components/WhaleFollow/source/README.txt +4 -0
  46. package/src/components/WhaleFollow/source/index.html +29 -0
  47. package/src/components/WhaleFollow/source/index.js +106 -0
  48. package/src/components/WhaleFollow/source/license.txt +9 -0
  49. package/src/components/WhaleFollow/source/style.css +2 -0
  50. package/src/components/WhaleFollow/style.css +36 -0
  51. package/src/components/WhaleFollow/whaleData.js +277 -0
  52. package/src/components/index.js +10 -0
  53. package/src/entrance/libTypes.ts +15 -0
  54. package/hel_dist/css/chunk-e3b20906.1a16268b.css +0 -1
  55. package/hel_dist/js/chunk-e3b20906.e04b1c48.js +0 -2
  56. package/hel_dist/js/chunk-e3b20906.e04b1c48.js.map +0 -1
@@ -0,0 +1,374 @@
1
+ .catCartoon {
2
+ .mao_box {
3
+ position: relative;
4
+ top: 50px;
5
+ /*width:424px;*/
6
+ }
7
+
8
+ .mao {
9
+ margin: 0 auto;
10
+ width: 400px;
11
+ }
12
+
13
+ .mao_head {
14
+ margin: 0 auto;
15
+ width: 400px;
16
+ height: 340px;
17
+ background: #F6F7F2;
18
+ position: relative;
19
+ border-radius: 50% 50% 35% 35%;
20
+ border: solid 2px #2e2e2e;
21
+ overflow: hidden;
22
+ z-index: 10;
23
+ }
24
+
25
+ .huawen {
26
+ position: absolute;
27
+ height: 160px;
28
+ width: 180px;
29
+ background: #8D8D8D;
30
+ left: 110px;
31
+ border-radius: 0% 0% 50% 50%;
32
+ overflow: hidden;
33
+ }
34
+
35
+ .huawen > div:first-child {
36
+ height: 160px;
37
+ width: 90px;
38
+ background: #F0AC6B;
39
+ }
40
+
41
+ /*耳朵*/
42
+ .erduo {
43
+ width: 374px;
44
+ height: 120px;
45
+ position: absolute;
46
+ top: -6px;
47
+ left: 50%;
48
+ margin-left: -187px;
49
+ border-radius: 0% 0% 0% 0%;
50
+ }
51
+ /*左耳*/
52
+ .erduo > div:first-child {
53
+ height: 200px;
54
+ width: 160px;
55
+ border: 2px solid #2e2e2e;
56
+ background: #f3f3f3;
57
+ transform: rotate(-15deg);
58
+ -ms-transform: rotate(-15deg);
59
+ -moz-transform: rotate(-15deg);
60
+ -webkit-transform: rotate(-15deg);
61
+ -o-transform: rotate(-15deg);
62
+ border-radius: 4% 80% 0% 50%;
63
+ position: absolute;
64
+ left: -20px;
65
+ top: 0px;
66
+ transition: transform 1s,left 1s;
67
+ }
68
+ /*右耳*/
69
+ .erduo > div:last-child {
70
+ height: 180px;
71
+ width: 160px;
72
+ border: 2px solid #2e2e2e;
73
+ background: #f3f3f3;
74
+ transform: rotate(15deg);
75
+ -ms-transform: rotate(15deg);
76
+ -moz-transform: rotate(15deg);
77
+ -webkit-transform: rotate(15deg);
78
+ -o-transform: rotate(15deg);
79
+ border-radius: 80% 4% 50% 0%;
80
+ position: absolute;
81
+ right: -20px;
82
+ top: 0px;
83
+ transition: transform 1s,right 1s;
84
+ }
85
+ /*鼠标浮动耳朵样式*/
86
+ /*左耳*/
87
+ .mao:hover .erduo > div:first-child {
88
+ left: -10px;
89
+ transform: rotate(0deg);
90
+ -ms-transform: rotate(0deg);
91
+ -moz-transform: rotate(0deg);
92
+ -webkit-transform: rotate(0deg);
93
+ -o-transform: rotate(0deg);
94
+ border-radius: 4% 80% 0% 60%;
95
+ /*transition: all 1s;*/
96
+ /*transition: transform 1s,left 1s;*/
97
+ }
98
+
99
+ .mao:hover .erduo > div:last-child {
100
+ right: -10px;
101
+ transform: rotate(0deg);
102
+ -ms-transform: rotate(0deg);
103
+ -moz-transform: rotate(0deg);
104
+ -webkit-transform: rotate(0deg);
105
+ -o-transform: rotate(0deg);
106
+ border-radius: 80% 4% 60% 0%;
107
+ /*transition: transform 1s,right 1s;*/
108
+ }
109
+ /*眼睛*/
110
+ .yanjing {
111
+ height: 60px;
112
+ width: 300px;
113
+ position: absolute;
114
+ top: 200px;
115
+ z-index: 20;
116
+ left: 50%;
117
+ margin-left: -150px;
118
+ overflow: hidden;
119
+ }
120
+ /*左眼*/
121
+ .yanquan {
122
+ height: 100px;
123
+ width: 100px;
124
+ border: 2px solid #2e2e2e;
125
+ border-radius: 50% 50% 50% 50%;
126
+ overflow: hidden;
127
+ position: absolute;
128
+ }
129
+ /*眼珠子 左*/
130
+ .yanquan > div:first-child {
131
+ height: 100px;
132
+ width: 30px;
133
+ background-color: #2e2e2e;
134
+ margin-left: 35px;
135
+ transition:all 1s;
136
+ /*transition-property: width;
137
+ transition-duration: 2s;*/
138
+ }
139
+ .mao:hover .yanquan > div:first-child {
140
+ width:40px;
141
+ margin-left: 30px;
142
+ /*transition:all 1s;*/
143
+
144
+ }
145
+ .yanquan_hedding {
146
+ height: 100px;
147
+ width: 180px;
148
+ border-top: 2px solid #2e2e2e;
149
+ border-radius: 50% 50% 50% 50%;
150
+ background: #F6F7F2;
151
+ margin-top: 50px;
152
+ margin-left: -40px;
153
+ position: absolute;
154
+ transition: margin-top 1s;
155
+ }
156
+
157
+ .hong {
158
+ position: absolute;
159
+ height: 28px;
160
+ width: 70px;
161
+ background: red;
162
+ top: 34px;
163
+ /*top: 64px;*/
164
+ left: 18px;
165
+ border-radius: 50% 50% 50% 50%;
166
+ background-image: -moz-radial-gradient( 50% 50%, rgba(253,214,240,0.8) 0%, rgba(253,224,244,0.8) 66%, rgba(253,234,247,0.8) 100%);
167
+ background-image: -webkit-radial-gradient( 50% 50%, rgba(253,214,240,0.8) 0%, rgba(253,224,244,0.8) 66%, rgba(253,234,247,0.8) 100%);
168
+ background-image: -ms-radial-gradient( 50% 50%, rgba(253,214,240,0.8) 0%, rgba(253,224,244,0.8) 66%, rgba(253,234,247,0.8) 100%);
169
+ opacity: 0.0;
170
+ /*transition: opacity 0.5s ease-in 0.2s;*/
171
+ }
172
+
173
+ .yan_right {
174
+ left: 196px;
175
+ top: 0px;
176
+ background: red;
177
+ position: absolute;
178
+ }
179
+ /*眼睛浮动属性*/
180
+ .mao:hover .yanquan_hedding {
181
+ margin-top: 30px;
182
+ /*transition: margin-top 1s;*/
183
+ }
184
+
185
+ .mao:hover .hong {
186
+ /*top: 34px;*/
187
+ opacity: 0.8;
188
+ transition: opacity 0.5s ease-in 0.2s;
189
+ }
190
+
191
+ /*脸部花纹*/
192
+ /*左边花纹*/
193
+ .face_huawen {
194
+ height: 80px;
195
+ width: 380px;
196
+ position: absolute;
197
+ top: 190px;
198
+ z-index: 20;
199
+ left: 50%;
200
+ margin-left: -190px;
201
+ }
202
+
203
+ .face_huawen_huawen > div:first-child {
204
+ width: 30px;
205
+ height: 10px;
206
+ border-top: 6px #E53941 solid;
207
+ border-radius: 30% 80% 20% 50%;
208
+ transform: rotate(25deg);
209
+ -ms-transform: rotate(25deg);
210
+ -moz-transform: rotate(25deg);
211
+ -webkit-transform: rotate(25deg);
212
+ -o-transform: rotate(25deg);
213
+ margin-left: 20px;
214
+ }
215
+
216
+ .face_huawen_huawen > div:nth-child(2) {
217
+ width: 20px;
218
+ height: 6px;
219
+ background-color: #E53941;
220
+ border-radius: 50% 50% 50% 50%;
221
+ transform: rotate(25deg);
222
+ -ms-transform: rotate(25deg);
223
+ -moz-transform: rotate(25deg);
224
+ -webkit-transform: rotate(25deg);
225
+ -o-transform: rotate(25deg);
226
+ margin-left: 20px;
227
+ }
228
+
229
+ .face_huawen_huawen > div:nth-child(3) {
230
+ /*margin-top:10px;*/
231
+ width: 32px;
232
+ height: 10px;
233
+ border-bottom: 4px #E53941 solid;
234
+ border-radius: 30% 0% 90% 30%;
235
+ transform: rotate(25deg);
236
+ -ms-transform: rotate(25deg);
237
+ -moz-transform: rotate(25deg);
238
+ -webkit-transform: rotate(25deg);
239
+ -o-transform: rotate(25deg);
240
+ margin-left: 8px;
241
+ }
242
+
243
+ .face_huawen_huawen > div:nth-child(4) {
244
+ margin-top: 20px;
245
+ width: 26px;
246
+ height: 20px;
247
+ border-bottom: 4px #E53941 solid;
248
+ border-radius: 30% 0% 90% 30%;
249
+ transform: rotate(30deg);
250
+ -ms-transform: rotate(30deg);
251
+ -moz-transform: rotate(30deg);
252
+ -webkit-transform: rotate(30deg);
253
+ -o-transform: rotate(30deg);
254
+ margin-left: 28px;
255
+ }
256
+
257
+ .face_huawen_huawen > div:last-child {
258
+ width: 22px;
259
+ height: 10px;
260
+ border-bottom: 3px #E53941 solid;
261
+ border-radius: 0% 0% 50% 50%;
262
+ transform: rotate(-15deg);
263
+ -ms-transform: rotate(-15deg);
264
+ -moz-transform: rotate(-15deg);
265
+ -webkit-transform: rotate(-15deg);
266
+ -o-transform: rotate(-15deg);
267
+ margin-left: 40px;
268
+ margin-top: -8px;
269
+ }
270
+ /*右边花纹*/
271
+ .huawen_right {
272
+ float: right;
273
+ transform: rotateY(180deg);
274
+ -webkit-transform: rotateY(180deg); /* Safari 和 Chrome */
275
+ -moz-transform: rotateY(180deg); /* Firefox */
276
+ margin-top: -85px;
277
+ }
278
+ /*鼻子*/
279
+ .bizi {
280
+ width: 30px;
281
+ height: 36px;
282
+ position: absolute;
283
+ left: 50%;
284
+ margin-left: -15px;
285
+ top: 260px;
286
+ z-index: 30;
287
+ }
288
+
289
+ .bizi > div:first-child {
290
+ width: 30px;
291
+ height: 10px;
292
+ border-bottom: 8px solid #2e2e2e;
293
+ border-radius: 0% 0% 50% 50%;
294
+ margin-top: -10px;
295
+ }
296
+
297
+ .zuiba_box {
298
+ width: 200px;
299
+ height: 36px;
300
+ position: absolute;
301
+ overflow: hidden;
302
+ left: 50%;
303
+ margin-left: -100px;
304
+ top: 260px;
305
+ z-index: 30;
306
+ }
307
+
308
+ .zuiba {
309
+ margin-left: 85px;
310
+ margin-top: 6px;
311
+ }
312
+
313
+ .zuiba > div:first-child {
314
+ width: 4px;
315
+ height: 8px;
316
+ background: #2e2e2e;
317
+ margin-left: 13px;
318
+ }
319
+ /*右半边嘴巴*/
320
+ .zuiba > div:nth-child(2) {
321
+ width: 50px;
322
+ height: 40px;
323
+ border-bottom: 4px solid #2e2e2e;
324
+ border-left: 4px solid #2e2e2e;
325
+ border-radius:40% 0% 20% 50%;
326
+ margin-left: 13px;
327
+ margin-top: -26px;
328
+ position:absolute;
329
+ transition: border-radius 1s;
330
+ }
331
+ /*左半边嘴巴*/
332
+ .zuiba > div:nth-child(3) {
333
+ width: 50px;
334
+ height: 40px;
335
+ border-bottom: 4px solid #2e2e2e;
336
+ border-right: 4px solid #2e2e2e;
337
+ border-radius:0% 40% 50% 20%;
338
+ margin-left: -38px;
339
+ margin-top: -26px;
340
+ position:absolute;
341
+ transition: border-radius 1s;
342
+
343
+ }
344
+
345
+ .mao:hover .zuiba > div:nth-child(2) {
346
+ border-radius: 50% 50% 50% 50%;
347
+ width: 40px;
348
+ /*transition: border-radius 1s ;*/
349
+ }
350
+ .mao:hover .zuiba > div:nth-child(3) {
351
+
352
+ width: 40px;
353
+ margin-left: -30px;
354
+ border-radius: 50% 50% 50% 50%;
355
+ /*transition: border-radius 1s;*/
356
+ }
357
+ .ceshi {
358
+ width: 26px;
359
+ height: 26px;
360
+ -webkit-border-radius: 50% 50% 50% 0;
361
+ -moz-border-radius: 50% 50% 50% 0;
362
+ -o-border-radius: 50% 50% 50% 0;
363
+ border-radius: 50% 50% 50% 0;
364
+ -webkit-transform: rotate(-45deg);
365
+ -moz-transform: rotate(-45deg);
366
+ -ms-transform: rotate(-45deg);
367
+ -o-transform: rotate(-45deg);
368
+ transform: rotate(-45deg);
369
+ margin: 1px 4px 7px;
370
+ border: 2px solid;
371
+ }
372
+
373
+ }
374
+
@@ -0,0 +1,92 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
3
+ <head>
4
+ <meta charset="utf-8"/>
5
+ <title>纯CSS3绘制的小猫笑脸动画DEMO演示</title>
6
+ <link rel="stylesheet" href="/static/css/_animal.css">
7
+
8
+ <style>
9
+ body {
10
+ margin: 0px;
11
+ background: #F6F7A7;
12
+ }
13
+
14
+ </style>
15
+ </head>
16
+ <body>
17
+
18
+ <div class="catCartoon">
19
+ <div class="mao_box">
20
+ <div class="mao">
21
+ <div class="mao_head">
22
+ <div class="huawen">
23
+ <div><!--头部花纹——左边橙色--></div>
24
+ </div>
25
+ </div>
26
+
27
+ <div class="erduo">
28
+ <div></div>
29
+ <div></div>
30
+ </div>
31
+ <div class="yanjing">
32
+ <div>
33
+ <div class="yanquan">
34
+ <div></div>
35
+ </div>
36
+ <div class="yanquan_hedding">
37
+
38
+ </div>
39
+ <div class="hong"></div>
40
+ </div>
41
+ <div class="yan_right">
42
+ <div class="yanquan">
43
+ <div></div>
44
+ </div>
45
+ <div class="yanquan_hedding">
46
+
47
+ </div>
48
+ <div class="hong"></div>
49
+ </div>
50
+ <div style="clear:both"></div>
51
+ </div>
52
+ <div class="face_huawen">
53
+ <div class="face_huawen_huawen huawen_left">
54
+ <div></div>
55
+ <div></div>
56
+ <div></div>
57
+ <div></div>
58
+ <div></div>
59
+
60
+ </div>
61
+ <div class="face_huawen_huawen huawen_right">
62
+ <div></div>
63
+ <div></div>
64
+ <div></div>
65
+ <div></div>
66
+ <div></div>
67
+
68
+ </div>
69
+ <div style="clear:both"></div>
70
+ </div>
71
+ <div class="bizi">
72
+ <div></div>
73
+ <div></div>
74
+ <div></div>
75
+ <div></div>
76
+ </div>
77
+ <div class="zuiba_box">
78
+ <div class="zuiba">
79
+ <div></div>
80
+ <div></div>
81
+ <div></div>
82
+ </div>
83
+ </div>
84
+ </div>
85
+ </div>
86
+ </div>
87
+
88
+
89
+
90
+
91
+ </body>
92
+ </html>