galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
104 lines • 4.22 kB
JSON
{
"id": "catraco_spotty-catfish-33",
"name": "spotty-catfish-33",
"category": "buttons",
"author": "catraco",
"description": "spotty-catfish-33 组件",
"tags": [],
"original": {
"html": "<button title=\"Save\" class=\"cursor-pointer flex items-center fill-lime-400 bg-lime-950 hover:bg-lime-900 active:border active:border-lime-400 rounded-md duration-100 p-2\">\n <svg viewBox=\"0 -0.5 25 25\" height=\"20px\" width=\"20px\" xmlns=\"http://www.w3.org/2000/svg\">\n <path stroke-linejoin=\"round\" stroke-linecap=\"round\" stroke-width=\"1.5\" d=\"M18.507 19.853V6.034C18.5116 5.49905 18.3034 4.98422 17.9283 4.60277C17.5532 4.22131 17.042 4.00449 16.507 4H8.50705C7.9721 4.00449 7.46085 4.22131 7.08577 4.60277C6.7107 4.98422 6.50252 5.49905 6.50705 6.034V19.853C6.45951 20.252 6.65541 20.6407 7.00441 20.8399C7.35342 21.039 7.78773 21.0099 8.10705 20.766L11.907 17.485C12.2496 17.1758 12.7705 17.1758 13.113 17.485L16.9071 20.767C17.2265 21.0111 17.6611 21.0402 18.0102 20.8407C18.3593 20.6413 18.5551 20.2522 18.507 19.853Z\" clip-rule=\"evenodd\" fill-rule=\"evenodd\"></path>\n </svg>\n <span class=\"text-sm text-lime-400 font-bold pr-1\">Save Post</span>\n</button>",
"css": "",
"file_path": "/mnt/persist/workspace/Buttons/catraco_spotty-catfish-33.html"
},
"uniapp": {
"template": "<button title=\"Save\" class=\"cursor-pointer flex items-center fill-lime-400 bg-lime-950 hover:bg-lime-900 active:border active:border-lime-400 rounded-md duration-100 p-2\"></button>\n <view viewBox=\"0 -0.5 25 25\" height=\"20px\" width=\"20px\" xmlns=\"http://www.w3.org/2000/svg\"></view>\n <path stroke-linejoin=\"round\" stroke-linecap=\"round\" stroke-width=\"1.5\" d=\"M18.507 19.853V6.034C18.5116 5.49905 18.3034 4.98422 17.9283 4.60277C17.5532 4.22131 17.042 4.00449 16.507 4H8.50705C7.9721 4.00449 7.46085 4.22131 7.08577 4.60277C6.7107 4.98422 6.50252 5.49905 6.50705 6.034V19.853C6.45951 20.252 6.65541 20.6407 7.00441 20.8399C7.35342 21.039 7.78773 21.0099 8.10705 20.766L11.907 17.485C12.2496 17.1758 12.7705 17.1758 13.113 17.485L16.9071 20.767C17.2265 21.0111 17.6611 21.0402 18.0102 20.8407C18.3593 20.6413 18.5551 20.2522 18.507 19.853Z\" clip-rule=\"evenodd\" fill-rule=\"evenodd\"></path>\n </svg>\n <text class=\"text-sm text-lime-400 font-bold pr-1\">Save Post</text>\n</button>",
"script": "export default {\n name: 'GalaxySpottyCatfish33',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "",
"component_name": "GalaxySpottyCatfish33"
},
"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": "low",
"bundle_size": 962,
"render_cost": "low",
"memory_usage": "low"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:36.098Z",
"updated_at": "2025-07-31T07:55:36.098Z"
}