UNPKG

galaxy-uniapp-mcp-server

Version:

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

86 lines 3.85 kB
{ "id": "aadium_friendly-puma-64", "name": "friendly-puma-64", "category": "loaders", "author": "aadium", "description": "friendly-puma-64 组件 (gradient, loader, animation)", "tags": [ "gradient", "loader", "animation" ], "original": { "html": "<div class=\"loader\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 66 66\" height=\"100px\" width=\"100px\" class=\"spinner\">\n <circle stroke=\"url(#gradient)\" r=\"20\" cy=\"33\" cx=\"33\" stroke-width=\"1\" fill=\"transparent\" class=\"path\"></circle>\n <linearGradient id=\"gradient\">\n <stop stop-opacity=\"1\" stop-color=\"#fe0000\" offset=\"0%\"></stop>\n <stop stop-opacity=\"0\" stop-color=\"#af3dff\" offset=\"100%\"></stop>\n </linearGradient>\n \n </svg> \n</div>", "css": "/* From Uiverse.io by aadium - Tags: gradient, loader */\n.loader {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.spinner {\n width: 250px;\n height: 150px;\n position: relative;\n animation: rotation 0.75s linear infinite;\n border-radius: 100em;\n}\n\n.path {\n stroke-dasharray: 100;\n stroke-dashoffset: 20;\n stroke-linecap: round;\n}\n\n@keyframes rotation {\n to {\n transform: rotate(360deg);\n }\n}", "file_path": "/mnt/persist/workspace/loaders/aadium_friendly-puma-64.html" }, "uniapp": { "template": "<view class=\"loader\"></view>\n <view xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 66 66\" height=\"100px\" width=\"100px\" class=\"spinner\"></view>\n <circle stroke=\"url(#gradient)\" r=\"20\" cy=\"33\" cx=\"33\" stroke-width=\"1\" fill=\"transparent\" class=\"path\"></circle>\n <linearGradient id=\"gradient\">\n <stop stop-opacity=\"1\" stop-color=\"#fe0000\" offset=\"0%\"></stop>\n <stop stop-opacity=\"0\" stop-color=\"#af3dff\" offset=\"100%\"></stop>\n </linearGradient>\n \n </svg> \n</div>", "script": "export default {\n name: 'GalaxyFriendlyPuma64',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by aadium - Tags: gradient, loader */\n.loader {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.spinner {\n width: 500rpx;\n height: 300rpx;\n position: relative;\n animation: rotation 0.75s linear infinite;\n border-radius: 100em;\n}\n\n.path {\n stroke-dasharray: 100;\n stroke-dashoffset: 20;\n stroke-linecap: round;\n}\n\n@keyframes rotation {\n to {\n transform: rotate(360deg);\n }\n}\n\n", "component_name": "GalaxyFriendlyPuma64" }, "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": 906, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:40.852Z", "updated_at": "2025-07-31T07:55:40.852Z" }