UNPKG

galaxy-uniapp-mcp-server

Version:

Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成

104 lines 5.91 kB
{ "id": "Shubh0408_dry-shrimp-75", "name": "dry-shrimp-75", "category": "buttons", "author": "Shubh0408", "description": "dry-shrimp-75 组件", "tags": [], "original": { "html": "<button class=\"group relative flex h-14 w-14 flex-col items-center justify-center overflow-hidden rounded-xl border-2 border-red-800 bg-red-400 hover:bg-red-600\">\n <svg viewBox=\"0 0 1.625 1.625\" class=\"absolute -top-7 fill-white delay-100 group-hover:top-6 group-hover:animate-[spin_1.4s] group-hover:duration-1000\" height=\"15\" width=\"15\">\n <path d=\"M.471 1.024v-.52a.1.1 0 0 0-.098.098v.618c0 .054.044.098.098.098h.487a.1.1 0 0 0 .098-.099h-.39c-.107 0-.195 0-.195-.195\"></path>\n <path d=\"M1.219.601h-.163A.1.1 0 0 1 .959.504V.341A.033.033 0 0 0 .926.309h-.26a.1.1 0 0 0-.098.098v.618c0 .054.044.098.098.098h.487a.1.1 0 0 0 .098-.099v-.39a.033.033 0 0 0-.032-.033\"></path>\n <path d=\"m1.245.465-.15-.15a.02.02 0 0 0-.016-.006.023.023 0 0 0-.023.022v.108c0 .036.029.065.065.065h.107a.023.023 0 0 0 .023-.023.02.02 0 0 0-.007-.016\"></path>\n </svg>\n <svg width=\"16\" fill=\"none\" viewBox=\"0 0 39 7\" class=\"origin-right duration-500 group-hover:rotate-90\">\n <line stroke-width=\"4\" stroke=\"white\" y2=\"5\" x2=\"39\" y1=\"5\"></line>\n <line stroke-width=\"3\" stroke=\"white\" y2=\"1.5\" x2=\"26.0357\" y1=\"1.5\" x1=\"12\"></line>\n </svg>\n <svg width=\"16\" fill=\"none\" viewBox=\"0 0 33 39\" class=\"\">\n <mask fill=\"white\" id=\"path-1-inside-1_8_19\">\n <path d=\"M0 0H33V35C33 37.2091 31.2091 39 29 39H4C1.79086 39 0 37.2091 0 35V0Z\"></path>\n </mask>\n <path mask=\"url(#path-1-inside-1_8_19)\" fill=\"white\" d=\"M0 0H33H0ZM37 35C37 39.4183 33.4183 43 29 43H4C-0.418278 43 -4 39.4183 -4 35H4H29H37ZM4 43C-0.418278 43 -4 39.4183 -4 35V0H4V35V43ZM37 0V35C37 39.4183 33.4183 43 29 43V35V0H37Z\"></path>\n <path stroke-width=\"4\" stroke=\"white\" d=\"M12 6L12 29\"></path>\n <path stroke-width=\"4\" stroke=\"white\" d=\"M21 6V29\"></path>\n </svg>\n</button>", "css": "", "file_path": "/mnt/persist/workspace/Buttons/Shubh0408_dry-shrimp-75.html" }, "uniapp": { "template": "<button class=\"group relative flex h-14 w-14 flex-col items-center justify-center overflow-hidden rounded-xl border-2 border-red-800 bg-red-400 hover:bg-red-600\"></button>\n <view viewBox=\"0 0 1.625 1.625\" class=\"absolute -top-7 fill-white delay-100 group-hover:top-6 group-hover:animate-[spin_1.4s] group-hover:duration-1000\" height=\"15\" width=\"15\"></view>\n <path d=\"M.471 1.024v-.52a.1.1 0 0 0-.098.098v.618c0 .054.044.098.098.098h.487a.1.1 0 0 0 .098-.099h-.39c-.107 0-.195 0-.195-.195\"></path>\n <path d=\"M1.219.601h-.163A.1.1 0 0 1 .959.504V.341A.033.033 0 0 0 .926.309h-.26a.1.1 0 0 0-.098.098v.618c0 .054.044.098.098.098h.487a.1.1 0 0 0 .098-.099v-.39a.033.033 0 0 0-.032-.033\"></path>\n <path d=\"m1.245.465-.15-.15a.02.02 0 0 0-.016-.006.023.023 0 0 0-.023.022v.108c0 .036.029.065.065.065h.107a.023.023 0 0 0 .023-.023.02.02 0 0 0-.007-.016\"></path>\n </svg>\n <view width=\"16\" fill=\"none\" viewBox=\"0 0 39 7\" class=\"origin-right duration-500 group-hover:rotate-90\"></view>\n <line stroke-width=\"4\" stroke=\"white\" y2=\"5\" x2=\"39\" y1=\"5\"></line>\n <line stroke-width=\"3\" stroke=\"white\" y2=\"1.5\" x2=\"26.0357\" y1=\"1.5\" x1=\"12\"></line>\n </svg>\n <view width=\"16\" fill=\"none\" viewBox=\"0 0 33 39\" class=\"\"></view>\n <mask fill=\"white\" id=\"path-1-inside-1_8_19\">\n <path d=\"M0 0H33V35C33 37.2091 31.2091 39 29 39H4C1.79086 39 0 37.2091 0 35V0Z\"></path>\n </mask>\n <path mask=\"url(#path-1-inside-1_8_19)\" fill=\"white\" d=\"M0 0H33H0ZM37 35C37 39.4183 33.4183 43 29 43H4C-0.418278 43 -4 39.4183 -4 35H4H29H37ZM4 43C-0.418278 43 -4 39.4183 -4 35V0H4V35V43ZM37 0V35C37 39.4183 33.4183 43 29 43V35V0H37Z\"></path>\n <path stroke-width=\"4\" stroke=\"white\" d=\"M12 6L12 29\"></path>\n <path stroke-width=\"4\" stroke=\"white\" d=\"M21 6V29\"></path>\n </svg>\n</button>", "script": "export default {\n name: 'GalaxyDryShrimp75',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "", "component_name": "GalaxyDryShrimp75" }, "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": 1749, "render_cost": "low", "memory_usage": "low" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:34.723Z", "updated_at": "2025-07-31T07:55:34.723Z" }