galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
115 lines • 4.13 kB
JSON
{
"id": "LeryLey_big-baboon-18",
"name": "big-baboon-18",
"category": "buttons",
"author": "LeryLey",
"description": "big-baboon-18 组件 (button, hover, dark, animation, gradient, interactive)",
"tags": [
"button",
"hover",
"dark",
"animation",
"gradient",
"interactive"
],
"original": {
"html": "<button class=\"button\">Button</button>",
"css": "/* From Uiverse.io by LeryLey - Tags: button, hover, dark */\n.button {\n cursor: pointer;\n position: relative;\n width: 125px;\n height: 40px;\n border-radius: 60px;\n background: #222;\n color: #fff;\n outline: none;\n overflow: hidden;\n border: 2px solid rgb(56, 56, 56);\n font-weight: 600;\n z-index: 1;\n transition: 0.5s;\n}\n.button:hover {\n color: white;\n}\n.button::before {\n position: absolute;\n content: \"\";\n width: 0;\n height: 0;\n border-radius: 50%;\n background: linear-gradient(\n to right,\n rgb(59, 59, 184),\n rgb(163, 65, 65),\n rgb(172, 26, 26)\n );\n left: -15px;\n bottom: 0;\n transform: translateY(50%);\n transition: 0.5s;\n z-index: -1;\n}\n.button:hover:before {\n width: 170px;\n height: 170px;\n}",
"file_path": "/mnt/persist/workspace/Buttons/LeryLey_big-baboon-18.html"
},
"uniapp": {
"template": "<button class=\"button\"></button>Button</button>",
"script": "export default {\n name: 'GalaxyBigBaboon18',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by LeryLey - Tags: button, hover, dark */\n.button {\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n position: relative;\n width: 250rpx;\n height: 80rpx;\n border-radius: 120rpx;\n background: #222;\n color: #fff;\n outline: none;\n overflow: hidden;\n border: 4rpx solid rgb(56, 56, 56);\n font-weight: 600;\n z-index: 1;\n transition: 0.5s;\n}\n.button:hover {\n color: white;\n}\n.button::before {\n position: absolute;\n content: \"\";\n width: 0;\n height: 0;\n border-radius: 50%;\n background: linear-gradient(\n to right,\n rgb(59, 59, 184),\n rgb(163, 65, 65),\n rgb(172, 26, 26)\n );\n left: -30rpx;\n bottom: 0;\n transform: translateY(50%);\n transition: 0.5s;\n z-index: -1;\n}\n.button:hover:before {\n width: 340rpx;\n height: 340rpx;\n}\n\n",
"component_name": "GalaxyBigBaboon18"
},
"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": 784,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:33.801Z",
"updated_at": "2025-07-31T07:55:33.801Z"
}