galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
115 lines • 4.26 kB
JSON
{
"id": "aadium_grumpy-kangaroo-69",
"name": "grumpy-kangaroo-69",
"category": "buttons",
"author": "aadium",
"description": "grumpy-kangaroo-69 组件 (gradient, button, glow, colorful, animation, interactive)",
"tags": [
"gradient",
"button",
"glow",
"colorful",
"animation",
"interactive"
],
"original": {
"html": "<button>\n Click Me\n</button>",
"css": "/* From Uiverse.io by aadium - Tags: gradient, button, glow, colorful */\nbutton {\n padding: 15px 32px;\n font-size: 20px;\n color: white;\n border: none;\n border-radius: 5em;\n background-size: 200% 100%;\n background-image: linear-gradient(145deg, #ff53eb, #4b4bff, #5de7ff);\n box-shadow: 3px 3px 10px 2px #4b4bff, -3px -3px 10px 2px #ff53eb;\n transition: 0.5s;\n}\n\nbutton:hover {\n background-position: 99%;\n box-shadow: 3px 3px 10px 2px #5de7ff, -3px -3px 10px 2px #4b4bff;\n}\n\nbutton:active {\n transform: scale(0.8) rotate(5deg);\n box-shadow: 3px 3px 15px 3px #5de7ff, -3px -3px 15px 3px #4b4bff;\n}",
"file_path": "/mnt/persist/workspace/Buttons/aadium_grumpy-kangaroo-69.html"
},
"uniapp": {
"template": "<button></button>\n Click Me\n</button>",
"script": "export default {\n name: 'GalaxyGrumpyKangaroo69',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by aadium - Tags: gradient, button, glow, colorful */\nbutton {\n padding: 30rpx 64rpx;\n font-size: 40rpx;\n color: white;\n border: none;\n border-radius: 5em;\n background-size: 200% 100%;\n background-image: linear-gradient(145deg, #ff53eb, #4b4bff, #5de7ff);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 6rpx 6rpx 20rpx 4rpx #4b4bff, -6rpx -6rpx 20rpx 4rpx #ff53eb;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transition: 0.5s;\n}\n\nbutton:hover {\n background-position: 99%;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 6rpx 6rpx 20rpx 4rpx #5de7ff, -6rpx -6rpx 20rpx 4rpx #4b4bff;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\nbutton:active {\n transform: scale(0.8) rotate(5deg);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 6rpx 6rpx 30rpx 6rpx #5de7ff, -6rpx -6rpx 30rpx 6rpx #4b4bff;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n",
"component_name": "GalaxyGrumpyKangaroo69"
},
"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 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 box-shadow 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "medium",
"bundle_size": 640,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:35.326Z",
"updated_at": "2025-07-31T07:55:35.326Z"
}