UNPKG

galaxy-uniapp-mcp-server

Version:

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

118 lines 9.83 kB
{ "id": "vinodjangid07_evil-chicken-13", "name": "evil-chicken-13", "category": "buttons", "author": "vinodjangid07", "description": "evil-chicken-13 组件 (icon, animation, button, hover, hover effect, file, documents, folder, interactive)", "tags": [ "icon", "animation", "button", "hover", "hover effect", "file", "documents", "folder", "interactive" ], "original": { "html": "<button class=\"Documents-btn\">\n <span class=\"folderContainer\">\n <svg class=\"fileBack\" width=\"146\" height=\"113\" viewBox=\"0 0 146 113\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M0 4C0 1.79086 1.79086 0 4 0H50.3802C51.8285 0 53.2056 0.627965 54.1553 1.72142L64.3303 13.4371C65.2799 14.5306 66.657 15.1585 68.1053 15.1585H141.509C143.718 15.1585 145.509 16.9494 145.509 19.1585V109C145.509 111.209 143.718 113 141.509 113H3.99999C1.79085 113 0 111.209 0 109V4Z\" fill=\"url(#paint0_linear_117_4)\"></path>\n <defs>\n <linearGradient id=\"paint0_linear_117_4\" x1=\"0\" y1=\"0\" x2=\"72.93\" y2=\"95.4804\" gradientUnits=\"userSpaceOnUse\">\n <stop stop-color=\"#8F88C2\"></stop>\n <stop offset=\"1\" stop-color=\"#5C52A2\"></stop>\n </linearGradient>\n </defs>\n </svg>\n <svg class=\"filePage\" width=\"88\" height=\"99\" viewBox=\"0 0 88 99\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <rect width=\"88\" height=\"99\" fill=\"url(#paint0_linear_117_6)\"></rect>\n <defs>\n <linearGradient id=\"paint0_linear_117_6\" x1=\"0\" y1=\"0\" x2=\"81\" y2=\"160.5\" gradientUnits=\"userSpaceOnUse\">\n <stop stop-color=\"white\"></stop>\n <stop offset=\"1\" stop-color=\"#686868\"></stop>\n </linearGradient>\n </defs>\n </svg>\n\n <svg class=\"fileFront\" width=\"160\" height=\"79\" viewBox=\"0 0 160 79\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M0.29306 12.2478C0.133905 9.38186 2.41499 6.97059 5.28537 6.97059H30.419H58.1902C59.5751 6.97059 60.9288 6.55982 62.0802 5.79025L68.977 1.18034C70.1283 0.410771 71.482 0 72.8669 0H77H155.462C157.87 0 159.733 2.1129 159.43 4.50232L150.443 75.5023C150.19 77.5013 148.489 79 146.474 79H7.78403C5.66106 79 3.9079 77.3415 3.79019 75.2218L0.29306 12.2478Z\" fill=\"url(#paint0_linear_117_5)\"></path>\n <defs>\n <linearGradient id=\"paint0_linear_117_5\" x1=\"38.7619\" y1=\"8.71323\" x2=\"66.9106\" y2=\"82.8317\" gradientUnits=\"userSpaceOnUse\">\n <stop stop-color=\"#C3BBFF\"></stop>\n <stop offset=\"1\" stop-color=\"#51469A\"></stop>\n </linearGradient>\n </defs>\n </svg>\n </span>\n <p class=\"text\">Documents</p>\n</button>", "css": "/* From Uiverse.io by vinodjangid07 - Tags: icon, animation, button, hover, hover effect, file, documents, folder */\n.Documents-btn {\n display: flex;\n align-items: center;\n justify-content: flex-start;\n width: fit-content;\n height: 45px;\n border: none;\n padding: 0px 15px;\n border-radius: 5px;\n background-color: rgb(49, 49, 83);\n gap: 10px;\n cursor: pointer;\n transition: all 0.3s;\n}\n.folderContainer {\n width: 40px;\n height: fit-content;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: flex-end;\n position: relative;\n}\n.fileBack {\n z-index: 1;\n width: 80%;\n height: auto;\n}\n.filePage {\n width: 50%;\n height: auto;\n position: absolute;\n z-index: 2;\n transition: all 0.3s ease-out;\n}\n.fileFront {\n width: 85%;\n height: auto;\n position: absolute;\n z-index: 3;\n opacity: 0.95;\n transform-origin: bottom;\n transition: all 0.3s ease-out;\n}\n.text {\n color: white;\n font-size: 14px;\n font-weight: 600;\n letter-spacing: 0.5px;\n}\n.Documents-btn:hover .filePage {\n transform: translateY(-5px);\n}\n.Documents-btn:hover {\n background-color: rgb(58, 58, 94);\n}\n.Documents-btn:active {\n transform: scale(0.95);\n}\n.Documents-btn:hover .fileFront {\n transform: rotateX(30deg);\n}", "file_path": "/mnt/persist/workspace/Buttons/vinodjangid07_evil-chicken-13.html" }, "uniapp": { "template": "<button class=\"Documents-btn\"></button>\n <text class=\"folderContainer\"></text>\n <view class=\"fileBack\" width=\"146\" height=\"113\" viewBox=\"0 0 146 113\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"></view>\n <path d=\"M0 4C0 1.79086 1.79086 0 4 0H50.3802C51.8285 0 53.2056 0.627965 54.1553 1.72142L64.3303 13.4371C65.2799 14.5306 66.657 15.1585 68.1053 15.1585H141.509C143.718 15.1585 145.509 16.9494 145.509 19.1585V109C145.509 111.209 143.718 113 141.509 113H3.99999C1.79085 113 0 111.209 0 109V4Z\" fill=\"url(#paint0_linear_117_4)\"></path>\n <defs>\n <linearGradient id=\"paint0_linear_117_4\" x1=\"0\" y1=\"0\" x2=\"72.93\" y2=\"95.4804\" gradientUnits=\"userSpaceOnUse\">\n <stop stop-color=\"#8F88C2\"></stop>\n <stop offset=\"1\" stop-color=\"#5C52A2\"></stop>\n </linearGradient>\n </defs>\n </svg>\n <view class=\"filePage\" width=\"88\" height=\"99\" viewBox=\"0 0 88 99\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"></view>\n <rect width=\"88\" height=\"99\" fill=\"url(#paint0_linear_117_6)\"></rect>\n <defs>\n <linearGradient id=\"paint0_linear_117_6\" x1=\"0\" y1=\"0\" x2=\"81\" y2=\"160.5\" gradientUnits=\"userSpaceOnUse\">\n <stop stop-color=\"white\"></stop>\n <stop offset=\"1\" stop-color=\"#686868\"></stop>\n </linearGradient>\n </defs>\n </svg>\n\n <view class=\"fileFront\" width=\"160\" height=\"79\" viewBox=\"0 0 160 79\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"></view>\n <path d=\"M0.29306 12.2478C0.133905 9.38186 2.41499 6.97059 5.28537 6.97059H30.419H58.1902C59.5751 6.97059 60.9288 6.55982 62.0802 5.79025L68.977 1.18034C70.1283 0.410771 71.482 0 72.8669 0H77H155.462C157.87 0 159.733 2.1129 159.43 4.50232L150.443 75.5023C150.19 77.5013 148.489 79 146.474 79H7.78403C5.66106 79 3.9079 77.3415 3.79019 75.2218L0.29306 12.2478Z\" fill=\"url(#paint0_linear_117_5)\"></path>\n <defs>\n <linearGradient id=\"paint0_linear_117_5\" x1=\"38.7619\" y1=\"8.71323\" x2=\"66.9106\" y2=\"82.8317\" gradientUnits=\"userSpaceOnUse\">\n <stop stop-color=\"#C3BBFF\"></stop>\n <stop offset=\"1\" stop-color=\"#51469A\"></stop>\n </linearGradient>\n </defs>\n </svg>\n </span>\n <text class=\"text\">Documents</text>\n</button>", "script": "export default {\n name: 'GalaxyEvilChicken13',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by vinodjangid07 - Tags: icon, animation, button, hover, hover effect, file, documents, folder */\n.Documents-btn {\n display: flex;\n align-items: center;\n justify-content: flex-start;\n width: fit-content;\n height: 90rpx;\n border: none;\n padding: 0rpx 30rpx;\n border-radius: 10rpx;\n background-color: rgb(49, 49, 83);\n gap: 20rpx;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n transition: all 0.3s;\n}\n.folderContainer {\n width: 80rpx;\n height: fit-content;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: flex-end;\n position: relative;\n}\n.fileBack {\n z-index: 1;\n width: 80%;\n height: auto;\n}\n.filePage {\n width: 50%;\n height: auto;\n position: absolute;\n z-index: 2;\n transition: all 0.3s ease-out;\n}\n.fileFront {\n width: 85%;\n height: auto;\n position: absolute;\n z-index: 3;\n opacity: 0.95;\n transform-origin: bottom;\n transition: all 0.3s ease-out;\n}\n.text {\n color: white;\n font-size: 28rpx;\n font-weight: 600;\n letter-spacing: 1rpx;\n}\n.Documents-btn:hover .filePage {\n transform: translateY(-10rpx);\n}\n.Documents-btn:hover {\n background-color: rgb(58, 58, 94);\n}\n.Documents-btn:active {\n transform: scale(0.95);\n}\n.Documents-btn:hover .fileFront {\n transform: rotateX(30deg);\n}\n\n", "component_name": "GalaxyEvilChicken13" }, "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": 3403, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:38.111Z", "updated_at": "2025-07-31T07:55:38.111Z" }