UNPKG

galaxy-uniapp-mcp-server

Version:

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

85 lines 4.1 kB
{ "id": "kerolos23_ancient-lizard-27", "name": "ancient-lizard-27", "category": "loaders", "author": "kerolos23", "description": "ancient-lizard-27 组件 (loader, animation)", "tags": [ "loader", "animation" ], "original": { "html": "<div class=\"loader\">\n <div></div>\n <div></div>\n <div></div>\n <div></div>\n</div>", "css": "/* From Uiverse.io by kerolos23 - Tags: loader */\n.loader {\n display: inline-block;\n position: relative;\n width: 80px;\n height: 80px;\n}\n\n.loader div {\n position: absolute;\n top: 33px;\n width: 13px;\n height: 13px;\n border-radius: 50%;\n background: #c517f0;\n animation-timing-function: cubic-bezier(0, 1, 1, 0);\n}\n\n.loader div:nth-child(1) {\n left: 8px;\n animation: flip1 0.6s infinite;\n}\n\n.loader div:nth-child(2) {\n left: 8px;\n animation: flip2 0.6s infinite;\n}\n\n.loader div:nth-child(3) {\n left: 32px;\n animation: flip2 0.6s infinite;\n}\n\n.loader div:nth-child(4) {\n left: 56px;\n animation: flip3 0.6s infinite;\n}\n\n@keyframes flip1 {\n 0% {\n transform: scale(0);\n }\n\n 100% {\n transform: scale(1);\n }\n}\n\n@keyframes flip3 {\n 0% {\n transform: scale(1);\n }\n\n 100% {\n transform: scale(0);\n }\n}\n\n@keyframes flip2 {\n 0% {\n transform: translate(0, 0);\n }\n\n 100% {\n transform: translate(24px, 0);\n }\n}", "file_path": "/mnt/persist/workspace/loaders/kerolos23_ancient-lizard-27.html" }, "uniapp": { "template": "<view class=\"loader\"></view>\n <view></view>\n <view></view>\n <view></view>\n <view></view>\n</div>", "script": "export default {\n name: 'GalaxyAncientLizard27',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by kerolos23 - Tags: loader */\n.loader {\n display: inline-block;\n position: relative;\n width: 160rpx;\n height: 160rpx;\n}\n\n.loader div {\n position: absolute;\n top: 66rpx;\n width: 26rpx;\n height: 26rpx;\n border-radius: 50%;\n background: #c517f0;\n animation-timing-function: cubic-bezier(0, 1, 1, 0);\n}\n\n.loader div:nth-child(1) {\n left: 16rpx;\n animation: flip1 0.6s infinite;\n}\n\n.loader div:nth-child(2) {\n left: 16rpx;\n animation: flip2 0.6s infinite;\n}\n\n.loader div:nth-child(3) {\n left: 64rpx;\n animation: flip2 0.6s infinite;\n}\n\n.loader div:nth-child(4) {\n left: 112rpx;\n animation: flip3 0.6s infinite;\n}\n\n@keyframes flip1 {\n 0% {\n transform: scale(0);\n }\n\n 100% {\n transform: scale(1);\n }\n}\n\n@keyframes flip3 {\n 0% {\n transform: scale(1);\n }\n\n 100% {\n transform: scale(0);\n }\n}\n\n@keyframes flip2 {\n 0% {\n transform: translate(0, 0);\n }\n\n 100% {\n transform: translate(48rpx, 0);\n }\n}\n\n", "component_name": "GalaxyAncientLizard27" }, "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": 1028, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:42.279Z", "updated_at": "2025-07-31T07:55:42.279Z" }