galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
109 lines • 5.1 kB
JSON
{
"id": "AKAspidey01_moody-moose-26",
"name": "moody-moose-26",
"category": "buttons",
"author": "AKAspidey01",
"description": "moody-moose-26 组件 (button, add, animation, interactive)",
"tags": [
"button",
"add",
"animation",
"interactive"
],
"original": {
"html": "<div class=\"main-section\">\n <button class=\"first-button\"> Hover Me </button>\n <button class=\"second-button\"> <svg viewBox=\"0 0 24 24\" width=\"20\" height=\"20\" stroke=\"#ffd300\" stroke-width=\"2\" fill=\"none\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"css-i6dzq1\"><circle cx=\"9\" cy=\"21\" r=\"1\"></circle><circle cx=\"20\" cy=\"21\" r=\"1\"></circle><path d=\"M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6\"></path></svg> Add To Cart</button>\n</div>",
"css": "/* From Uiverse.io by AKAspidey01 - Tags: button, add */\n.first-button {\n background: rgb(115, 15, 209);\n color: #fff;\n border: none;\n font-weight: 700;\n font-size: 1em;\n min-height: 60px;\n width: 200px;\n gap: 20px;\n display: flex;\n align-items: center;\n justify-content: center;\n transition-duration: 0.6s;\n}\n\n.main-section {\n display: flex;\n flex-direction: column;\n height: 60px;\n overflow: hidden;\n align-items: flex-start;\n}\n\n.main-section:hover .second-button , .main-section:hover .first-button {\n transform: translateY(-60px);\n}\n\n.second-button {\n background: rgb(209, 15, 57);\n color: #fff;\n border: none;\n font-weight: 700;\n font-size: 1em;\n min-height: 60px;\n width: 200px;\n gap: 20px;\n display: flex;\n align-items: center;\n justify-content: center;\n transition-duration: 0.6s;\n}",
"file_path": "/mnt/persist/workspace/Buttons/AKAspidey01_moody-moose-26.html"
},
"uniapp": {
"template": "<view class=\"main-section\"></view>\n <button class=\"first-button\"></button> Hover Me </button>\n <button class=\"second-button\"></button> <view viewBox=\"0 0 24 24\" width=\"20\" height=\"20\" stroke=\"#ffd300\" stroke-width=\"2\" fill=\"none\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"css-i6dzq1\"><circle cx=\"9\" cy=\"21\" r=\"1\"></circle><circle cx=\"20\" cy=\"21\" r=\"1\"></circle><path d=\"M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6\"></path></view> Add To Cart</button>\n</div>",
"script": "export default {\n name: 'GalaxyMoodyMoose26',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by AKAspidey01 - Tags: button, add */\n.first-button {\n background: rgb(115, 15, 209);\n color: #fff;\n border: none;\n font-weight: 700;\n font-size: 1em;\n min-height: 120rpx;\n width: 400rpx;\n gap: 40rpx;\n display: flex;\n align-items: center;\n justify-content: center;\n transition-duration: 0.6s;\n}\n\n.main-section {\n display: flex;\n flex-direction: column;\n height: 120rpx;\n overflow: hidden;\n align-items: flex-start;\n}\n\n.main-section:hover .second-button , .main-section:hover .first-button {\n transform: translateY(-120rpx);\n}\n\n.second-button {\n background: rgb(209, 15, 57);\n color: #fff;\n border: none;\n font-weight: 700;\n font-size: 1em;\n min-height: 120rpx;\n width: 400rpx;\n gap: 40rpx;\n display: flex;\n align-items: center;\n justify-content: center;\n transition-duration: 0.6s;\n}\n\n",
"component_name": "GalaxyMoodyMoose26"
},
"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": [],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "medium",
"bundle_size": 1289,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:32.483Z",
"updated_at": "2025-07-31T07:55:32.483Z"
}