galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
119 lines • 5.16 kB
JSON
{
"id": "Bodyhc_orange-puma-60",
"name": "orange-puma-60",
"category": "buttons",
"author": "Bodyhc",
"description": "orange-puma-60 组件 (button, buttons, simple button, hover button, #button, tailwindbutton, 3d button, button hover effect, gradient, interactive)",
"tags": [
"button",
"buttons",
"simple button",
"hover button",
"#button",
"tailwindbutton",
"3d button",
"button hover effect",
"gradient",
"interactive"
],
"original": {
"html": "<button>\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 384 512\">\n <path d=\"M0 256L28.5 28c2-16 15.6-28 31.8-28H228.9c15 0 27.1 12.1 27.1 27.1c0 3.2-.6 6.5-1.7 9.5L208 160H347.3c20.2 0 36.7 16.4 36.7 36.7c0 7.4-2.2 14.6-6.4 20.7l-192.2 281c-5.9 8.6-15.6 13.7-25.9 13.7h-2.9c-15.7 0-28.5-12.8-28.5-28.5c0-2.3 .3-4.6 .9-6.9L176 288H32c-17.7 0-32-14.3-32-32z\"></path>\n </svg>\n Join Now\n</button>",
"css": "/* From Uiverse.io by Bodyhc - Tags: button, buttons, simple button, hover button, #button, tailwindbutton, 3d button, button hover effect */\nbutton {\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 20px;\n border-radius: 20px;\n background-image: linear-gradient(\n 90deg,\n #fa7fe6 0%,\n #ff8e61 50%,\n #fa7fe6 100%\n );\n border: 2px solid #9d098431;\n color: #000000;\n font-weight: 600;\n padding: 20px 40px; /* increase padding to make button bigger */\n cursor: pointer;\n}\nbutton svg {\n font-size: 24px; /* increase font size to make lightning bolt bigger */\n margin-right: 10px;\n width: 30px;\n height: 20px;\n color: black;\n}\nbutton:hover {\n background-image: linear-gradient(\n 90deg,\n #ff8e61 0%,\n #fa7fe6 50%,\n #fe9b74 100%\n );\n}",
"file_path": "/mnt/persist/workspace/Buttons/Bodyhc_orange-puma-60.html"
},
"uniapp": {
"template": "<button></button>\n <view xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 384 512\"></view>\n <path d=\"M0 256L28.5 28c2-16 15.6-28 31.8-28H228.9c15 0 27.1 12.1 27.1 27.1c0 3.2-.6 6.5-1.7 9.5L208 160H347.3c20.2 0 36.7 16.4 36.7 36.7c0 7.4-2.2 14.6-6.4 20.7l-192.2 281c-5.9 8.6-15.6 13.7-25.9 13.7h-2.9c-15.7 0-28.5-12.8-28.5-28.5c0-2.3 .3-4.6 .9-6.9L176 288H32c-17.7 0-32-14.3-32-32z\"></path>\n </svg>\n Join Now\n</button>",
"script": "export default {\n name: 'GalaxyOrangePuma60',\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, tailwindbutton, 3d button, button hover effect */\nbutton {\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 40rpx;\n border-radius: 40rpx;\n background-image: linear-gradient(\n 90deg,\n #fa7fe6 0%,\n #ff8e61 50%,\n #fa7fe6 100%\n );\n border: 4rpx solid #9d098431;\n color: #000000;\n font-weight: 600;\n padding: 40rpx 80rpx; /* increase padding to make button bigger */\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n}\nbutton svg {\n font-size: 48rpx; /* increase font size to make lightning bolt bigger */\n margin-right: 20rpx;\n width: 60rpx;\n height: 40rpx;\n color: black;\n}\nbutton:hover {\n background-image: linear-gradient(\n 90deg,\n #ff8e61 0%,\n #fa7fe6 50%,\n #fe9b74 100%\n );\n}\n\n",
"component_name": "GalaxyOrangePuma60"
},
"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": "low",
"bundle_size": 1214,
"render_cost": "low",
"memory_usage": "low"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:32.783Z",
"updated_at": "2025-07-31T07:55:32.783Z"
}