UNPKG

galaxy-uniapp-mcp-server

Version:

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

115 lines 7.55 kB
{ "id": "JaydipPrajapati1910_splendid-mayfly-81", "name": "splendid-mayfly-81", "category": "buttons", "author": "JaydipPrajapati1910", "description": "splendid-mayfly-81 组件 (blue, button, Discord, join now, animation, interactive)", "tags": [ "blue", "button", "Discord", "join now", "animation", "interactive" ], "original": { "html": "<button>\n <svg viewBox=\"0 0 16 16\" class=\"bi bi-discord\" fill=\"currentColor\" height=\"36\" width=\"36\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M13.545 2.907a13.227 13.227 0 0 0-3.257-1.011.05.05 0 0 0-.052.025c-.141.25-.297.577-.406.833a12.19 12.19 0 0 0-3.658 0 8.258 8.258 0 0 0-.412-.833.051.051 0 0 0-.052-.025c-1.125.194-2.22.534-3.257 1.011a.041.041 0 0 0-.021.018C.356 6.024-.213 9.047.066 12.032c.001.014.01.028.021.037a13.276 13.276 0 0 0 3.995 2.02.05.05 0 0 0 .056-.019c.308-.42.582-.863.818-1.329a.05.05 0 0 0-.01-.059.051.051 0 0 0-.018-.011 8.875 8.875 0 0 1-1.248-.595.05.05 0 0 1-.02-.066.051.051 0 0 1 .015-.019c.084-.063.168-.129.248-.195a.05.05 0 0 1 .051-.007c2.619 1.196 5.454 1.196 8.041 0a.052.052 0 0 1 .053.007c.08.066.164.132.248.195a.051.051 0 0 1-.004.085 8.254 8.254 0 0 1-1.249.594.05.05 0 0 0-.03.03.052.052 0 0 0 .003.041c.24.465.515.909.817 1.329a.05.05 0 0 0 .056.019 13.235 13.235 0 0 0 4.001-2.02.049.049 0 0 0 .021-.037c.334-3.451-.559-6.449-2.366-9.106a.034.034 0 0 0-.02-.019Zm-8.198 7.307c-.789 0-1.438-.724-1.438-1.612 0-.889.637-1.613 1.438-1.613.807 0 1.45.73 1.438 1.613 0 .888-.637 1.612-1.438 1.612Zm5.316 0c-.788 0-1.438-.724-1.438-1.612 0-.889.637-1.613 1.438-1.613.807 0 1.451.73 1.438 1.613 0 .888-.631 1.612-1.438 1.612Z\"></path>\n</svg>\n <span class=\"now\">now!</span>\n <span class=\"play\">Join</span>\n</button>", "css": "/* From Uiverse.io by JaydipPrajapati1910 - Tags: blue, button, Discord, join now */\nbutton {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 10px;\n padding: 0 10px;\n color: white;\n text-shadow: 2px 2px #000;\n text-transform: uppercase;\n border: solid 2px #fff;\n letter-spacing: 1px;\n font-weight: 600;\n font-size: 17px;\n background-color: rgba(88, 101, 242, 1);\n border-radius: 50px;\n position: relative;\n overflow: hidden;\n transition: all .5s ease;\n}\n\nbutton:active {\n transform: scale(.9);\n transition: all 100ms ease;\n}\n\nbutton svg {\n transition: all .5s ease;\n z-index: 2;\n}\n\n.play {\n transition: all .5s ease;\n transition-delay: 300ms;\n}\n\nbutton:hover svg {\n transform: scale(1.3) translate(-40%);\n}\n\n.now {\n position: absolute;\n left: 0;\n transform: translateX(290%);\n transition: all .5s ease;\n z-index: 2;\n}\n\nbutton:hover .now {\n transform: translateX(90%);\n transition-delay: 300ms;\n}\n\nbutton:hover .play {\n transform: translateX(200%);\n transition-delay: 300ms;\n}", "file_path": "/mnt/persist/workspace/Buttons/JaydipPrajapati1910_splendid-mayfly-81.html" }, "uniapp": { "template": "<button></button>\n <view viewBox=\"0 0 16 16\" class=\"bi bi-discord\" fill=\"currentColor\" height=\"36\" width=\"36\" xmlns=\"http://www.w3.org/2000/svg\"></view>\n <path d=\"M13.545 2.907a13.227 13.227 0 0 0-3.257-1.011.05.05 0 0 0-.052.025c-.141.25-.297.577-.406.833a12.19 12.19 0 0 0-3.658 0 8.258 8.258 0 0 0-.412-.833.051.051 0 0 0-.052-.025c-1.125.194-2.22.534-3.257 1.011a.041.041 0 0 0-.021.018C.356 6.024-.213 9.047.066 12.032c.001.014.01.028.021.037a13.276 13.276 0 0 0 3.995 2.02.05.05 0 0 0 .056-.019c.308-.42.582-.863.818-1.329a.05.05 0 0 0-.01-.059.051.051 0 0 0-.018-.011 8.875 8.875 0 0 1-1.248-.595.05.05 0 0 1-.02-.066.051.051 0 0 1 .015-.019c.084-.063.168-.129.248-.195a.05.05 0 0 1 .051-.007c2.619 1.196 5.454 1.196 8.041 0a.052.052 0 0 1 .053.007c.08.066.164.132.248.195a.051.051 0 0 1-.004.085 8.254 8.254 0 0 1-1.249.594.05.05 0 0 0-.03.03.052.052 0 0 0 .003.041c.24.465.515.909.817 1.329a.05.05 0 0 0 .056.019 13.235 13.235 0 0 0 4.001-2.02.049.049 0 0 0 .021-.037c.334-3.451-.559-6.449-2.366-9.106a.034.034 0 0 0-.02-.019Zm-8.198 7.307c-.789 0-1.438-.724-1.438-1.612 0-.889.637-1.613 1.438-1.613.807 0 1.45.73 1.438 1.613 0 .888-.637 1.612-1.438 1.612Zm5.316 0c-.788 0-1.438-.724-1.438-1.612 0-.889.637-1.613 1.438-1.613.807 0 1.451.73 1.438 1.613 0 .888-.631 1.612-1.438 1.612Z\"></path>\n</svg>\n <text class=\"now\">now!</text>\n <text class=\"play\">Join</text>\n</button>", "script": "export default {\n name: 'GalaxySplendidMayfly81',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by JaydipPrajapati1910 - Tags: blue, button, Discord, join now */\nbutton {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 20rpx;\n padding: 0 20rpx;\n color: white;\n /* #ifdef H5 */\n text-shadow: 4rpx 4rpx #000;\n /* #endif */\n text-transform: uppercase;\n border: solid 4rpx #fff;\n letter-spacing: 2rpx;\n font-weight: 600;\n font-size: 34rpx;\n background-color: rgba(88, 101, 242, 1);\n border-radius: 100rpx;\n position: relative;\n overflow: hidden;\n transition: all .5s ease;\n}\n\nbutton:active {\n transform: scale(.9);\n transition: all 100ms ease;\n}\n\nbutton svg {\n transition: all .5s ease;\n z-index: 2;\n}\n\n.play {\n transition: all .5s ease;\n transition-delay: 300ms;\n}\n\nbutton:hover svg {\n transform: scale(1.3) translate(-40%);\n}\n\n.now {\n position: absolute;\n left: 0;\n transform: translateX(290%);\n transition: all .5s ease;\n z-index: 2;\n}\n\nbutton:hover .now {\n transform: translateX(90%);\n transition-delay: 300ms;\n}\n\nbutton:hover .play {\n transform: translateX(200%);\n transition-delay: 300ms;\n}\n\n\n\n", "component_name": "GalaxySplendidMayfly81" }, "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": [ "不支持 text-shadow 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 text-shadow 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 2412, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:33.488Z", "updated_at": "2025-07-31T07:55:33.488Z" }