galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
104 lines • 3.4 kB
JSON
{
"id": "seyed-mohsen-mousavi_warm-dingo-23",
"name": "warm-dingo-23",
"category": "buttons",
"author": "seyed-mohsen-mousavi",
"description": "warm-dingo-23 组件",
"tags": [],
"original": {
"html": "<button class=\"inline-flex items-center px-4 py-2 bg-red-600 transition ease-in-out delay-75 hover:bg-red-700 text-white text-sm font-medium rounded-md hover:-translate-y-1 hover:scale-110\">\n <svg stroke=\"currentColor\" viewBox=\"0 0 24 24\" fill=\"none\" class=\"h-5 w-5 mr-2\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16\" stroke-width=\"2\" stroke-linejoin=\"round\" stroke-linecap=\"round\"></path>\n </svg>\n\n Delete\n</button>",
"css": "",
"file_path": "/mnt/persist/workspace/Buttons/seyed-mohsen-mousavi_warm-dingo-23.html"
},
"uniapp": {
"template": "<button class=\"inline-flex items-center px-4 py-2 bg-red-600 transition ease-in-out delay-75 hover:bg-red-700 text-white text-sm font-medium rounded-md hover:-translate-y-1 hover:scale-110\"></button>\n <view stroke=\"currentColor\" viewBox=\"0 0 24 24\" fill=\"none\" class=\"h-5 w-5 mr-2\" xmlns=\"http://www.w3.org/2000/svg\"></view>\n <path d=\"M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16\" stroke-width=\"2\" stroke-linejoin=\"round\" stroke-linecap=\"round\"></path>\n </svg>\n\n Delete\n</button>",
"script": "export default {\n name: 'GalaxyWarmDingo23',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "",
"component_name": "GalaxyWarmDingo23"
},
"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": 555,
"render_cost": "low",
"memory_usage": "low"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:37.804Z",
"updated_at": "2025-07-31T07:55:37.804Z"
}