UNPKG

galaxy-uniapp-mcp-server

Version:

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

115 lines 5.47 kB
{ "id": "vinodjangid07_brave-ladybug-0", "name": "brave-ladybug-0", "category": "buttons", "author": "vinodjangid07", "description": "brave-ladybug-0 组件 (button, copy, hover effect, interactive)", "tags": [ "button", "copy", "hover effect", "interactive" ], "original": { "html": "<button class=\"Btn\">\n <span class=\"text\">Copy</span>\n <span class=\"svgIcon\">\n <svg fill=\"white\" viewBox=\"0 0 384 512\" height=\"1em\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M280 64h40c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V128C0 92.7 28.7 64 64 64h40 9.6C121 27.5 153.3 0 192 0s71 27.5 78.4 64H280zM64 112c-8.8 0-16 7.2-16 16V448c0 8.8 7.2 16 16 16H320c8.8 0 16-7.2 16-16V128c0-8.8-7.2-16-16-16H304v24c0 13.3-10.7 24-24 24H192 104c-13.3 0-24-10.7-24-24V112H64zm128-8a24 24 0 1 0 0-48 24 24 0 1 0 0 48z\"></path></svg>\n </span>\n</button>", "css": "/* From Uiverse.io by vinodjangid07 - Tags: button, copy, hover effect */\n.Btn {\n width: 100px;\n height: 35px;\n display: flex;\n align-items: center;\n justify-content: flex-start;\n border: none;\n border-radius: 4px;\n overflow: hidden;\n box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.164);\n cursor: pointer;\n}\n\n.text {\n width: 65%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n color: white;\n background-color: rgb(2, 153, 153);\n}\n\n.svgIcon {\n width: 35%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n color: white;\n background-color: teal;\n}\n\n.Btn:hover .text {\n background-color: rgb(0, 133, 133);\n}\n\n.Btn:hover .svgIcon {\n background-color: rgb(0, 105, 105);\n}", "file_path": "/mnt/persist/workspace/Buttons/vinodjangid07_brave-ladybug-0.html" }, "uniapp": { "template": "<button class=\"Btn\"></button>\n <text class=\"text\">Copy</text>\n <text class=\"svgIcon\"></text>\n <view fill=\"white\" viewBox=\"0 0 384 512\" height=\"1em\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M280 64h40c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V128C0 92.7 28.7 64 64 64h40 9.6C121 27.5 153.3 0 192 0s71 27.5 78.4 64H280zM64 112c-8.8 0-16 7.2-16 16V448c0 8.8 7.2 16 16 16H320c8.8 0 16-7.2 16-16V128c0-8.8-7.2-16-16-16H304v24c0 13.3-10.7 24-24 24H192 104c-13.3 0-24-10.7-24-24V112H64zm128-8a24 24 0 1 0 0-48 24 24 0 1 0 0 48z\"></path></view>\n </span>\n</button>", "script": "export default {\n name: 'GalaxyBraveLadybug0',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by vinodjangid07 - Tags: button, copy, hover effect */\n.Btn {\n width: 200rpx;\n height: 70rpx;\n display: flex;\n align-items: center;\n justify-content: flex-start;\n border: none;\n border-radius: 8rpx;\n overflow: hidden;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 4rpx 4rpx 20rpx rgba(0, 0, 0, 0.164);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n}\n\n.text {\n width: 65%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n color: white;\n background-color: rgb(2, 153, 153);\n}\n\n.svgIcon {\n width: 35%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n color: white;\n background-color: teal;\n}\n\n.Btn:hover .text {\n background-color: rgb(0, 133, 133);\n}\n\n.Btn:hover .svgIcon {\n background-color: rgb(0, 105, 105);\n}\n", "component_name": "GalaxyBraveLadybug0" }, "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": [ "不支持 box-shadow 属性", "不支持 cursor 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 box-shadow 属性", "不支持 cursor 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "low", "bundle_size": 1328, "render_cost": "low", "memory_usage": "low" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:38.046Z", "updated_at": "2025-07-31T07:55:38.046Z" }