UNPKG

galaxy-uniapp-mcp-server

Version:

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

110 lines 4 kB
{ "id": "Madflows_stale-baboon-45", "name": "stale-baboon-45", "category": "buttons", "author": "Madflows", "description": "stale-baboon-45 组件 (button, download, animation, gradient, interactive)", "tags": [ "button", "download", "animation", "gradient", "interactive" ], "original": { "html": "<button class=\"button\">\n <span class=\"button-content\">Download </span>\n</button>", "css": "/* From Uiverse.io by Madflows - Tags: button, download */\n.button {\n position: relative;\n overflow: hidden;\n height: 3rem;\n padding: 0 2rem;\n border-radius: 1.5rem;\n background: #3d3a4e;\n background-size: 400%;\n color: #fff;\n border: none;\n}\n\n.button:hover::before {\n transform: scaleX(1);\n}\n\n.button-content {\n position: relative;\n z-index: 1;\n}\n\n.button::before {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n transform: scaleX(0);\n transform-origin: 0 50%;\n width: 100%;\n height: inherit;\n border-radius: inherit;\n background: linear-gradient(\n 82.3deg,\n rgba(150, 93, 233, 1) 10.8%,\n rgba(99, 88, 238, 1) 94.3%\n );\n transition: all 0.475s;\n}", "file_path": "/mnt/persist/workspace/Buttons/Madflows_stale-baboon-45.html" }, "uniapp": { "template": "<button class=\"button\"></button>\n <text class=\"button-content\">Download </text>\n</button>", "script": "export default {\n name: 'GalaxyStaleBaboon45',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by Madflows - Tags: button, download */\n.button {\n position: relative;\n overflow: hidden;\n height: 3rem;\n padding: 0 2rem;\n border-radius: 1.5rem;\n background: #3d3a4e;\n background-size: 400%;\n color: #fff;\n border: none;\n}\n\n.button:hover::before {\n transform: scaleX(1);\n}\n\n.button-content {\n position: relative;\n z-index: 1;\n}\n\n.button::before {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n transform: scaleX(0);\n transform-origin: 0 50%;\n width: 100%;\n height: inherit;\n border-radius: inherit;\n background: linear-gradient(\n 82.3deg,\n rgba(150, 93, 233, 1) 10.8%,\n rgba(99, 88, 238, 1) 94.3%\n );\n transition: all 0.475s;\n}\n", "component_name": "GalaxyStaleBaboon45" }, "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": "是否禁用" }, { "name": "text", "type": "String", "default": "按钮", "required": false, "description": "按钮文字" }, { "name": "type", "type": "String", "default": "primary", "required": false, "description": "按钮类型" } ], "events": [ { "name": "click", "description": "点击事件", "parameters": [ "event" ] } ], "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": 775, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:33.888Z", "updated_at": "2025-07-31T07:55:33.888Z" }