galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
118 lines • 3.84 kB
JSON
{
"id": "deepak16375_ugly-crab-3",
"name": "ugly-crab-3",
"category": "buttons",
"author": "deepak16375",
"description": "ugly-crab-3 组件 (gradient, button, animated, gradients, hover effect, hoverme, hover button, animation, interactive)",
"tags": [
"gradient",
"button",
"animated",
"gradients",
"hover effect",
"hoverme",
"hover button",
"animation",
"interactive"
],
"original": {
"html": "<button class=\"button\">\n Hover me!\n</button>",
"css": "/* From Uiverse.io by deepak16375 - Tags: gradient, button, animated, gradients, hover effect, hoverme, hover button */\n.button {\n font-size: 17px;\n font-weight: bold;\n border: 0px;\n color: white;\n background-color: #1877f2;\n padding: 1rem 2rem;\n border-radius: 15px;\n cursor: pointer;\n}\n\n.button:hover {\n background-image: linear-gradient(90deg,\n\t\t#B799FF 0%,\n\t\t#ACBCFF 50%,\n\t\t#AEE2FF 75%,\n\t\t#E6FFFD 100%);\n color: black;\n animation: slide 10s linear infinite;\n}\n\n@keyframes slide {\n 100% {\n background-position: 50rem;\n }\n}",
"file_path": "/mnt/persist/workspace/Buttons/deepak16375_ugly-crab-3.html"
},
"uniapp": {
"template": "<button class=\"button\"></button>\n Hover me!\n</button>",
"script": "export default {\n name: 'GalaxyUglyCrab3',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by deepak16375 - Tags: gradient, button, animated, gradients, hover effect, hoverme, hover button */\n.button {\n font-size: 34rpx;\n font-weight: bold;\n border: 0rpx;\n color: white;\n background-color: #1877f2;\n padding: 1rem 2rem;\n border-radius: 30rpx;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n}\n\n.button:hover {\n background-image: linear-gradient(90deg,\n\t\t#B799FF 0%,\n\t\t#ACBCFF 50%,\n\t\t#AEE2FF 75%,\n\t\t#E6FFFD 100%);\n color: black;\n animation: slide 10s linear infinite;\n}\n\n@keyframes slide {\n 100% {\n background-position: 50rem;\n }\n}\n",
"component_name": "GalaxyUglyCrab3"
},
"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": 590,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:36.315Z",
"updated_at": "2025-07-31T07:55:36.315Z"
}