UNPKG

galaxy-uniapp-mcp-server

Version:

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

109 lines 4.29 kB
{ "id": "AKAspidey01_ugly-horse-68", "name": "ugly-horse-68", "category": "buttons", "author": "AKAspidey01", "description": "ugly-horse-68 组件 (button, arrow, animation, interactive)", "tags": [ "button", "arrow", "animation", "interactive" ], "original": { "html": "<button class=\"button\">\n <p class=\"button-text\">Read More</p> <p class=\"iconer\"><svg height=\"24\" width=\"24\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M0 0h24v24H0z\" fill=\"none\"></path><path d=\"M16.172 11l-5.364-5.364 1.414-1.414L20 12l-7.778 7.778-1.414-1.414L16.172 13H4v-2z\" fill=\"currentColor\"></path></svg></p> \n</button>", "css": "/* From Uiverse.io by AKAspidey01 - Tags: button, arrow */\n.button {\n display: flex;\n align-items: center;\n gap: 10px;\n padding: 12px 15px;\n border-radius: 10px;\n border: none;\n overflow: hidden;\n background: rgb(164, 46, 194);\n color: #fff;\n}\n\n.button-text {\n transform: translateX(15px);\n font-size: 1.5em;\n font-weight: 700;\n transition-duration: 0.3s;\n}\n\n.iconer {\n transform: translateY(35px);\n transition-duration: 0.3s;\n}\n\n.button:hover .button-text {\n transform: translateX(0px);\n}\n\n.button:hover .iconer {\n transform: translateY(0px);\n}", "file_path": "/mnt/persist/workspace/Buttons/AKAspidey01_ugly-horse-68.html" }, "uniapp": { "template": "<button class=\"button\"></button>\n <text class=\"button-text\">Read More</text> <text class=\"iconer\"><view height=\"24\" width=\"24\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M0 0h24v24H0z\" fill=\"none\"></path><path d=\"M16.172 11l-5.364-5.364 1.414-1.414L20 12l-7.778 7.778-1.414-1.414L16.172 13H4v-2z\" fill=\"currentColor\"></path></view></text> \n</button>", "script": "export default {\n name: 'GalaxyUglyHorse68',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by AKAspidey01 - Tags: button, arrow */\n.button {\n display: flex;\n align-items: center;\n gap: 20rpx;\n padding: 24rpx 30rpx;\n border-radius: 20rpx;\n border: none;\n overflow: hidden;\n background: rgb(164, 46, 194);\n color: #fff;\n}\n\n.button-text {\n transform: translateX(30rpx);\n font-size: 1.5em;\n font-weight: 700;\n transition-duration: 0.3s;\n}\n\n.iconer {\n transform: translateY(70rpx);\n transition-duration: 0.3s;\n}\n\n.button:hover .button-text {\n transform: translateX(0rpx);\n}\n\n.button:hover .iconer {\n transform: translateY(0rpx);\n}\n\n\n\n", "component_name": "GalaxyUglyHorse68" }, "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": 918, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:32.515Z", "updated_at": "2025-07-31T07:55:32.515Z" }