UNPKG

galaxy-uniapp-mcp-server

Version:

Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成

91 lines 6.36 kB
{ "id": "JkHuger_sweet-starfish-100", "name": "sweet-starfish-100", "category": "loaders", "author": "JkHuger", "description": "sweet-starfish-100 组件 (animation, music, rhythm, interactive)", "tags": [ "animation", "music", "rhythm", "interactive" ], "original": { "html": "<ul class=\"wave-menu\">\n <li></li>\n <li></li>\n <li></li>\n <li></li>\n <li></li>\n <li></li>\n <li></li>\n <li></li>\n <li></li>\n <li></li>\n</ul>", "css": "/* From Uiverse.io by JkHuger - Source: I've seen on a website and i recreated it but i don't remember. - Tags: animation, music, rhythm */\n.wave-menu {\n border: 4px solid #545FE5;\n border-radius: 50px;\n width: 200px;\n height: 45px;\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 0;\n margin: 0;\n cursor: pointer;\n transition: ease 0.2s;\n position: relative;\n background: #fff;\n}\n\n.wave-menu li {\n list-style: none;\n height: 30px;\n width: 4px;\n border-radius: 10px;\n background: #545FE5;\n margin: 0 6px;\n padding: 0;\n animation-name: wave1;\n animation-duration: 0.3s;\n animation-iteration-count: infinite;\n animation-direction: alternate;\n transition: ease 0.2s;\n}\n\n.wave-menu:hover > li {\n background: #fff;\n}\n\n.wave-menu:hover {\n background: #545FE5;\n}\n\n.wave-menu li:nth-child(2) {\n animation-name: wave2;\n animation-delay: 0.2s;\n}\n\n.wave-menu li:nth-child(3) {\n animation-name: wave3;\n animation-delay: 0.23s;\n animation-duration: 0.4s;\n}\n\n.wave-menu li:nth-child(4) {\n animation-name: wave4;\n animation-delay: 0.1s;\n animation-duration: 0.3s;\n}\n\n.wave-menu li:nth-child(5) {\n animation-delay: 0.5s;\n}\n\n.wave-menu li:nth-child(6) {\n animation-name: wave2;\n animation-duration: 0.5s;\n}\n\n.wave-menu li:nth-child(8) {\n animation-name: wave4;\n animation-delay: 0.4s;\n animation-duration: 0.25s;\n}\n\n.wave-menu li:nth-child(9) {\n animation-name: wave3;\n animation-delay: 0.15s;\n}\n\n@keyframes wave1 {\n from {\n transform: scaleY(1);\n }\n\n to {\n transform: scaleY(0.5);\n }\n}\n\n@keyframes wave2 {\n from {\n transform: scaleY(0.3);\n }\n\n to {\n transform: scaleY(0.6);\n }\n}\n\n@keyframes wave3 {\n from {\n transform: scaleY(0.6);\n }\n\n to {\n transform: scaleY(0.8);\n }\n}\n\n@keyframes wave4 {\n from {\n transform: scaleY(0.2);\n }\n\n to {\n transform: scaleY(0.5);\n }\n}", "file_path": "/mnt/persist/workspace/loaders/JkHuger_sweet-starfish-100.html" }, "uniapp": { "template": "<view class=\"wave-menu\"></view>\n <view></view>\n <view></view>\n <view></view>\n <view></view>\n <view></view>\n <view></view>\n <view></view>\n <view></view>\n <view></view>\n <view></view>\n</ul>", "script": "export default {\n name: 'GalaxySweetStarfish100',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by JkHuger - Source: I've seen on a website and i recreated it but i don't remember. - Tags: animation, music, rhythm */\n.wave-menu {\n border: 8rpx solid #545FE5;\n border-radius: 100rpx;\n width: 400rpx;\n height: 90rpx;\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 0;\n margin: 0;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n transition: ease 0.2s;\n position: relative;\n background: #fff;\n}\n\n.wave-menu li {\n list-style: none;\n height: 60rpx;\n width: 8rpx;\n border-radius: 20rpx;\n background: #545FE5;\n margin: 0 12rpx;\n padding: 0;\n animation-name: wave1;\n animation-duration: 0.3s;\n animation-iteration-count: infinite;\n animation-direction: alternate;\n transition: ease 0.2s;\n}\n\n.wave-menu:hover > li {\n background: #fff;\n}\n\n.wave-menu:hover {\n background: #545FE5;\n}\n\n.wave-menu li:nth-child(2) {\n animation-name: wave2;\n animation-delay: 0.2s;\n}\n\n.wave-menu li:nth-child(3) {\n animation-name: wave3;\n animation-delay: 0.23s;\n animation-duration: 0.4s;\n}\n\n.wave-menu li:nth-child(4) {\n animation-name: wave4;\n animation-delay: 0.1s;\n animation-duration: 0.3s;\n}\n\n.wave-menu li:nth-child(5) {\n animation-delay: 0.5s;\n}\n\n.wave-menu li:nth-child(6) {\n animation-name: wave2;\n animation-duration: 0.5s;\n}\n\n.wave-menu li:nth-child(8) {\n animation-name: wave4;\n animation-delay: 0.4s;\n animation-duration: 0.25s;\n}\n\n.wave-menu li:nth-child(9) {\n animation-name: wave3;\n animation-delay: 0.15s;\n}\n\n@keyframes wave1 {\n from {\n transform: scaleY(1);\n }\n\n to {\n transform: scaleY(0.5);\n }\n}\n\n@keyframes wave2 {\n from {\n transform: scaleY(0.3);\n }\n\n to {\n transform: scaleY(0.6);\n }\n}\n\n@keyframes wave3 {\n from {\n transform: scaleY(0.6);\n }\n\n to {\n transform: scaleY(0.8);\n }\n}\n\n@keyframes wave4 {\n from {\n transform: scaleY(0.2);\n }\n\n to {\n transform: scaleY(0.5);\n }\n}\n\n", "component_name": "GalaxySweetStarfish100" }, "platforms": { "h5": true, "mp-weixin": true, "mp-alipay": true, "mp-baidu": true, "mp-toutiao": true, "app-plus": true }, "props": [ { "name": "disabled", "type": "Boolean", "default": false, "required": false, "description": "是否禁用" } ], "events": [], "slots": [ { "name": "", "description": "", "props": [] } ], "compatibility": { "h5": { "supported": true, "issues": [], "alternatives": [] }, "mp-weixin": { "supported": true, "issues": [ "不支持 cursor 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 cursor 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "high", "bundle_size": 2010, "render_cost": "high", "memory_usage": "high" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:39.542Z", "updated_at": "2025-07-31T07:55:39.542Z" }