UNPKG

galaxy-uniapp-mcp-server

Version:

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

125 lines 6.56 kB
{ "id": "BurgiSimon_wonderful-seahorse-35", "name": "wonderful-seahorse-35", "category": "buttons", "author": "BurgiSimon", "description": "wonderful-seahorse-35 组件 (simple, green, gradient, button, glow, html, css, click animation, animation, interactive)", "tags": [ "simple", "green", "gradient", "button", "glow", "html", "css", "click animation", "animation", "interactive" ], "original": { "html": "<button class=\"button font\">Hold Me</button>", "css": "/* From Uiverse.io by BurgiSimon - Tags: simple, green, gradient, button, glow, html, css, click animation */\n.button {\n cursor: pointer;\n padding: 10px 20px;\n font-size: 16px;\n color: black;\n border: 2px solid rgba(255, 255, 255, 0.6);\n border-radius: 5px;\n outline: none;\n box-shadow: 0 6px 7px rgba(0, 0, 0, 0.1),\n inset 0 2px 4px rgba(255, 255, 255, 0.5); /* Hinzufügen eines inneren Schattens für Tiefe */\n backdrop-filter: blur(12px) saturate(180%);\n -webkit-backdrop-filter: blur(12px) saturate(180%);\n position: relative;\n overflow: hidden;\n background-color: rgba(255, 255, 255, 0.5);\n transition: box-shadow 0.4s ease, transform 0.4s ease;\n background-image: linear-gradient(\n to top,\n rgba(206, 255, 255, 0.75),\n rgba(216, 255, 244, 0.65)\n );\n background-repeat: no-repeat;\n background-position: center bottom;\n background-size: 100% 0%;\n}\n\n.button:hover {\n box-shadow: 0 7px 9px rgba(0, 0, 0, 0.15),\n inset 0 3px 5px rgba(255, 255, 255, 0.6);\n}\n\n@keyframes fillButtonAndPress {\n 0% {\n background-size: 100% 0%;\n transform: translateY(0);\n border: 2px solid rgba(255, 255, 255, 0.6);\n }\n 100% {\n background-size: 100% 100%;\n transform: translateY(2px);\n border: 1px solid rgba(205, 235, 218, 0.6);\n }\n}\n\n.button:active {\n animation: fillButtonAndPress 0.4s ease forwards;\n box-shadow: 0 3px 4px rgba(0, 0, 0, 0.2),\n inset 0 2px 4px rgba(255, 255, 255, 0.7);\n}\n\n.font {\n font-family: sans-serif;\n font-optical-sizing: auto;\n font-weight: 200;\n font-style: normal;\n}", "file_path": "/mnt/persist/workspace/Buttons/BurgiSimon_wonderful-seahorse-35.html" }, "uniapp": { "template": "<button class=\"button font\"></button>Hold Me</button>", "script": "export default {\n name: 'GalaxyWonderfulSeahorse35',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by BurgiSimon - Tags: simple, green, gradient, button, glow, html, css, click animation */\n.button {\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n padding: 20rpx 40rpx;\n font-size: 32rpx;\n color: black;\n border: 4rpx solid rgba(255, 255, 255, 0.6);\n border-radius: 10rpx;\n outline: none;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 12rpx 14rpx rgba(0, 0, 0, 0.1),\n inset 0 4rpx 8rpx rgba(255, 255, 255, 0.5);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */ /* Hinzufügen eines inneren Schattens für Tiefe */\n backdrop-\n -webkit-backdrop-\n position: relative;\n overflow: hidden;\n background-color: rgba(255, 255, 255, 0.5);\n transition: box-shadow 0.4s ease, transform 0.4s ease;\n background-image: linear-gradient(\n to top,\n rgba(206, 255, 255, 0.75),\n rgba(216, 255, 244, 0.65)\n );\n background-repeat: no-repeat;\n background-position: center bottom;\n background-size: 100% 0%;\n}\n\n.button:hover {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 14rpx 18rpx rgba(0, 0, 0, 0.15),\n inset 0 6rpx 10rpx rgba(255, 255, 255, 0.6);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n@keyframes fillButtonAndPress {\n 0% {\n background-size: 100% 0%;\n transform: translateY(0);\n border: 4rpx solid rgba(255, 255, 255, 0.6);\n }\n 100% {\n background-size: 100% 100%;\n transform: translateY(4rpx);\n border: 2rpx solid rgba(205, 235, 218, 0.6);\n }\n}\n\n.button:active {\n animation: fillButtonAndPress 0.4s ease forwards;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 6rpx 8rpx rgba(0, 0, 0, 0.2),\n inset 0 4rpx 8rpx rgba(255, 255, 255, 0.7);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.font {\n font-family: sans-serif;\n font-optical-sizing: auto;\n font-weight: 200;\n font-style: normal;\n}\n\n", "component_name": "GalaxyWonderfulSeahorse35" }, "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 属性", "不支持 backdrop-filter 属性", "不支持 cursor 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 box-shadow 属性", "不支持 filter 属性", "不支持 backdrop-filter 属性", "不支持 cursor 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 1596, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:32.841Z", "updated_at": "2025-07-31T07:55:32.841Z" }