galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
104 lines • 11.3 kB
JSON
{
"id": "0x3ther_heavy-dragon-56",
"name": "heavy-dragon-56",
"category": "buttons",
"author": "0x3ther",
"description": "heavy-dragon-56 组件",
"tags": [],
"original": {
"html": "<div class=\"flex items-center gap-2\">\n <button class=\"relative inline-flex items-center justify-center gap-2 text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 bg-white hover:bg-[#F5F5F5] h-9 rounded-md px-3 group\">\n <svg class=\"lucide lucide-arrow-left\" stroke-linejoin=\"round\" stroke-linecap=\"round\" stroke-width=\"2\" stroke=\"currentColor\" fill=\"none\" viewBox=\"0 0 24 24\" height=\"22\" width=\"22\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"m12 19-7-7 7-7\"></path>\n <path d=\"M19 12H5\"></path>\n </svg>\n <span class=\"origin-left scale-0 transition-transform group-hover:scale-100\">Back</span>\n </button>\n <button class=\"cursor-pointer bg-white relative inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 hover:bg-[#F5F5F5] hover:text-[#06B6D4] h-9 rounded-md px-3\">\n <svg class=\"lucide lucide-rocket text-cyan-500 dark:text-cyan-400\" stroke-linejoin=\"round\" stroke-linecap=\"round\" stroke-width=\"2\" stroke=\"#06B6D4\" fill=\"none\" viewBox=\"0 0 24 24\" height=\"22\" width=\"22\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z\"></path>\n <path d=\"m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z\"></path>\n <path d=\"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0\"></path>\n <path d=\"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5\"></path>\n </svg>\n Dashboard\n </button>\n <button class=\"cursor-pointer bg-white relative inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 hover:bg-[#F5F5F5] hover:text-[#60A5FA] h-9 rounded-md px-3\">\n <svg class=\"lucide lucide-newspaper text-blue-400 dark:text-blue-600\" stroke-linejoin=\"round\" stroke-linecap=\"round\" stroke-width=\"2\" stroke=\"#60A5FA\" fill=\"none\" viewBox=\"0 0 24 24\" height=\"22\" width=\"22\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-2 2Zm0 0a2 2 0 0 1-2-2v-9c0-1.1.9-2 2-2h2\"></path>\n <path d=\"M18 14h-8\"></path>\n <path d=\"M15 18h-5\"></path>\n <path d=\"M10 6h8v4h-8V6Z\"></path>\n </svg>\n Articles\n </button>\n <button class=\"cursor-pointer bg-white relative inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 hover:bg-[#F5F5F5] hover:text-[#FACC14] h-9 rounded-md px-3\">\n <svg class=\"lucide lucide-sticky-note text-yellow-400 dark:text-yellow-600\" stroke-linejoin=\"round\" stroke-linecap=\"round\" stroke-width=\"2\" stroke=\"#FACC14\" fill=\"none\" viewBox=\"0 0 24 24\" height=\"22\" width=\"22\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M15.5 3H5a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h14a2 2 0 0 0 2-2V8.5L15.5 3Z\"></path>\n <path d=\"M15 3v6h6\"></path>\n </svg>\n Notes\n </button>\n <button class=\"cursor-pointer bg-white relative inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 hover:bg-[#F5F5F5] hover:text-[#FB923C] h-9 rounded-md px-3\">\n <svg class=\"lucide lucide-star text-orange-400 dark:text-orange-600\" stroke-linejoin=\"round\" stroke-linecap=\"round\" stroke-width=\"2\" stroke=\"#FB923C\" fill=\"#FB923C\" viewBox=\"0 0 24 24\" height=\"22\" width=\"22\" xmlns=\"http://www.w3.org/2000/svg\">\n <polygon points=\"12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2\"></polygon>\n </svg>\n Reviews\n </button>\n</div>",
"css": "",
"file_path": "/mnt/persist/workspace/Buttons/0x3ther_heavy-dragon-56.html"
},
"uniapp": {
"template": "<view class=\"flex items-center gap-2\"></view>\n <button class=\"relative inline-flex items-center justify-center gap-2 text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 bg-white hover:bg-[#F5F5F5] h-9 rounded-md px-3 group\"></button>\n <view class=\"lucide lucide-arrow-left\" stroke-linejoin=\"round\" stroke-linecap=\"round\" stroke-width=\"2\" stroke=\"currentColor\" fill=\"none\" viewBox=\"0 0 24 24\" height=\"22\" width=\"22\" xmlns=\"http://www.w3.org/2000/svg\"></view>\n <path d=\"m12 19-7-7 7-7\"></path>\n <path d=\"M19 12H5\"></path>\n </svg>\n <text class=\"origin-left scale-0 transition-transform group-hover:scale-100\">Back</text>\n </button>\n <button class=\"cursor-pointer bg-white relative inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 hover:bg-[#F5F5F5] hover:text-[#06B6D4] h-9 rounded-md px-3\"></button>\n <view class=\"lucide lucide-rocket text-cyan-500 dark:text-cyan-400\" stroke-linejoin=\"round\" stroke-linecap=\"round\" stroke-width=\"2\" stroke=\"#06B6D4\" fill=\"none\" viewBox=\"0 0 24 24\" height=\"22\" width=\"22\" xmlns=\"http://www.w3.org/2000/svg\"></view>\n <path d=\"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z\"></path>\n <path d=\"m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z\"></path>\n <path d=\"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0\"></path>\n <path d=\"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5\"></path>\n </svg>\n Dashboard\n </button>\n <button class=\"cursor-pointer bg-white relative inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 hover:bg-[#F5F5F5] hover:text-[#60A5FA] h-9 rounded-md px-3\"></button>\n <view class=\"lucide lucide-newspaper text-blue-400 dark:text-blue-600\" stroke-linejoin=\"round\" stroke-linecap=\"round\" stroke-width=\"2\" stroke=\"#60A5FA\" fill=\"none\" viewBox=\"0 0 24 24\" height=\"22\" width=\"22\" xmlns=\"http://www.w3.org/2000/svg\"></view>\n <path d=\"M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-2 2Zm0 0a2 2 0 0 1-2-2v-9c0-1.1.9-2 2-2h2\"></path>\n <path d=\"M18 14h-8\"></path>\n <path d=\"M15 18h-5\"></path>\n <path d=\"M10 6h8v4h-8V6Z\"></path>\n </svg>\n Articles\n </button>\n <button class=\"cursor-pointer bg-white relative inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 hover:bg-[#F5F5F5] hover:text-[#FACC14] h-9 rounded-md px-3\"></button>\n <view class=\"lucide lucide-sticky-note text-yellow-400 dark:text-yellow-600\" stroke-linejoin=\"round\" stroke-linecap=\"round\" stroke-width=\"2\" stroke=\"#FACC14\" fill=\"none\" viewBox=\"0 0 24 24\" height=\"22\" width=\"22\" xmlns=\"http://www.w3.org/2000/svg\"></view>\n <path d=\"M15.5 3H5a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h14a2 2 0 0 0 2-2V8.5L15.5 3Z\"></path>\n <path d=\"M15 3v6h6\"></path>\n </svg>\n Notes\n </button>\n <button class=\"cursor-pointer bg-white relative inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 hover:bg-[#F5F5F5] hover:text-[#FB923C] h-9 rounded-md px-3\"></button>\n <view class=\"lucide lucide-star text-orange-400 dark:text-orange-600\" stroke-linejoin=\"round\" stroke-linecap=\"round\" stroke-width=\"2\" stroke=\"#FB923C\" fill=\"#FB923C\" viewBox=\"0 0 24 24\" height=\"22\" width=\"22\" xmlns=\"http://www.w3.org/2000/svg\"></view>\n <polygon points=\"12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2\"></polygon>\n </svg>\n Reviews\n </button>\n</div>",
"script": "export default {\n name: 'GalaxyHeavyDragon56',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "",
"component_name": "GalaxyHeavyDragon56"
},
"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": 4303,
"render_cost": "low",
"memory_usage": "low"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:32.346Z",
"updated_at": "2025-07-31T07:55:32.346Z"
}