galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
111 lines • 5.15 kB
JSON
{
"id": "MopokD71304_lazy-husky-72",
"name": "lazy-husky-72",
"category": "buttons",
"author": "MopokD71304",
"description": "lazy-husky-72 组件 (simple, button, advanced, input effect, animation, interactive)",
"tags": [
"simple",
"button",
"advanced",
"input effect",
"animation",
"interactive"
],
"original": {
"html": "<div class=\"nav_bar\">\n <div class=\"bar1\"></div>\n <div class=\"bar2\"></div>\n <div class=\"bar3_h\"></div>\n <div class=\"bar4\"></div>\n</div>",
"css": "/* From Uiverse.io by MopokD71304 - Tags: simple, button, advanced, input effect */\n.nav_bar {\n background-color: rgb(27, 27, 27);\n position: relative;\n display: flex;\n transition: 0.4s;\n align-items: center;\n justify-content: center;\n flex-direction: column;\n padding: 15px 15px;\n border-radius: 15px;\n}\n\n.bar1 {\n border-radius: 30px;\n background-color: rgb(255, 255, 255);\n width: 50px;\n margin-bottom: 15px;\n transition: 0.4s;\n height: 5px;\n}\n\n.bar2 {\n border-radius: 30px;\n background-color: rgb(255, 255, 255);\n width: 50px;\n position: absolute;\n transition: 0.4s;\n height: 5px;\n}\n\n.bar3_h {\n border-radius: 30px;\n background-color: rgb(255, 255, 255);\n width: 50px;\n transition: 0.4s;\n height: 5px;\n}\n\n.bar4 {\n border-radius: 30px;\n background-color: rgb(255, 255, 255);\n width: 50px;\n margin-top: 15px;\n transition: 0.4s;\n height: 5px;\n}\n\n.nav_bar:hover {\n border-radius: 50px;\n}\n.nav_bar:hover .bar3_h {\n transform: rotate(-45deg);\n}\n.nav_bar:hover .bar2 {\n transform: rotate(45deg);\n}\n\n.nav_bar:hover .bar1 {\n opacity: 0;\n width: 30px;\n}\n.nav_bar:hover .bar4 {\n opacity: 0;\n width: 30px;\n}",
"file_path": "/mnt/persist/workspace/Buttons/MopokD71304_lazy-husky-72.html"
},
"uniapp": {
"template": "<view class=\"nav_bar\"></view>\n <view class=\"bar1\"></view>\n <view class=\"bar2\"></view>\n <view class=\"bar3_h\"></view>\n <view class=\"bar4\"></view>\n</div>",
"script": "export default {\n name: 'GalaxyLazyHusky72',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by MopokD71304 - Tags: simple, button, advanced, input effect */\n.nav_bar {\n background-color: rgb(27, 27, 27);\n position: relative;\n display: flex;\n transition: 0.4s;\n align-items: center;\n justify-content: center;\n flex-direction: column;\n padding: 30rpx 30rpx;\n border-radius: 30rpx;\n}\n\n.bar1 {\n border-radius: 60rpx;\n background-color: rgb(255, 255, 255);\n width: 100rpx;\n margin-bottom: 30rpx;\n transition: 0.4s;\n height: 10rpx;\n}\n\n.bar2 {\n border-radius: 60rpx;\n background-color: rgb(255, 255, 255);\n width: 100rpx;\n position: absolute;\n transition: 0.4s;\n height: 10rpx;\n}\n\n.bar3_h {\n border-radius: 60rpx;\n background-color: rgb(255, 255, 255);\n width: 100rpx;\n transition: 0.4s;\n height: 10rpx;\n}\n\n.bar4 {\n border-radius: 60rpx;\n background-color: rgb(255, 255, 255);\n width: 100rpx;\n margin-top: 30rpx;\n transition: 0.4s;\n height: 10rpx;\n}\n\n.nav_bar:hover {\n border-radius: 100rpx;\n}\n.nav_bar:hover .bar3_h {\n transform: rotate(-45deg);\n}\n.nav_bar:hover .bar2 {\n transform: rotate(45deg);\n}\n\n.nav_bar:hover .bar1 {\n opacity: 0;\n width: 60rpx;\n}\n.nav_bar:hover .bar4 {\n opacity: 0;\n width: 60rpx;\n}\n\n",
"component_name": "GalaxyLazyHusky72"
},
"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": "medium",
"bundle_size": 1287,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:34.003Z",
"updated_at": "2025-07-31T07:55:34.003Z"
}