UNPKG

galaxy-uniapp-mcp-server

Version:

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

104 lines 4.02 kB
{ "id": "EmaCoto_breezy-cobra-71", "name": "breezy-cobra-71", "category": "buttons", "author": "EmaCoto", "description": "breezy-cobra-71 组件", "tags": [], "original": { "html": "<button class=\"rounded-lg relative w-36 h-10 cursor-pointer flex items-center border border-green-500 bg-green-500 group hover:bg-green-500 active:bg-green-500 active:border-green-500\">\n <span class=\"text-gray-200 font-semibold ml-8 transform group-hover:translate-x-20 transition-all duration-300\">Add Item</span>\n <span class=\"absolute right-0 h-full w-10 rounded-lg bg-green-500 flex items-center justify-center transform group-hover:translate-x-0 group-hover:w-full transition-all duration-300\">\n <svg class=\"svg w-8 text-white\" fill=\"none\" height=\"24\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" viewBox=\"0 0 24 24\" width=\"24\" xmlns=\"http://www.w3.org/2000/svg\">\n <line x1=\"12\" x2=\"12\" y1=\"5\" y2=\"19\"></line>\n <line x1=\"5\" x2=\"19\" y1=\"12\" y2=\"12\"></line>\n </svg>\n </span>\n</button>", "css": "", "file_path": "/mnt/persist/workspace/Buttons/EmaCoto_breezy-cobra-71.html" }, "uniapp": { "template": "<button class=\"rounded-lg relative w-36 h-10 cursor-pointer flex items-center border border-green-500 bg-green-500 group hover:bg-green-500 active:bg-green-500 active:border-green-500\"></button>\n <text class=\"text-gray-200 font-semibold ml-8 transform group-hover:translate-x-20 transition-all duration-300\">Add Item</text>\n <text class=\"absolute right-0 h-full w-10 rounded-lg bg-green-500 flex items-center justify-center transform group-hover:translate-x-0 group-hover:w-full transition-all duration-300\"></text>\n <view class=\"svg w-8 text-white\" fill=\"none\" height=\"24\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" viewBox=\"0 0 24 24\" width=\"24\" xmlns=\"http://www.w3.org/2000/svg\"></view>\n <line x1=\"12\" x2=\"12\" y1=\"5\" y2=\"19\"></line>\n <line x1=\"5\" x2=\"19\" y1=\"12\" y2=\"12\"></line>\n </svg>\n </span>\n</button>", "script": "export default {\n name: 'GalaxyBreezyCobra71',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "", "component_name": "GalaxyBreezyCobra71" }, "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": "low", "bundle_size": 854, "render_cost": "low", "memory_usage": "low" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:33.200Z", "updated_at": "2025-07-31T07:55:33.200Z" }