galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
113 lines • 3.87 kB
JSON
{
"id": "RenouxM_weak-moose-10",
"name": "weak-moose-10",
"category": "buttons",
"author": "RenouxM",
"description": "weak-moose-10 组件 (simple, 3d, button, animation)",
"tags": [
"simple",
"3d",
"button",
"animation"
],
"original": {
"html": "<button class=\"button\">\n <span class=\"front\"> ⚡Join Now </span>\n</button>",
"css": "/* From Uiverse.io by RenouxM - Tags: simple, 3d, button */\n.button {\n box-sizing: border-box;\n cursor: pointer;\n padding: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n margin: 50px auto;\n background-color: rgb(245, 134, 161);\n font-family: arial;\n font-size: 20px;\n font-weight: bold;\n border: none;\n width: 280px;\n height: 90px;\n border-radius: 12px;\n}\n.front {\n display: block;\n padding: 28px 80px;\n border-radius: 12px;\n font-size: 1.25rem;\n background: rgb(245, 74, 117);\n transform: translateY(-4px);\n}\n.button:focus:not(:focus-visible) {\n outline: none;\n}",
"file_path": "/mnt/persist/workspace/Buttons/RenouxM_weak-moose-10.html"
},
"uniapp": {
"template": "<button class=\"button\"></button>\n <text class=\"front\"> ⚡Join Now </text>\n</button>",
"script": "export default {\n name: 'GalaxyWeakMoose10',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by RenouxM - Tags: simple, 3d, button */\n.button {\n box-sizing: border-box;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n padding: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n margin: 100rpx auto;\n background-color: rgb(245, 134, 161);\n font-family: arial;\n font-size: 40rpx;\n font-weight: bold;\n border: none;\n width: 560rpx;\n height: 180rpx;\n border-radius: 24rpx;\n}\n.front {\n display: block;\n padding: 56rpx 160rpx;\n border-radius: 24rpx;\n font-size: 1.25rem;\n background: rgb(245, 74, 117);\n transform: translateY(-8rpx);\n}\n.button:focus:not(:focus-visible) {\n outline: none;\n}\n\n",
"component_name": "GalaxyWeakMoose10"
},
"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": 691,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:34.435Z",
"updated_at": "2025-07-31T07:55:34.435Z"
}