UNPKG

galaxy-uniapp-mcp-server

Version:

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

123 lines 6.63 kB
{ "id": "elijahgummer_slippery-dragonfly-100", "name": "slippery-dragonfly-100", "category": "buttons", "author": "elijahgummer", "description": "slippery-dragonfly-100 组件 (icon, animation, button, hover, gradients, colorful, transition, hover effect, gradient, interactive)", "tags": [ "icon", "animation", "button", "hover", "gradients", "colorful", "transition", "hover effect", "gradient", "interactive" ], "original": { "html": "<ul>\n <li style=\"--i:#a955ff;--j:#ea51ff;\">\n <span class=\"icon\">🏠</span>\n <span class=\"title\">Home</span>\n </li>\n</ul>", "css": "/* From Uiverse.io by elijahgummer - Tags: icon, animation, button, hover, gradients, colorful, transition, hover effect */\nul {\n position: relative;\n display: flex;\n gap: 25px;\n}\n\nul li {\n position: relative;\n list-style: none;\n width: 60px;\n height: 60px;\n background: #fff;\n border-radius: 60px;\n cursor: pointer;\n display: flex;\n justify-content: center;\n align-items: center;\n box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);\n transition: 0.5s;\n}\n\nul li:hover {\n width: 180px;\n box-shadow: 0 10px 25px rgba(0, 0, 0, 0);\n}\n\nul li::before {\n content: \"\";\n position: absolute;\n inset: 0;\n border-radius: 60px;\n background: linear-gradient(45deg, var(--i), var(--j));\n opacity: 0;\n transition: 0.5s;\n}\n\nul li:hover::before {\n opacity: 1;\n}\n\nul li::after {\n content: \"\";\n position: absolute;\n top: 10px;\n width: 100%;\n height: 100%;\n border-radius: 60px;\n background: linear-gradient(45deg, var(--i), var(--j));\n transition: 0.5s;\n filter: blur(15px);\n z-index: -1;\n opacity: 0;\n}\n\nul li:hover::after {\n opacity: 0.5;\n}\n\nul li .icon {\n color: #777;\n font-size: 1.75em;\n transition: 0.5s;\n transition-delay: 0.25s;\n}\n\nul li:hover .icon {\n transform: scale(0);\n color: #fff;\n transition-delay: 0s;\n}\n\nul li span {\n position: absolute;\n}\n\nul li .title {\n color: #fff;\n font-size: 1.1em;\n text-transform: uppercase;\n letter-spacing: 0.1em;\n transform: scale(0);\n transition: 0.5s;\n transition-delay: 0s;\n}\n\nul li:hover .title {\n transform: scale(1);\n transition-delay: 0.25s;\n}", "file_path": "/mnt/persist/workspace/Buttons/elijahgummer_slippery-dragonfly-100.html" }, "uniapp": { "template": "<view></view>\n <view style=\"--i:#a955ff;--j:#ea51ff;\"></view>\n <text class=\"icon\">🏠</text>\n <text class=\"title\">Home</text>\n </li>\n</ul>", "script": "export default {\n name: 'GalaxySlipperyDragonfly100',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by elijahgummer - Tags: icon, animation, button, hover, gradients, colorful, transition, hover effect */\nul {\n position: relative;\n display: flex;\n gap: 50rpx;\n}\n\nul li {\n position: relative;\n list-style: none;\n width: 120rpx;\n height: 120rpx;\n background: #fff;\n border-radius: 120rpx;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n display: flex;\n justify-content: center;\n align-items: center;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 20rpx 50rpx rgba(0, 0, 0, 0.1);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transition: 0.5s;\n}\n\nul li:hover {\n width: 360rpx;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 20rpx 50rpx rgba(0, 0, 0, 0);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\nul li::before {\n content: \"\";\n position: absolute;\n inset: 0;\n border-radius: 120rpx;\n background: linear-gradient(45deg, var(--i), var(--j));\n opacity: 0;\n transition: 0.5s;\n}\n\nul li:hover::before {\n opacity: 1;\n}\n\nul li::after {\n content: \"\";\n position: absolute;\n top: 20rpx;\n width: 100%;\n height: 100%;\n border-radius: 120rpx;\n background: linear-gradient(45deg, var(--i), var(--j));\n transition: 0.5s;\n \n z-index: -1;\n opacity: 0;\n}\n\nul li:hover::after {\n opacity: 0.5;\n}\n\nul li .icon {\n color: #777;\n font-size: 1.75em;\n transition: 0.5s;\n transition-delay: 0.25s;\n}\n\nul li:hover .icon {\n transform: scale(0);\n color: #fff;\n transition-delay: 0s;\n}\n\nul li span {\n position: absolute;\n}\n\nul li .title {\n color: #fff;\n font-size: 1.1em;\n text-transform: uppercase;\n letter-spacing: 0.1em;\n transform: scale(0);\n transition: 0.5s;\n transition-delay: 0s;\n}\n\nul li:hover .title {\n transform: scale(1);\n transition-delay: 0.25s;\n}\n\n", "component_name": "GalaxySlipperyDragonfly100" }, "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": [ "不支持 box-shadow 属性", "不支持 filter 属性", "不支持 cursor 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 box-shadow 属性", "不支持 filter 属性", "不支持 cursor 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 1660, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:36.543Z", "updated_at": "2025-07-31T07:55:36.543Z" }