UNPKG

galaxy-uniapp-mcp-server

Version:

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

109 lines 4.32 kB
{ "id": "satyamchaudharydev_curvy-rat-14", "name": "curvy-rat-14", "category": "buttons", "author": "satyamchaudharydev", "description": "curvy-rat-14 组件 (button, animation, gradient, interactive)", "tags": [ "button", "animation", "gradient", "interactive" ], "original": { "html": "<button>\n Join now\n</button>", "css": "/* From Uiverse.io by satyamchaudharydev - Tags: button */\n/* this button is inspired from this -- https://www.newline.co/pricing */\nbutton {\n --width: 150px;\n --timing: 2s;\n border: 0;\n width: var(--width);\n padding-block: 1em;\n color: #fff;\n font-weight: bold;\n font-size: 1em;\n background: rgb(64, 192, 87);\n transition: all 0.2s;\n border-radius: 3px;\n}\n\nbutton:hover {\n background-image: linear-gradient(to right, rgb(250, 82, 82), rgb(250, 82, 82) 16.65%, rgb(190, 75, 219) 16.65%, rgb(190, 75, 219) 33.3%, rgb(76, 110, 245) 33.3%, rgb(76, 110, 245) 49.95%, rgb(64, 192, 87) 49.95%, rgb(64, 192, 87) 66.6%, rgb(250, 176, 5) 66.6%, rgb(250, 176, 5) 83.25%, rgb(253, 126, 20) 83.25%, rgb(253, 126, 20) 100%, rgb(250, 82, 82) 100%);\n animation: var(--timing) linear dance6123 infinite;\n transform: scale(1.1) translateY(-1px);\n}\n\n@keyframes dance6123 {\n to {\n background-position: var(--width);\n }\n}", "file_path": "/mnt/persist/workspace/Buttons/satyamchaudharydev_curvy-rat-14.html" }, "uniapp": { "template": "<button></button>\n Join now\n</button>", "script": "export default {\n name: 'GalaxyCurvyRat14',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by satyamchaudharydev - Tags: button */\n/* this button is inspired from this -- https://www.newline.co/pricing */\nbutton {\n --width: 300rpx;\n --timing: 2s;\n border: 0;\n width: var(--width);\n padding-block: 1em;\n color: #fff;\n font-weight: bold;\n font-size: 1em;\n background: rgb(64, 192, 87);\n transition: all 0.2s;\n border-radius: 6rpx;\n}\n\nbutton:hover {\n background-image: linear-gradient(to right, rgb(250, 82, 82), rgb(250, 82, 82) 16.65%, rgb(190, 75, 219) 16.65%, rgb(190, 75, 219) 33.3%, rgb(76, 110, 245) 33.3%, rgb(76, 110, 245) 49.95%, rgb(64, 192, 87) 49.95%, rgb(64, 192, 87) 66.6%, rgb(250, 176, 5) 66.6%, rgb(250, 176, 5) 83.25%, rgb(253, 126, 20) 83.25%, rgb(253, 126, 20) 100%, rgb(250, 82, 82) 100%);\n animation: var(--timing) linear dance6123 infinite;\n transform: scale(1.1) translateY(-2rpx);\n}\n\n@keyframes dance6123 {\n to {\n background-position: var(--width);\n }\n}\n\n\n", "component_name": "GalaxyCurvyRat14" }, "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": [], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 957, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:37.750Z", "updated_at": "2025-07-31T07:55:37.750Z" }