UNPKG

galaxy-uniapp-mcp-server

Version:

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

96 lines 3.96 kB
{ "id": "Zadrus_sweet-dragon-8", "name": "sweet-dragon-8", "category": "loaders", "author": "Zadrus", "description": "sweet-dragon-8 组件 (simple, red, minimalist, gradient, loader, spinner, animated, gradients, animation)", "tags": [ "simple", "red", "minimalist", "gradient", "loader", "spinner", "animated", "gradients", "animation" ], "original": { "html": "<div class=\"loading\">\n <div class=\"diamond\"></div>\n <div class=\"diamond middle\"></div>\n <div class=\"diamond\"></div>\n</div>", "css": "/* From Uiverse.io by Zadrus - Tags: simple, red, minimalist, gradient, loader, spinner, animated, gradients */\n.loading {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.diamond {\n width: 50px;\n height: 50px;\n background-color: orange;\n clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);\n margin: 5px;\n opacity: 0;\n animation: fade-in-out 1.5s ease-in-out infinite;\n}\n\n.diamond.middle {\n transform: rotateY(180deg);\n}\n\n@keyframes fade-in-out {\n 0%,\n 100% {\n opacity: 0;\n }\n 50% {\n opacity: 1;\n }\n}\n\n.diamond {\n background: linear-gradient(45deg, #ffba00, #ff6c00);\n}\n\n.diamond:nth-child(1) {\n animation-delay: 0s;\n}\n\n.diamond.middle {\n animation-delay: 0.5s;\n}\n\n.diamond:nth-child(3) {\n animation-delay: 1s;\n}", "file_path": "/mnt/persist/workspace/loaders/Zadrus_sweet-dragon-8.html" }, "uniapp": { "template": "<view class=\"loading\"></view>\n <view class=\"diamond\"></view>\n <view class=\"diamond middle\"></view>\n <view class=\"diamond\"></view>\n</div>", "script": "export default {\n name: 'GalaxySweetDragon8',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by Zadrus - Tags: simple, red, minimalist, gradient, loader, spinner, animated, gradients */\n.loading {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.diamond {\n width: 100rpx;\n height: 100rpx;\n background-color: orange;\n \n margin: 10rpx;\n opacity: 0;\n animation: fade-in-out 1.5s ease-in-out infinite;\n}\n\n.diamond.middle {\n transform: rotateY(180deg);\n}\n\n@keyframes fade-in-out {\n 0%,\n 100% {\n opacity: 0;\n }\n 50% {\n opacity: 1;\n }\n}\n\n.diamond {\n background: linear-gradient(45deg, #ffba00, #ff6c00);\n}\n\n.diamond:nth-child(1) {\n animation-delay: 0s;\n}\n\n.diamond.middle {\n animation-delay: 0.5s;\n}\n\n.diamond:nth-child(3) {\n animation-delay: 1s;\n}\n\n", "component_name": "GalaxySweetDragon8" }, "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": [ "不支持 clip-path 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 clip-path 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 897, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:40.842Z", "updated_at": "2025-07-31T07:55:40.842Z" }