UNPKG

galaxy-uniapp-mcp-server

Version:

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

85 lines 3.19 kB
{ "id": "KSAplay_quiet-snake-78", "name": "quiet-snake-78", "category": "loaders", "author": "KSAplay", "description": "quiet-snake-78 组件 (loader, animation)", "tags": [ "loader", "animation" ], "original": { "html": "<div class=\"loader\"></div>", "css": "/* From Uiverse.io by KSAplay - Tags: loader */\n.loader {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.loader::before,\n.loader::after {\n position: absolute;\n content: \"\";\n height: 8em;\n width: 8em;\n border: 1em solid #0060fa;\n border-radius: 50%;\n animation: loader_79178 2s linear infinite;\n}\n\n.loader::after {\n opacity: 0;\n animation-delay: 1s;\n}\n\n@keyframes loader_79178 {\n 0% {\n border: 1em solid #0060fa;\n transform: scale(0);\n opacity: 1;\n }\n\n 100% {\n border: 0 solid #0060fa;\n transform: scale(1);\n opacity: 0;\n }\n}", "file_path": "/mnt/persist/workspace/loaders/KSAplay_quiet-snake-78.html" }, "uniapp": { "template": "<view class=\"loader\"></view>", "script": "export default {\n name: 'GalaxyQuietSnake78',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by KSAplay - Tags: loader */\n.loader {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.loader::before,\n.loader::after {\n position: absolute;\n content: \"\";\n height: 8em;\n width: 8em;\n border: 1em solid #0060fa;\n border-radius: 50%;\n animation: loader_79178 2s linear infinite;\n}\n\n.loader::after {\n opacity: 0;\n animation-delay: 1s;\n}\n\n@keyframes loader_79178 {\n 0% {\n border: 1em solid #0060fa;\n transform: scale(0);\n opacity: 1;\n }\n\n 100% {\n border: 0 solid #0060fa;\n transform: scale(1);\n opacity: 0;\n }\n}\n", "component_name": "GalaxyQuietSnake78" }, "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": 631, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:39.605Z", "updated_at": "2025-07-31T07:55:39.605Z" }