UNPKG

galaxy-uniapp-mcp-server

Version:

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

88 lines 3.32 kB
{ "id": "LeonKohli_ordinary-rat-31", "name": "ordinary-rat-31", "category": "loaders", "author": "LeonKohli", "description": "ordinary-rat-31 组件 (gradient, loader, rounded, gradients, animation)", "tags": [ "gradient", "loader", "rounded", "gradients", "animation" ], "original": { "html": "<div class=\"loader\">\n <div class=\"bubble\"></div>\n <div class=\"bubble\"></div>\n <div class=\"bubble\"></div>\n</div>", "css": "/* From Uiverse.io by LeonKohli - Tags: gradient, loader, rounded, gradients */\n.loader {\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n}\n\n.bubble {\n width: 20px;\n height: 20px;\n border-radius: 50%;\n background-image: linear-gradient(to right, #ff6b81, #ff9a44);\n margin: 0 5px;\n animation: bubbleAnimation 1.5s ease-in-out infinite;\n}\n\n@keyframes bubbleAnimation {\n 0%,\n 100% {\n transform: scale(1);\n opacity: 1;\n }\n 50% {\n transform: scale(2);\n opacity: 0.5;\n }\n}", "file_path": "/mnt/persist/workspace/loaders/LeonKohli_ordinary-rat-31.html" }, "uniapp": { "template": "<view class=\"loader\"></view>\n <view class=\"bubble\"></view>\n <view class=\"bubble\"></view>\n <view class=\"bubble\"></view>\n</div>", "script": "export default {\n name: 'GalaxyOrdinaryRat31',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by LeonKohli - Tags: gradient, loader, rounded, gradients */\n.loader {\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n}\n\n.bubble {\n width: 40rpx;\n height: 40rpx;\n border-radius: 50%;\n background-image: linear-gradient(to right, #ff6b81, #ff9a44);\n margin: 0 10rpx;\n animation: bubbleAnimation 1.5s ease-in-out infinite;\n}\n\n@keyframes bubbleAnimation {\n 0%,\n 100% {\n transform: scale(1);\n opacity: 1;\n }\n 50% {\n transform: scale(2);\n opacity: 0.5;\n }\n}\n\n", "component_name": "GalaxyOrdinaryRat31" }, "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": 650, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:39.631Z", "updated_at": "2025-07-31T07:55:39.631Z" }