UNPKG

galaxy-uniapp-mcp-server

Version:

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

118 lines 4.58 kB
{ "id": "AKAspidey01_spotty-husky-49", "name": "spotty-husky-49", "category": "buttons", "author": "AKAspidey01", "description": "spotty-husky-49 组件 (simple, flashy, animation, button, hover, smooth, hover effect, button hover effect, interactive)", "tags": [ "simple", "flashy", "animation", "button", "hover", "smooth", "hover effect", "button hover effect", "interactive" ], "original": { "html": "<button class=\"button\">\n <div class=\"similar-line line-1\"></div>\n <div class=\"similar-line line-2\"></div>\n <div class=\"similar-line line-3\"></div>\n</button>", "css": "/* From Uiverse.io by AKAspidey01 - Tags: simple, flashy, animation, button, hover, smooth, hover effect, button hover effect */\n.button {\n cursor: pointer;\n position: relative;\n width: 5em;\n height: 4em;\n border: none;\n background: rgb(248, 66, 42);\n padding: 0.5em;\n display: flex;\n justify-content: center;\n gap: 0.7em;\n flex-direction: column;\n transition-duration: 0.5s;\n}\n.button:hover {\n background: rgb(7, 142, 253);\n}\n.similar-line {\n height: 0.2em;\n background: #fff;\n border-radius: 1em;\n transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);\n}\n.line-1 {\n width: 40%;\n}\n.line-2 {\n width: 70%;\n}\n.line-3 {\n width: 90%;\n}\n.button:hover .line-1 {\n width: 90%;\n}\n.button:hover .line-2 {\n width: 70%;\n}\n.button:hover .line-3 {\n width: 40%;\n}", "file_path": "/mnt/persist/workspace/Buttons/AKAspidey01_spotty-husky-49.html" }, "uniapp": { "template": "<button class=\"button\"></button>\n <view class=\"similar-line line-1\"></view>\n <view class=\"similar-line line-2\"></view>\n <view class=\"similar-line line-3\"></view>\n</button>", "script": "export default {\n name: 'GalaxySpottyHusky49',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by AKAspidey01 - Tags: simple, flashy, animation, button, hover, smooth, hover effect, button hover effect */\n.button {\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n position: relative;\n width: 5em;\n height: 4em;\n border: none;\n background: rgb(248, 66, 42);\n padding: 0.5em;\n display: flex;\n justify-content: center;\n gap: 0.7em;\n flex-direction: column;\n transition-duration: 0.5s;\n}\n.button:hover {\n background: rgb(7, 142, 253);\n}\n.similar-line {\n height: 0.2em;\n background: #fff;\n border-radius: 1em;\n transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);\n}\n.line-1 {\n width: 40%;\n}\n.line-2 {\n width: 70%;\n}\n.line-3 {\n width: 90%;\n}\n.button:hover .line-1 {\n width: 90%;\n}\n.button:hover .line-2 {\n width: 70%;\n}\n.button:hover .line-3 {\n width: 40%;\n}\n\n", "component_name": "GalaxySpottyHusky49" }, "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": [ "不支持 cursor 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 cursor 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 940, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:32.510Z", "updated_at": "2025-07-31T07:55:32.510Z" }