galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
121 lines • 6.19 kB
JSON
{
"id": "ArturCodeCraft_silly-firefox-72",
"name": "silly-firefox-72",
"category": "buttons",
"author": "ArturCodeCraft",
"description": "silly-firefox-72 组件 (icon, apple, button, menuicon, menu button, hamburger menu, animation, interactive)",
"tags": [
"icon",
"apple",
"button",
"menuicon",
"menu button",
"hamburger menu",
"animation",
"interactive"
],
"original": {
"html": "<button class=\"menu__icon\">\n <span></span>\n <span></span>\n</button>",
"css": "/* From Uiverse.io by ArturCodeCraft - Tags: icon, apple, button, 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 background-color: rgb(29, 29, 31, .7);\n backdrop-filter: saturate(180%) blur(20px);\n border: solid 1px rgba(66,66,69,0.7);\n position: relative;\n}\n\n.menu__icon span {\n width: 1.5rem;\n height: 1.5rem;\n position: absolute;\n top: calc(.25rem - 1px);\n left: calc(.25rem - 1px);\n transition: transform .1806s cubic-bezier(.04,.04,.12,.96);\n}\n\n.menu__icon span:before {\n content: '';\n width: 1.5rem;\n height: .125rem;\n background-color: #fff;\n position: absolute;\n left: 0;\n transition: transform .1596s cubic-bezier(.52,.16,.52,.84) .1008s;\n}\n\n.menu__icon span:nth-child(1)::before {\n top: .625rem;\n transform: translateY(-3px);\n}\n\n.menu__icon span:nth-child(2)::before {\n bottom: .625rem;\n transform: translateY(3px);\n}\n\n.menu__icon:hover :nth-child(1),\n.menu__icon:hover :nth-child(2) {\n transition: transform .3192s cubic-bezier(.04,.04,.12,.96) .1008s;\n}\n\n.menu__icon:hover :nth-child(1)::before,\n.menu__icon:hover :nth-child(2)::before {\n transform: none;\n transition: transform .1806s cubic-bezier(.04,.04,.12,.96);\n}\n\n.menu__icon:hover :nth-child(1) {\n transform: rotate(45deg) translateY(1px);\n}\n\n.menu__icon:hover :nth-child(2) {\n transform: rotate(-45deg) translateY(-1px);\n}",
"file_path": "/mnt/persist/workspace/Buttons/ArturCodeCraft_silly-firefox-72.html"
},
"uniapp": {
"template": "<button class=\"menu__icon\"></button>\n <text></text>\n <text></text>\n</button>",
"script": "export default {\n name: 'GalaxySillyFirefox72',\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, 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 background-color: rgb(29, 29, 31, .7);\n backdrop-\n border: solid 2rpx rgba(66,66,69,0.7);\n position: relative;\n}\n\n.menu__icon span {\n width: 1.5rem;\n height: 1.5rem;\n position: absolute;\n top: calc(.25rem - 2rpx);\n left: calc(.25rem - 2rpx);\n transition: transform .1806s cubic-bezier(.04,.04,.12,.96);\n}\n\n.menu__icon span:before {\n content: '';\n width: 1.5rem;\n height: .125rem;\n background-color: #fff;\n position: absolute;\n left: 0;\n transition: transform .1596s cubic-bezier(.52,.16,.52,.84) .1008s;\n}\n\n.menu__icon span:nth-child(1)::before {\n top: .625rem;\n transform: translateY(-6rpx);\n}\n\n.menu__icon span:nth-child(2)::before {\n bottom: .625rem;\n transform: translateY(6rpx);\n}\n\n.menu__icon:hover :nth-child(1),\n.menu__icon:hover :nth-child(2) {\n transition: transform .3192s cubic-bezier(.04,.04,.12,.96) .1008s;\n}\n\n.menu__icon:hover :nth-child(1)::before,\n.menu__icon:hover :nth-child(2)::before {\n transform: none;\n transition: transform .1806s cubic-bezier(.04,.04,.12,.96);\n}\n\n.menu__icon:hover :nth-child(1) {\n transform: rotate(45deg) translateY(2rpx);\n}\n\n.menu__icon:hover :nth-child(2) {\n transform: rotate(-45deg) translateY(-2rpx);\n}\n",
"component_name": "GalaxySillyFirefox72"
},
"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": 1665,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:32.712Z",
"updated_at": "2025-07-31T07:55:32.712Z"
}