UNPKG

galaxy-uniapp-mcp-server

Version:

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

104 lines 3.82 kB
{ "id": "Itskrish01_loud-squid-89", "name": "loud-squid-89", "category": "buttons", "author": "Itskrish01", "description": "loud-squid-89 组件", "tags": [], "original": { "html": "<div class=\"relative group\">\n <div class=\"relative w-64 h-14 opacity-90 overflow-hidden rounded-xl bg-black z-10\">\n <div class=\"absolute z-10 -translate-x-44 group-hover:translate-x-[30rem] ease-in transistion-all duration-700 h-full w-44 bg-gradient-to-r from-gray-500 to-white/10 opacity-30 -skew-x-12\"></div>\n\n <div class=\"absolute flex items-center justify-center text-white z-[1] opacity-90 rounded-2xl inset-0.5 bg-black\">\n <button name=\"text\" class=\"input font-semibold text-lg h-full opacity-90 w-full px-16 py-3 rounded-xl bg-black\">\n Get Started\n </button>\n </div>\n <div class=\"absolute duration-1000 group-hover:animate-spin w-full h-[100px] bg-gradient-to-r from-green-500 to-yellow-500 blur-[30px]\"></div>\n </div>\n</div>", "css": "", "file_path": "/mnt/persist/workspace/Buttons/Itskrish01_loud-squid-89.html" }, "uniapp": { "template": "<view class=\"relative group\"></view>\n <view class=\"relative w-64 h-14 opacity-90 overflow-hidden rounded-xl bg-black z-10\"></view>\n <view class=\"absolute z-10 -translate-x-44 group-hover:translate-x-[30rem] ease-in transistion-all duration-700 h-full w-44 bg-gradient-to-r from-gray-500 to-white/10 opacity-30 -skew-x-12\"></view>\n\n <view class=\"absolute flex items-center justify-center text-white z-[1] opacity-90 rounded-2xl inset-0.5 bg-black\"></view>\n <button name=\"text\" class=\"input font-semibold text-lg h-full opacity-90 w-full px-16 py-3 rounded-xl bg-black\"></button>\n Get Started\n </button>\n </div>\n <view class=\"absolute duration-1000 group-hover:animate-spin w-full h-[100px] bg-gradient-to-r from-green-500 to-yellow-500 blur-[30px]\"></view>\n </div>\n</div>", "script": "export default {\n name: 'GalaxyLoudSquid89',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "", "component_name": "GalaxyLoudSquid89" }, "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": 771, "render_cost": "low", "memory_usage": "low" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:33.364Z", "updated_at": "2025-07-31T07:55:33.364Z" }