UNPKG

galaxy-uniapp-mcp-server

Version:

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

86 lines 3.17 kB
{ "id": "Shoh2008_ugly-elephant-80", "name": "ugly-elephant-80", "category": "loaders", "author": "Shoh2008", "description": "ugly-elephant-80 组件 (loader, animation, gradient)", "tags": [ "loader", "animation", "gradient" ], "original": { "html": "<div class=\"loader\"></div>", "css": "/* From Uiverse.io by Shoh2008 - Tags: loader */\n.loader {\n width: 45px;\n height: 40px;\n background: linear-gradient(#0000 calc(1*100%/6),#fff 0 calc(3*100%/6),#0000 0),\n linear-gradient(#0000 calc(2*100%/6),#fff 0 calc(4*100%/6),#0000 0),\n linear-gradient(#0000 calc(3*100%/6),#fff 0 calc(5*100%/6),#0000 0);\n background-size: 10px 400%;\n background-repeat: no-repeat;\n animation: matrix 1s infinite linear;\n}\n\n@keyframes matrix {\n 0% {\n background-position: 0% 100%, 50% 100%, 100% 100%\n }\n\n 100% {\n background-position: 0% 0%, 50% 0%, 100% 0%\n }\n}", "file_path": "/mnt/persist/workspace/loaders/Shoh2008_ugly-elephant-80.html" }, "uniapp": { "template": "<view class=\"loader\"></view>", "script": "export default {\n name: 'GalaxyUglyElephant80',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by Shoh2008 - Tags: loader */\n.loader {\n width: 90rpx;\n height: 80rpx;\n background: linear-gradient(#0000 calc(1*100%/6),#fff 0 calc(3*100%/6),#0000 0),\n linear-gradient(#0000 calc(2*100%/6),#fff 0 calc(4*100%/6),#0000 0),\n linear-gradient(#0000 calc(3*100%/6),#fff 0 calc(5*100%/6),#0000 0);\n background-size: 20rpx 400%;\n background-repeat: no-repeat;\n animation: matrix 1s infinite linear;\n}\n\n@keyframes matrix {\n 0% {\n background-position: 0% 100%, 50% 100%, 100% 100%\n }\n\n 100% {\n background-position: 0% 0%, 50% 0%, 100% 0%\n }\n}\n \n", "component_name": "GalaxyUglyElephant80" }, "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": 623, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:40.469Z", "updated_at": "2025-07-31T07:55:40.469Z" }