UNPKG

galaxy-uniapp-mcp-server

Version:

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

85 lines 3.46 kB
{ "id": "ahmed150up_old-moose-46", "name": "old-moose-46", "category": "loaders", "author": "ahmed150up", "description": "old-moose-46 组件 (loader, animation)", "tags": [ "loader", "animation" ], "original": { "html": "<div class=\"loader\">\n <div class=\"bar\"></div>\n <div class=\"bar\"></div>\n <div class=\"bar\"></div>\n <div class=\"bar\"></div>\n</div>", "css": "/* From Uiverse.io by ahmed150up - Tags: loader */\n.loader {\n display: flex;\n justify-content: center;\n}\n\n.bar {\n width: 7px;\n height: 18px;\n margin: 0 9px;\n border-radius: 10px;\n animation: loading_5192 1s ease-in-out infinite;\n background-color: aqua;\n}\n\n.bar:nth-child(1) {\n animation-delay: 0.01s;\n}\n\n.bar:nth-child(2) {\n animation-delay: 0.09s;\n}\n\n.bar:nth-child(3) {\n animation-delay: 0.19s;\n}\n\n.bar:nth-child(4) {\n animation-delay: 0.29s;\n}\n\n@keyframes loading_5192 {\n 0% {\n transform: scale(1);\n }\n\n 20% {\n transform: scale(1, 2.5);\n }\n\n 40% {\n transform: scale(1);\n }\n}", "file_path": "/mnt/persist/workspace/loaders/ahmed150up_old-moose-46.html" }, "uniapp": { "template": "<view class=\"loader\"></view>\n <view class=\"bar\"></view>\n <view class=\"bar\"></view>\n <view class=\"bar\"></view>\n <view class=\"bar\"></view>\n</div>", "script": "export default {\n name: 'GalaxyOldMoose46',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by ahmed150up - Tags: loader */\n.loader {\n display: flex;\n justify-content: center;\n}\n\n.bar {\n width: 14rpx;\n height: 36rpx;\n margin: 0 18rpx;\n border-radius: 20rpx;\n animation: loading_5192 1s ease-in-out infinite;\n background-color: aqua;\n}\n\n.bar:nth-child(1) {\n animation-delay: 0.01s;\n}\n\n.bar:nth-child(2) {\n animation-delay: 0.09s;\n}\n\n.bar:nth-child(3) {\n animation-delay: 0.19s;\n}\n\n.bar:nth-child(4) {\n animation-delay: 0.29s;\n}\n\n@keyframes loading_5192 {\n 0% {\n transform: scale(1);\n }\n\n 20% {\n transform: scale(1, 2.5);\n }\n\n 40% {\n transform: scale(1);\n }\n}\n\n", "component_name": "GalaxyOldMoose46" }, "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": 743, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:40.892Z", "updated_at": "2025-07-31T07:55:40.892Z" }