galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
116 lines • 4.96 kB
JSON
{
"id": "JhaveLang_hard-penguin-52",
"name": "hard-penguin-52",
"category": "buttons",
"author": "JhaveLang",
"description": "hard-penguin-52 组件 (simple, animation, simple button, gradient, interactive)",
"tags": [
"simple",
"animation",
"simple button",
"gradient",
"interactive"
],
"original": {
"html": "<button class=\"button\">Enter</button>",
"css": "/* From Uiverse.io by JhaveLang - Tags: simple, animation, simple button */\n.button {\n font-weight: 600;\n padding: 1em 4em 1em 4em;\n border-radius: 4em;\n border: 0;\n background: rgb(251, 213, 213);\n background: linear-gradient(\n 115deg,\n rgba(251, 213, 213, 1) 20%,\n rgba(248, 180, 180, 1) 41%,\n rgba(252, 233, 106, 1) 100%\n );\n cursor: pointer;\n box-shadow: 0em 0em 0em 0.3em rgb(251, 213, 213);\n transition: background 0.3s ease;\n}\n.button:hover {\n background: rgb(252, 233, 106);\n background: linear-gradient(\n 115deg,\n rgba(252, 233, 106, 1) 0%,\n rgba(251, 213, 213, 1) 37%,\n rgba(248, 180, 180, 1) 100%\n );\n}\n.button:hover {\n background: rgb(252, 233, 106);\n background: linear-gradient(\n 115deg,\n rgba(252, 233, 106, 1) 0%,\n rgba(251, 213, 213, 1) 37%,\n rgba(248, 180, 180, 1) 100%\n );\n}\n\n@keyframes bounce {\n 0%,\n 20%,\n 50%,\n 80%,\n 100% {\n transform: translateY(0);\n }\n 40% {\n transform: translateY(-10px);\n }\n 60% {\n transform: translateY(-5px);\n }\n}",
"file_path": "/mnt/persist/workspace/Buttons/JhaveLang_hard-penguin-52.html"
},
"uniapp": {
"template": "<button class=\"button\"></button>Enter</button>",
"script": "export default {\n name: 'GalaxyHardPenguin52',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by JhaveLang - Tags: simple, animation, simple button */\n.button {\n font-weight: 600;\n padding: 1em 4em 1em 4em;\n border-radius: 4em;\n border: 0;\n background: rgb(251, 213, 213);\n background: linear-gradient(\n 115deg,\n rgba(251, 213, 213, 1) 20%,\n rgba(248, 180, 180, 1) 41%,\n rgba(252, 233, 106, 1) 100%\n );\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0em 0em 0em 0.3em rgb(251, 213, 213);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transition: background 0.3s ease;\n}\n.button:hover {\n background: rgb(252, 233, 106);\n background: linear-gradient(\n 115deg,\n rgba(252, 233, 106, 1) 0%,\n rgba(251, 213, 213, 1) 37%,\n rgba(248, 180, 180, 1) 100%\n );\n}\n.button:hover {\n background: rgb(252, 233, 106);\n background: linear-gradient(\n 115deg,\n rgba(252, 233, 106, 1) 0%,\n rgba(251, 213, 213, 1) 37%,\n rgba(248, 180, 180, 1) 100%\n );\n}\n\n@keyframes bounce {\n 0%,\n 20%,\n 50%,\n 80%,\n 100% {\n transform: translateY(0);\n }\n 40% {\n transform: translateY(-20rpx);\n }\n 60% {\n transform: translateY(-10rpx);\n }\n}\n\n",
"component_name": "GalaxyHardPenguin52"
},
"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 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 box-shadow 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "medium",
"bundle_size": 1077,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:33.528Z",
"updated_at": "2025-07-31T07:55:33.528Z"
}