UNPKG

galaxy-uniapp-mcp-server

Version:

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

122 lines 4.47 kB
{ "id": "ArturCodeCraft_helpless-baboon-96", "name": "helpless-baboon-96", "category": "buttons", "author": "ArturCodeCraft", "description": "helpless-baboon-96 组件 (icon, apple, button, menu, menuicon, menu button, hamburger menu, animation, interactive)", "tags": [ "icon", "apple", "button", "menu", "menuicon", "menu button", "hamburger menu", "animation", "interactive" ], "original": { "html": "<button class=\"menu__icon\">\n</button>", "css": "/* From Uiverse.io by ArturCodeCraft - Tags: icon, apple, button, menu, menuicon, menu button , hamburger menu */\n/* <reset-style> ============================ */\nbutton {\n border: none;\n background: none;\n padding: 0;\n margin: 0;\n cursor: pointer;\n font-family: inherit;\n}\n/* <main-style> ============================ */\n.menu__icon {\n width: 2rem;\n height: 2rem;\n padding: .25rem;\n backdrop-filter: saturate(180%) blur(20px);\n background-color: rgb(29, 29, 31, .7);\n border: solid 1px rgba(66,66,69,0.7);\n}\n\n.menu__icon::before {\n display: block;\n content: \"+\";\n color: rgb(245, 245, 247);\n font-size: 1.125rem;\n font-weight: 400;\n transition: transform .3s ease-out;\n transform-origin: center;\n}\n\n.menu__icon:hover::before {\n transform: rotate(45deg) scale(1.08);\n}", "file_path": "/mnt/persist/workspace/Buttons/ArturCodeCraft_helpless-baboon-96.html" }, "uniapp": { "template": "<button class=\"menu__icon\"></button>\n</button>", "script": "export default {\n name: 'GalaxyHelplessBaboon96',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by ArturCodeCraft - Tags: icon, apple, button, menu, menuicon, menu button , hamburger menu */\n/* <reset-style> ============================ */\nbutton {\n border: none;\n background: none;\n padding: 0;\n margin: 0;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n font-family: inherit;\n}\n/* <main-style> ============================ */\n.menu__icon {\n width: 2rem;\n height: 2rem;\n padding: .25rem;\n backdrop-\n background-color: rgb(29, 29, 31, .7);\n border: solid 2rpx rgba(66,66,69,0.7);\n}\n\n.menu__icon::before {\n display: block;\n content: \"+\";\n color: rgb(245, 245, 247);\n font-size: 1.125rem;\n font-weight: 400;\n transition: transform .3s ease-out;\n transform-origin: center;\n}\n\n.menu__icon:hover::before {\n transform: rotate(45deg) scale(1.08);\n}\n", "component_name": "GalaxyHelplessBaboon96" }, "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": [ "不支持 filter 属性", "不支持 backdrop-filter 属性", "不支持 cursor 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 filter 属性", "不支持 backdrop-filter 属性", "不支持 cursor 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 829, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:32.696Z", "updated_at": "2025-07-31T07:55:32.696Z" }