galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
121 lines • 4.79 kB
JSON
{
"id": "Bodyhc_splendid-chicken-97",
"name": "splendid-chicken-97",
"category": "buttons",
"author": "Bodyhc",
"description": "splendid-chicken-97 组件 (button, buttons, simple button, hover button, #button, 3d button, button hover effect, 2d button, animation, interactive)",
"tags": [
"button",
"buttons",
"simple button",
"hover button",
"#button",
"3d button",
"button hover effect",
"2d button",
"animation",
"interactive"
],
"original": {
"html": "<button class=\"button\">Button</button>",
"css": "/* From Uiverse.io by Bodyhc - Tags: button, buttons, simple button, hover button, #button, 3d button, button hover effect , 2d button */\nbutton {\n position: relative;\n border: 1px solid #725ac1;\n outline: none;\n background-color: transparent;\n padding: 15px 30px;\n border-radius: 30px;\n z-index: 2;\n cursor: pointer;\n color: #ffff;\n overflow: hidden;\n text-align: center;\n font-size: 20px;\n font-weight: 800;\n font-family: \"Franklin Gothic Medium\", \"Arial Narrow\", Arial, sans-serif;\n}\n\nbutton::before {\n content: \"\";\n position: absolute;\n top: 20%;\n left: 20%;\n transform: translate(-50%, -50%);\n width: 40px;\n height: 40px;\n background-color: #725ac1;\n filter: blur(5px);\n z-index: -1;\n transition: width 0.9s ease-out, height 0.9s ease-out,\n background-color 0.3s ease-out;\n border-radius: 50%;\n}\n\nbutton:hover::before {\n border-radius: 20px;\n width: 300px;\n height: 200px;\n background-color: #725ac1;\n}",
"file_path": "/mnt/persist/workspace/Buttons/Bodyhc_splendid-chicken-97.html"
},
"uniapp": {
"template": "<button class=\"button\"></button>Button</button>",
"script": "export default {\n name: 'GalaxySplendidChicken97',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by Bodyhc - Tags: button, buttons, simple button, hover button, #button, 3d button, button hover effect , 2d button */\nbutton {\n position: relative;\n border: 2rpx solid #725ac1;\n outline: none;\n background-color: transparent;\n padding: 30rpx 60rpx;\n border-radius: 60rpx;\n z-index: 2;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n color: #ffff;\n overflow: hidden;\n text-align: center;\n font-size: 40rpx;\n font-weight: 800;\n font-family: \"Franklin Gothic Medium\", \"Arial Narrow\", Arial, sans-serif;\n}\n\nbutton::before {\n content: \"\";\n position: absolute;\n top: 20%;\n left: 20%;\n transform: translate(-50%, -50%);\n width: 80rpx;\n height: 80rpx;\n background-color: #725ac1;\n \n z-index: -1;\n transition: width 0.9s ease-out, height 0.9s ease-out,\n background-color 0.3s ease-out;\n border-radius: 50%;\n}\n\nbutton:hover::before {\n border-radius: 40rpx;\n width: 600rpx;\n height: 400rpx;\n background-color: #725ac1;\n}\n\n",
"component_name": "GalaxySplendidChicken97"
},
"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 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 filter 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "medium",
"bundle_size": 989,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:32.802Z",
"updated_at": "2025-07-31T07:55:32.802Z"
}