galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
121 lines • 4.33 kB
JSON
{
"id": "sujithg444_nasty-mule-87",
"name": "nasty-mule-87",
"category": "buttons",
"author": "sujithg444",
"description": "nasty-mule-87 组件 (simple, button, hover effect, hoverme, buttons, multicolor, gradient, interactive)",
"tags": [
"simple",
"button",
"hover effect",
"hoverme",
"buttons",
"multicolor",
"gradient",
"interactive"
],
"original": {
"html": "<button class=\"gradient-button\">⚡ Join now</button>",
"css": "/* From Uiverse.io by sujithg444 - Tags: simple, button, hover effect, hoverme, buttons, multicolor */\n.gradient-button {\n background: linear-gradient(\n to right,\n #ff5370,\n #ff869a\n ); /* Gradient from pink to orange */\n border: none;\n color: white;\n padding: 10px 20px;\n border-radius: 25px;\n cursor: pointer;\n font-size: 16px;\n font-weight: bold;\n text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.25);\n box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);\n transition: all 0.3s ease;\n}\n.gradient-button:hover {\n box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);\n}",
"file_path": "/mnt/persist/workspace/Buttons/sujithg444_nasty-mule-87.html"
},
"uniapp": {
"template": "<button class=\"gradient-button\"></button>⚡ Join now</button>",
"script": "export default {\n name: 'GalaxyNastyMule87',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by sujithg444 - Tags: simple, button, hover effect, hoverme, buttons, multicolor */\n.gradient-button {\n background: linear-gradient(\n to right,\n #ff5370,\n #ff869a\n ); /* Gradient from pink to orange */\n border: none;\n color: white;\n padding: 20rpx 40rpx;\n border-radius: 50rpx;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n font-size: 32rpx;\n font-weight: bold;\n /* #ifdef H5 */\n text-shadow: 0rpx 2rpx 4rpx rgba(0, 0, 0, 0.25);\n /* #endif */\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0rpx 4rpx 10rpx rgba(0, 0, 0, 0.2);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transition: all 0.3s ease;\n}\n.gradient-button:hover {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0rpx 8rpx 20rpx rgba(0, 0, 0, 0.3);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n",
"component_name": "GalaxyNastyMule87"
},
"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": [
"不支持 box-shadow 属性",
"不支持 text-shadow 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 box-shadow 属性",
"不支持 text-shadow 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "low",
"bundle_size": 628,
"render_cost": "low",
"memory_usage": "low"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:37.910Z",
"updated_at": "2025-07-31T07:55:37.910Z"
}