UNPKG

galaxy-uniapp-mcp-server

Version:

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

110 lines 3.72 kB
{ "id": "xXJollyHAKERXx_swift-fly-20", "name": "swift-fly-20", "category": "buttons", "author": "xXJollyHAKERXx", "description": "swift-fly-20 组件 (simple, gradient, button, animation, interactive)", "tags": [ "simple", "gradient", "button", "animation", "interactive" ], "original": { "html": "<button class=\"button1\"> Button\n</button>", "css": "/* From Uiverse.io by xXJollyHAKERXx - Tags: simple, gradient, button */\n.button1 {\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;\n font-size: 16px;\n font-weight: 400;\n height: 45px;\n width: 85px;\n border: 0px solid;\n background-image: linear-gradient(45deg,blue,#00f0a0,blue);\n background-size: 500% 400%;\n color: white;\n border-radius: 50px;\n transition: 0.6s all;\n}\n\n.button1:hover {\n background-position: 75% 50%;\n transform: perspective(100px)\n}\n\n.button1:active {\n transform: scale(0.95);\n transition: 0.1s;\n}", "file_path": "/mnt/persist/workspace/Buttons/xXJollyHAKERXx_swift-fly-20.html" }, "uniapp": { "template": "<button class=\"button1\"></button> Button\n</button>", "script": "export default {\n name: 'GalaxySwiftFly20',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by xXJollyHAKERXx - Tags: simple, gradient, button */\n.button1 {\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;\n font-size: 32rpx;\n font-weight: 400;\n height: 90rpx;\n width: 170rpx;\n border: 0rpx solid;\n background-image: linear-gradient(45deg,blue,#00f0a0,blue);\n background-size: 500% 400%;\n color: white;\n border-radius: 100rpx;\n transition: 0.6s all;\n}\n\n.button1:hover {\n background-position: 75% 50%;\n transform: perspective(200rpx)\n}\n\n.button1:active {\n transform: scale(0.95);\n transition: 0.1s;\n}\n", "component_name": "GalaxySwiftFly20" }, "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": 652, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:38.379Z", "updated_at": "2025-07-31T07:55:38.379Z" }