UNPKG

galaxy-uniapp-mcp-server

Version:

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

114 lines 7.01 kB
{ "id": "andrew-demchenk0_splendid-impala-69", "name": "splendid-impala-69", "category": "buttons", "author": "andrew-demchenk0", "description": "splendid-impala-69 组件 (red, button, delete, animation, interactive)", "tags": [ "red", "button", "delete", "animation", "interactive" ], "original": { "html": "<button class=\"button\" type=\"button\">\n <span class=\"button__text\">Delete</span>\n <span class=\"button__icon\"><svg class=\"svg\" height=\"512\" viewBox=\"0 0 512 512\" width=\"512\" xmlns=\"http://www.w3.org/2000/svg\"><title></title><path d=\"M112,112l20,320c.95,18.49,14.4,32,32,32H348c17.67,0,30.87-13.51,32-32l20-320\" style=\"fill:none;stroke:#fff;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px\"></path><line style=\"stroke:#fff;stroke-linecap:round;stroke-miterlimit:10;stroke-width:32px\" x1=\"80\" x2=\"432\" y1=\"112\" y2=\"112\"></line><path d=\"M192,112V72h0a23.93,23.93,0,0,1,24-24h80a23.93,23.93,0,0,1,24,24h0v40\" style=\"fill:none;stroke:#fff;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px\"></path><line style=\"fill:none;stroke:#fff;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px\" x1=\"256\" x2=\"256\" y1=\"176\" y2=\"400\"></line><line style=\"fill:none;stroke:#fff;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px\" x1=\"184\" x2=\"192\" y1=\"176\" y2=\"400\"></line><line style=\"fill:none;stroke:#fff;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px\" x1=\"328\" x2=\"320\" y1=\"176\" y2=\"400\"></line></svg></span>\n</button>", "css": "/* From Uiverse.io by andrew-demchenk0 - Tags: red, button, delete */\n.button {\n position: relative;\n width: 150px;\n height: 40px;\n cursor: pointer;\n display: flex;\n align-items: center;\n border: 1px solid #cc0000;\n background-color: #e50000;\n overflow: hidden;\n}\n\n.button, .button__icon, .button__text {\n transition: all 0.3s;\n}\n\n.button .button__text {\n transform: translateX(35px);\n color: #fff;\n font-weight: 600;\n}\n\n.button .button__icon {\n position: absolute;\n transform: translateX(109px);\n height: 100%;\n width: 39px;\n background-color: #cc0000;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.button .svg {\n width: 20px;\n}\n\n.button:hover {\n background: #cc0000;\n}\n\n.button:hover .button__text {\n color: transparent;\n}\n\n.button:hover .button__icon {\n width: 148px;\n transform: translateX(0);\n}\n\n.button:active .button__icon {\n background-color: #b20000;\n}\n\n.button:active {\n border: 1px solid #b20000;\n}", "file_path": "/mnt/persist/workspace/Buttons/andrew-demchenk0_splendid-impala-69.html" }, "uniapp": { "template": "<button class=\"button\" type=\"button\"></button>\n <text class=\"button__text\">Delete</text>\n <text class=\"button__icon\"><view class=\"svg\" height=\"512\" viewBox=\"0 0 512 512\" width=\"512\" xmlns=\"http://www.w3.org/2000/svg\"><title></title><path d=\"M112,112l20,320c.95,18.49,14.4,32,32,32H348c17.67,0,30.87-13.51,32-32l20-320\" style=\"fill:none;stroke:#fff;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px\"></path><line style=\"stroke:#fff;stroke-linecap:round;stroke-miterlimit:10;stroke-width:32px\" x1=\"80\" x2=\"432\" y1=\"112\" y2=\"112\"></line><path d=\"M192,112V72h0a23.93,23.93,0,0,1,24-24h80a23.93,23.93,0,0,1,24,24h0v40\" style=\"fill:none;stroke:#fff;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px\"></path><line style=\"fill:none;stroke:#fff;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px\" x1=\"256\" x2=\"256\" y1=\"176\" y2=\"400\"></line><line style=\"fill:none;stroke:#fff;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px\" x1=\"184\" x2=\"192\" y1=\"176\" y2=\"400\"></line><line style=\"fill:none;stroke:#fff;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px\" x1=\"328\" x2=\"320\" y1=\"176\" y2=\"400\"></line></view></text>\n</button>", "script": "export default {\n name: 'GalaxySplendidImpala69',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by andrew-demchenk0 - Tags: red, button, delete */\n.button {\n position: relative;\n width: 300rpx;\n height: 80rpx;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n display: flex;\n align-items: center;\n border: 2rpx solid #cc0000;\n background-color: #e50000;\n overflow: hidden;\n}\n\n.button, .button__icon, .button__text {\n transition: all 0.3s;\n}\n\n.button .button__text {\n transform: translateX(70rpx);\n color: #fff;\n font-weight: 600;\n}\n\n.button .button__icon {\n position: absolute;\n transform: translateX(218rpx);\n height: 100%;\n width: 78rpx;\n background-color: #cc0000;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.button .svg {\n width: 40rpx;\n}\n\n.button:hover {\n background: #cc0000;\n}\n\n.button:hover .button__text {\n color: transparent;\n}\n\n.button:hover .button__icon {\n width: 296rpx;\n transform: translateX(0);\n}\n\n.button:active .button__icon {\n background-color: #b20000;\n}\n\n.button:active {\n border: 2rpx solid #b20000;\n}\n", "component_name": "GalaxySplendidImpala69" }, "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": [ "不支持 cursor 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 cursor 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 2121, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:35.705Z", "updated_at": "2025-07-31T07:55:35.705Z" }