UNPKG

galaxy-uniapp-mcp-server

Version:

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

114 lines 4.24 kB
{ "id": "Na3ar-17_shy-firefox-86", "name": "shy-firefox-86", "category": "buttons", "author": "Na3ar-17", "description": "shy-firefox-86 组件 (simple, icon, animation, button, interactive)", "tags": [ "simple", "icon", "animation", "button", "interactive" ], "original": { "html": "<button class=\"button\">\n <svg viewBox=\"0 0 24 24\" fill=\"none\" height=\"24\" width=\"24\" xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\" class=\"icon\">\n <path d=\"M5 12h14m-7 7V5\" stroke-width=\"2\" stroke-linejoin=\"round\" stroke-linecap=\"round\" stroke=\"currentColor\"></path>\n </svg>\n\n Create Task\n</button>", "css": "/* From Uiverse.io by Na3ar-17 - Tags: simple, icon, animation, button */\n.button {\n font-family: Arial, Helvetica, sans-serif;\n font-size: 18px;\n cursor: pointer;\n transition: all 0.2s ease;\n display: flex;\n align-items: center;\n font-weight: 500;\n background-color: #268bff;\n color: white;\n border: none;\n gap: 2px;\n border-radius: 8px;\n padding: 4px 8px;\n}\n\n.button .icon {\n width: 20px;\n}\n\n.button:hover {\n background-color: #268bffaf;\n}\n.button:active {\n transform: translateY(2px);\n}", "file_path": "/mnt/persist/workspace/Buttons/Na3ar-17_shy-firefox-86.html" }, "uniapp": { "template": "<button class=\"button\"></button>\n <view viewBox=\"0 0 24 24\" fill=\"none\" height=\"24\" width=\"24\" xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\" class=\"icon\"></view>\n <path d=\"M5 12h14m-7 7V5\" stroke-width=\"2\" stroke-linejoin=\"round\" stroke-linecap=\"round\" stroke=\"currentColor\"></path>\n </svg>\n\n Create Task\n</button>", "script": "export default {\n name: 'GalaxyShyFirefox86',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by Na3ar-17 - Tags: simple, icon, animation, button */\n.button {\n font-family: Arial, Helvetica, sans-serif;\n font-size: 36rpx;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n transition: all 0.2s ease;\n display: flex;\n align-items: center;\n font-weight: 500;\n background-color: #268bff;\n color: white;\n border: none;\n gap: 4rpx;\n border-radius: 16rpx;\n padding: 8rpx 16rpx;\n}\n\n.button .icon {\n width: 40rpx;\n}\n\n.button:hover {\n background-color: #268bffaf;\n}\n.button:active {\n transform: translateY(4rpx);\n}\n\n", "component_name": "GalaxyShyFirefox86" }, "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": [ "不支持 cursor 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 cursor 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 827, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:34.108Z", "updated_at": "2025-07-31T07:55:34.108Z" }