UNPKG

galaxy-uniapp-mcp-server

Version:

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

108 lines 4.07 kB
{ "id": "Kemboi-Dun_lazy-puma-63", "name": "lazy-puma-63", "category": "buttons", "author": "Kemboi-Dun", "description": "lazy-puma-63 组件 (button, animation, interactive)", "tags": [ "button", "animation", "interactive" ], "original": { "html": "<button class=\"button\">\n Hover Button\n </button>", "css": "/* From Uiverse.io by Kemboi-Dun - Tags: button */\n.button {\n text-decoration: none;\n padding: 14px 24px;\n color: #121212;\n border: 1px solid #181818;\n overflow: hidden;\n position: relative;\n transition: color .5s .25s;\n border-radius: 2px;\n background: transparent;\n}\n\n.button::before,\n.button::after {\n content: '';\n position: absolute;\n top: 0;\n width: 50%;\n height: 100%;\n background-color: #181818;\n z-index: -1;\n transform: scaleX(0);\n transition: transform .5s cubic-bezier(.785, .135, .15, .86);\n}\n\n.button::before {\n left: 0;\n transform-origin: left;\n}\n\n.button::after {\n right: 0;\n transform-origin: right;\n}\n\n.button:hover::before,\n.button:hover::after {\n transform: scaleX(1);\n}\n\n.button:hover {\n color: #f8f8f8;\n transition-delay: .5s;\n}", "file_path": "/mnt/persist/workspace/Buttons/Kemboi-Dun_lazy-puma-63.html" }, "uniapp": { "template": "<button class=\"button\"></button>\n Hover Button\n </button>", "script": "export default {\n name: 'GalaxyLazyPuma63',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by Kemboi-Dun - Tags: button */\n.button {\n text-decoration: none;\n padding: 28rpx 48rpx;\n color: #121212;\n border: 2rpx solid #181818;\n overflow: hidden;\n position: relative;\n transition: color .5s .25s;\n border-radius: 4rpx;\n background: transparent;\n}\n\n.button::before,\n.button::after {\n content: '';\n position: absolute;\n top: 0;\n width: 50%;\n height: 100%;\n background-color: #181818;\n z-index: -1;\n transform: scaleX(0);\n transition: transform .5s cubic-bezier(.785, .135, .15, .86);\n}\n\n.button::before {\n left: 0;\n transform-origin: left;\n}\n\n.button::after {\n right: 0;\n transform-origin: right;\n}\n\n.button:hover::before,\n.button:hover::after {\n transform: scaleX(1);\n}\n\n.button:hover {\n color: #f8f8f8;\n transition-delay: .5s;\n}\n", "component_name": "GalaxyLazyPuma63" }, "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": "medium", "bundle_size": 836, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:33.679Z", "updated_at": "2025-07-31T07:55:33.679Z" }