UNPKG

galaxy-uniapp-mcp-server

Version:

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

119 lines 5.26 kB
{ "id": "3bdel3ziz-T_brown-earwig-37", "name": "brown-earwig-37", "category": "buttons", "author": "3bdel3ziz-T", "description": "brown-earwig-37 组件 (button, hover, smooth, dark, code, hover button, button hover effect, 2d button, animation, interactive)", "tags": [ "button", "hover", "smooth", "dark", "code", "hover button", "button hover effect", "2d button", "animation", "interactive" ], "original": { "html": "<button class=\"button\"></button>", "css": "/* From Uiverse.io by 3bdel3ziz-T - Tags: button, hover, smooth, dark, code, hover button, button hover effect , 2d button */\n.button,\n.button::before {\n box-sizing: border-box;\n --col-orange: #d17842;\n --col-white: #fff;\n --col-dark: #212121;\n cursor: pointer;\n text-transform: capitalize;\n font-size: 20px;\n font-weight: 600;\n fill: var(--col-white);\n color: var(--col-white);\n\n color: var(col-dark);\n font-family: \"arial\";\n}\n.button {\n width: 200px;\n height: 50px;\n display: flex;\n align-items: center;\n justify-content: center;\n border: 2px solid transparent;\n background: var(--col-orange);\n padding: 8px 50px;\n position: relative;\n transition: all 200ms;\n border-radius: 25px;\n z-index: 99;\n}\n\n.button:hover {\n border-color: transparent;\n color: var(--col-dark);\n background: transparent;\n}\n\n.button::before {\n height: fit-content;\n content: \"great work🥳\";\n position: absolute;\n left: 40px;\n width: 0;\n overflow: hidden;\n transition: all 550ms;\n text-wrap: nowrap;\n z-index: -1;\n}\n\n.button:hover::before {\n width: 135px;\n color: var(--col-white);\n}\n\n.button::after {\n content: \"hover me\";\n position: relative;\n}\n\n.button:hover::after {\n display: none;\n}", "file_path": "/mnt/persist/workspace/Buttons/3bdel3ziz-T_brown-earwig-37.html" }, "uniapp": { "template": "<button class=\"button\"></button></button>", "script": "export default {\n name: 'GalaxyBrownEarwig37',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by 3bdel3ziz-T - Tags: button, hover, smooth, dark, code, hover button, button hover effect , 2d button */\n.button,\n.button::before {\n box-sizing: border-box;\n --col-orange: #d17842;\n --col-white: #fff;\n --col-dark: #212121;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n text-transform: capitalize;\n font-size: 40rpx;\n font-weight: 600;\n fill: var(--col-white);\n color: var(--col-white);\n\n color: var(col-dark);\n font-family: \"arial\";\n}\n.button {\n width: 400rpx;\n height: 100rpx;\n display: flex;\n align-items: center;\n justify-content: center;\n border: 4rpx solid transparent;\n background: var(--col-orange);\n padding: 16rpx 100rpx;\n position: relative;\n transition: all 200ms;\n border-radius: 50rpx;\n z-index: 99;\n}\n\n.button:hover {\n border-color: transparent;\n color: var(--col-dark);\n background: transparent;\n}\n\n.button::before {\n height: fit-content;\n content: \"great work🥳\";\n position: absolute;\n left: 80rpx;\n width: 0;\n overflow: hidden;\n transition: all 550ms;\n text-wrap: nowrap;\n z-index: -1;\n}\n\n.button:hover::before {\n width: 270rpx;\n color: var(--col-white);\n}\n\n.button::after {\n content: \"hover me\";\n position: relative;\n}\n\n.button:hover::after {\n display: none;\n}\n\n", "component_name": "GalaxyBrownEarwig37" }, "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": 1244, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:32.448Z", "updated_at": "2025-07-31T07:55:32.448Z" }