UNPKG

galaxy-uniapp-mcp-server

Version:

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

85 lines 4.84 kB
{ "id": "davidhbt_spicy-eagle-12", "name": "spicy-eagle-12", "category": "loaders", "author": "davidhbt", "description": "spicy-eagle-12 组件 (loader, animation)", "tags": [ "loader", "animation" ], "original": { "html": "<div class=\"loader\">\n <div class=\"circle\"></div>\n <div class=\"circle\"></div>\n <div class=\"circle\"></div>\n <div class=\"circle\"></div>\n <div class=\"circle\"></div>\n <div class=\"circle\"></div>\n <div class=\"circle\"></div>\n <div class=\"circle\"></div>\n <div class=\"circle\"></div>\n <div class=\"circle\"></div>\n </div>", "css": "/* From Uiverse.io by davidhbt - Tags: loader */\n@keyframes bounce {\n 0%, 80%, 100% {\n transform: scale(0);\n opacity: 0;\n }\n\n 40% {\n transform: scale(1);\n opacity: 1;\n }\n}\n\n.loader {\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n align-items: center;\n width: 100px;\n height: 100px;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\n.circle {\n width: 20px;\n height: 20px;\n background-color: rgb(83, 82, 82);\n border-radius: 50%;\n margin: 2px;\n animation: bounce 1.2s infinite ease-in-out;\n}\n\n.circle:nth-child(2) {\n animation-delay: -0.1s;\n}\n\n.circle:nth-child(3) {\n animation-delay: -0.2s;\n}\n\n.circle:nth-child(4) {\n animation-delay: -0.3s;\n}\n\n.circle:nth-child(5) {\n animation-delay: -0.4s;\n}\n\n.circle:nth-child(6) {\n animation-delay: -0.5s;\n}\n\n.circle:nth-child(7) {\n animation-delay: -0.6s;\n}\n\n.circle:nth-child(8) {\n animation-delay: -0.7s;\n}\n\n.circle:nth-child(9) {\n animation-delay: -0.8s;\n}\n\n.circle:nth-child(10) {\n animation-delay: -0.9s;\n}", "file_path": "/mnt/persist/workspace/loaders/davidhbt_spicy-eagle-12.html" }, "uniapp": { "template": "<view class=\"loader\"></view>\n <view class=\"circle\"></view>\n <view class=\"circle\"></view>\n <view class=\"circle\"></view>\n <view class=\"circle\"></view>\n <view class=\"circle\"></view>\n <view class=\"circle\"></view>\n <view class=\"circle\"></view>\n <view class=\"circle\"></view>\n <view class=\"circle\"></view>\n <view class=\"circle\"></view>\n </div>", "script": "export default {\n name: 'GalaxySpicyEagle12',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by davidhbt - Tags: loader */\n@keyframes bounce {\n 0%, 80%, 100% {\n transform: scale(0);\n opacity: 0;\n }\n\n 40% {\n transform: scale(1);\n opacity: 1;\n }\n}\n\n.loader {\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n align-items: center;\n width: 200rpx;\n height: 200rpx;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\n.circle {\n width: 40rpx;\n height: 40rpx;\n background-color: rgb(83, 82, 82);\n border-radius: 50%;\n margin: 4rpx;\n animation: bounce 1.2s infinite ease-in-out;\n}\n\n.circle:nth-child(2) {\n animation-delay: -0.1s;\n}\n\n.circle:nth-child(3) {\n animation-delay: -0.2s;\n}\n\n.circle:nth-child(4) {\n animation-delay: -0.3s;\n}\n\n.circle:nth-child(5) {\n animation-delay: -0.4s;\n}\n\n.circle:nth-child(6) {\n animation-delay: -0.5s;\n}\n\n.circle:nth-child(7) {\n animation-delay: -0.6s;\n}\n\n.circle:nth-child(8) {\n animation-delay: -0.7s;\n}\n\n.circle:nth-child(9) {\n animation-delay: -0.8s;\n}\n\n.circle:nth-child(10) {\n animation-delay: -0.9s;\n}\n", "component_name": "GalaxySpicyEagle12" }, "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": [], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 1379, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:41.237Z", "updated_at": "2025-07-31T07:55:41.237Z" }