UNPKG

galaxy-uniapp-mcp-server

Version:

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

121 lines 5.06 kB
{ "id": "zanina-yassine_perfect-penguin-77", "name": "perfect-penguin-77", "category": "buttons", "author": "zanina-yassine", "description": "perfect-penguin-77 组件 (blue, minimalist, gradient, button, hover, rounded, dark, glow, animation, interactive)", "tags": [ "blue", "minimalist", "gradient", "button", "hover", "rounded", "dark", "glow", "animation", "interactive" ], "original": { "html": "<button class=\"button\">Sign Up</button>", "css": "/* From Uiverse.io by zanina-yassine - Tags: blue, minimalist, gradient, button, hover, rounded, dark, glow */\n.button {\n min-width: 120px;\n\n position: relative;\n cursor: pointer;\n\n padding: 12px 17px;\n border: 0;\n border-radius: 7px;\n\n box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);\n background: radial-gradient(\n ellipse at bottom,\n rgba(71, 81, 92, 1) 0%,\n rgba(11, 21, 30, 1) 45%\n );\n\n color: rgb(255, 255, 255, 0.66);\n\n transition: all 1s cubic-bezier(0.15, 0.83, 0.66, 1);\n}\n\n.button::before {\n content: \"\";\n width: 70%;\n height: 1px;\n\n position: absolute;\n bottom: 0;\n left: 15%;\n\n background: rgb(255, 255, 255);\n background: linear-gradient(\n 90deg,\n rgba(255, 255, 255, 0) 0%,\n rgba(255, 255, 255, 1) 50%,\n rgba(255, 255, 255, 0) 100%\n );\n opacity: 0.2;\n\n transition: all 1s cubic-bezier(0.15, 0.83, 0.66, 1);\n}\n\n.button:hover {\n color: rgb(255, 255, 255, 1);\n transform: scale(1.1) translateY(-3px);\n}\n\n.button:hover::before {\n opacity: 1;\n}", "file_path": "/mnt/persist/workspace/Buttons/zanina-yassine_perfect-penguin-77.html" }, "uniapp": { "template": "<button class=\"button\"></button>Sign Up</button>", "script": "export default {\n name: 'GalaxyPerfectPenguin77',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by zanina-yassine - Tags: blue, minimalist, gradient, button, hover, rounded, dark, glow */\n.button {\n min-width: 240rpx;\n\n position: relative;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n\n padding: 24rpx 34rpx;\n border: 0;\n border-radius: 14rpx;\n\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset 0 0 0 2rpx rgba(255, 255, 255, 0.1);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n background: radial-gradient(\n ellipse at bottom,\n rgba(71, 81, 92, 1) 0%,\n rgba(11, 21, 30, 1) 45%\n );\n\n color: rgb(255, 255, 255, 0.66);\n\n transition: all 1s cubic-bezier(0.15, 0.83, 0.66, 1);\n}\n\n.button::before {\n content: \"\";\n width: 70%;\n height: 2rpx;\n\n position: absolute;\n bottom: 0;\n left: 15%;\n\n background: rgb(255, 255, 255);\n background: linear-gradient(\n 90deg,\n rgba(255, 255, 255, 0) 0%,\n rgba(255, 255, 255, 1) 50%,\n rgba(255, 255, 255, 0) 100%\n );\n opacity: 0.2;\n\n transition: all 1s cubic-bezier(0.15, 0.83, 0.66, 1);\n}\n\n.button:hover {\n color: rgb(255, 255, 255, 1);\n transform: scale(1.1) translateY(-6rpx);\n}\n\n.button:hover::before {\n opacity: 1;\n}\n\n", "component_name": "GalaxyPerfectPenguin77" }, "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 属性", "不支持 cursor 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 box-shadow 属性", "不支持 cursor 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 1055, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:38.420Z", "updated_at": "2025-07-31T07:55:38.420Z" }