UNPKG

galaxy-uniapp-mcp-server

Version:

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

90 lines 3.89 kB
{ "id": "Df12345677_honest-seahorse-42", "name": "honest-seahorse-42", "category": "loaders", "author": "Df12345677", "description": "honest-seahorse-42 组件 (loader, animation, gradient)", "tags": [ "loader", "animation", "gradient" ], "original": { "html": "<div class=\"loader\"> \n <span id=\"one\"></span>\n <span id=\"two\"></span>\n <span id=\"three\"></span>\n</div>", "css": "/* From Uiverse.io by Df12345677 - Tags: loader */\n.loader {\n display: flex;\n gap: 10px;\n}\n\n.loader span {\n height: 20px;\n width: 20px;\n background-image: linear-gradient(to right , #333 , #233,#222,#122,#112,#111,#011,#001,#000);\n border-radius: 50%;\n animation-name: animar;\n animation-duration: 3s;\n animation-iteration-count: infinite;\n box-shadow: 20px 20px 18px #666666,\n -20px -20px 18px #ffffff;\n}\n\n#one {\n animation-delay: 1s;\n}\n\n#two {\n animation-delay: 2s;\n}\n\n#three {\n animation-delay: 3s;\n}\n\n@keyframes animar {\n 0% {\n transform: scale(1);\n }\n\n 33% {\n transform: scale(.3);\n }\n\n 66% {\n transform: scale(1);\n }\n\n 100% {\n transform: scale(1);\n }\n}", "file_path": "/mnt/persist/workspace/loaders/Df12345677_honest-seahorse-42.html" }, "uniapp": { "template": "<view class=\"loader\"></view> \n <text id=\"one\"></text>\n <text id=\"two\"></text>\n <text id=\"three\"></text>\n</div>", "script": "export default {\n name: 'GalaxyHonestSeahorse42',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by Df12345677 - Tags: loader */\n.loader {\n display: flex;\n gap: 20rpx;\n}\n\n.loader span {\n height: 40rpx;\n width: 40rpx;\n background-image: linear-gradient(to right , #333 , #233,#222,#122,#112,#111,#011,#001,#000);\n border-radius: 50%;\n animation-name: animar;\n animation-duration: 3s;\n animation-iteration-count: infinite;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 40rpx 40rpx 36rpx #666666,\n -40rpx -40rpx 36rpx #ffffff;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n#one {\n animation-delay: 1s;\n}\n\n#two {\n animation-delay: 2s;\n}\n\n#three {\n animation-delay: 3s;\n}\n\n@keyframes animar {\n 0% {\n transform: scale(1);\n }\n\n 33% {\n transform: scale(.3);\n }\n\n 66% {\n transform: scale(1);\n }\n\n 100% {\n transform: scale(1);\n }\n}\n", "component_name": "GalaxyHonestSeahorse42" }, "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": [ "不支持 box-shadow 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 box-shadow 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 812, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:39.188Z", "updated_at": "2025-07-31T07:55:39.188Z" }