UNPKG

galaxy-uniapp-mcp-server

Version:

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

85 lines 3.45 kB
{ "id": "Shoh2008_new-lion-60", "name": "new-lion-60", "category": "loaders", "author": "Shoh2008", "description": "new-lion-60 组件 (loader, animation)", "tags": [ "loader", "animation" ], "original": { "html": "<div class=\"loader\"></div>", "css": "/* From Uiverse.io by Shoh2008 - Tags: loader */\n.loader {\n width: 84px;\n height: 84px;\n position: relative;\n overflow: hidden;\n}\n\n.loader:before , .loader:after {\n content: \"\";\n position: absolute;\n left: 50%;\n bottom: 0;\n width: 64px;\n height: 64px;\n border-radius: 50%;\n background: yellow;\n transform: translate(-50% , 100%) scale(0);\n animation: push_4051 2s infinite ease-in;\n}\n\n.loader:after {\n animation-delay: 1s;\n}\n\n@keyframes push_4051 {\n 0% {\n transform: translate(-50% , 100%) scale(1);\n }\n\n 15% , 25% {\n transform: translate(-50% , 50%) scale(1);\n }\n\n 50% , 75% {\n transform: translate(-50%, -30%) scale(0.5);\n }\n\n 80%, 100% {\n transform: translate(-50%, -50%) scale(0);\n }\n}", "file_path": "/mnt/persist/workspace/loaders/Shoh2008_new-lion-60.html" }, "uniapp": { "template": "<view class=\"loader\"></view>", "script": "export default {\n name: 'GalaxyNewLion60',\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: 168rpx;\n height: 168rpx;\n position: relative;\n overflow: hidden;\n}\n\n.loader:before , .loader:after {\n content: \"\";\n position: absolute;\n left: 50%;\n bottom: 0;\n width: 128rpx;\n height: 128rpx;\n border-radius: 50%;\n background: yellow;\n transform: translate(-50% , 100%) scale(0);\n animation: push_4051 2s infinite ease-in;\n}\n\n.loader:after {\n animation-delay: 1s;\n}\n\n@keyframes push_4051 {\n 0% {\n transform: translate(-50% , 100%) scale(1);\n }\n\n 15% , 25% {\n transform: translate(-50% , 50%) scale(1);\n }\n\n 50% , 75% {\n transform: translate(-50%, -30%) scale(0.5);\n }\n\n 80%, 100% {\n transform: translate(-50%, -50%) scale(0);\n }\n}\n \n", "component_name": "GalaxyNewLion60" }, "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": 761, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:40.407Z", "updated_at": "2025-07-31T07:55:40.407Z" }