UNPKG

galaxy-uniapp-mcp-server

Version:

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

104 lines 3.98 kB
{ "id": "EcheverriaJesus_kind-badger-70", "name": "kind-badger-70", "category": "buttons", "author": "EcheverriaJesus", "description": "kind-badger-70 组件", "tags": [], "original": { "html": "<div class=\"group relative\">\n <button>\n <svg stroke-linejoin=\"round\" stroke-linecap=\"round\" stroke-width=\"2\" stroke=\"currentColor\" fill=\"none\" viewBox=\"0 0 24 24\" class=\"w-8 hover:scale-125 duration-200 hover:stroke-blue-500\"><path d=\"M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22\"></path></svg>\n </button>\n <span class=\"absolute -top-14 left-[50%] -translate-x-[50%] \n z-20 origin-left scale-0 px-3 rounded-lg border \n border-gray-300 bg-white py-2 text-sm font-bold\n shadow-md transition-all duration-300 ease-in-out \n group-hover:scale-100\">GitHub<span>\n</span></span></div>", "css": "", "file_path": "/mnt/persist/workspace/Buttons/EcheverriaJesus_kind-badger-70.html" }, "uniapp": { "template": "<view class=\"group relative\"></view>\n <button></button>\n <view stroke-linejoin=\"round\" stroke-linecap=\"round\" stroke-width=\"2\" stroke=\"currentColor\" fill=\"none\" viewBox=\"0 0 24 24\" class=\"w-8 hover:scale-125 duration-200 hover:stroke-blue-500\"><path d=\"M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22\"></path></view>\n </button>\n <text class=\"absolute -top-14 left-[50%] -translate-x-[50%] \n z-20 origin-left scale-0 px-3 rounded-lg border \n border-gray-300 bg-white py-2 text-sm font-bold\n shadow-md transition-all duration-300 ease-in-out \n group-hover:scale-100\"></text>GitHub<text></text>\n</span></span></div>", "script": "export default {\n name: 'GalaxyKindBadger70',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "", "component_name": "GalaxyKindBadger70" }, "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": 833, "render_cost": "low", "memory_usage": "low" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:33.173Z", "updated_at": "2025-07-31T07:55:33.173Z" }