UNPKG

galaxy-uniapp-mcp-server

Version:

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

116 lines 6.11 kB
{ "id": "vinodjangid07_curvy-lionfish-94", "name": "curvy-lionfish-94", "category": "buttons", "author": "vinodjangid07", "description": "curvy-lionfish-94 组件 (purple, button, edit, animation, interactive)", "tags": [ "purple", "button", "edit", "animation", "interactive" ], "original": { "html": "<button class=\"Btn\">Edit \n <svg class=\"svg\" viewBox=\"0 0 512 512\">\n <path d=\"M410.3 231l11.3-11.3-33.9-33.9-62.1-62.1L291.7 89.8l-11.3 11.3-22.6 22.6L58.6 322.9c-10.4 10.4-18 23.3-22.2 37.4L1 480.7c-2.5 8.4-.2 17.5 6.1 23.7s15.3 8.5 23.7 6.1l120.3-35.4c14.1-4.2 27-11.8 37.4-22.2L387.7 253.7 410.3 231zM160 399.4l-9.1 22.7c-4 3.1-8.5 5.4-13.3 6.9L59.4 452l23-78.1c1.4-4.9 3.8-9.4 6.9-13.3l22.7-9.1v32c0 8.8 7.2 16 16 16h32zM362.7 18.7L348.3 33.2 325.7 55.8 314.3 67.1l33.9 33.9 62.1 62.1 33.9 33.9 11.3-11.3 22.6-22.6 14.5-14.5c25-25 25-65.5 0-90.5L453.3 18.7c-25-25-65.5-25-90.5 0zm-47.4 168l-144 144c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6l144-144c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6z\"></path></svg>\n </button>", "css": "/* From Uiverse.io by vinodjangid07 - Tags: purple, button, edit */\n.Btn {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: flex-start;\n width: 100px;\n height: 40px;\n border: none;\n padding: 0px 20px;\n background-color: rgb(168, 38, 255);\n color: white;\n font-weight: 500;\n cursor: pointer;\n border-radius: 10px;\n box-shadow: 5px 5px 0px rgb(140, 32, 212);\n transition-duration: .3s;\n}\n\n.svg {\n width: 13px;\n position: absolute;\n right: 0;\n margin-right: 20px;\n fill: white;\n transition-duration: .3s;\n}\n\n.Btn:hover {\n color: transparent;\n}\n\n.Btn:hover svg {\n right: 43%;\n margin: 0;\n padding: 0;\n border: none;\n transition-duration: .3s;\n}\n\n.Btn:active {\n transform: translate(3px , 3px);\n transition-duration: .3s;\n box-shadow: 2px 2px 0px rgb(140, 32, 212);\n}", "file_path": "/mnt/persist/workspace/Buttons/vinodjangid07_curvy-lionfish-94.html" }, "uniapp": { "template": "<button class=\"Btn\"></button>Edit \n <view class=\"svg\" viewBox=\"0 0 512 512\"></view>\n <path d=\"M410.3 231l11.3-11.3-33.9-33.9-62.1-62.1L291.7 89.8l-11.3 11.3-22.6 22.6L58.6 322.9c-10.4 10.4-18 23.3-22.2 37.4L1 480.7c-2.5 8.4-.2 17.5 6.1 23.7s15.3 8.5 23.7 6.1l120.3-35.4c14.1-4.2 27-11.8 37.4-22.2L387.7 253.7 410.3 231zM160 399.4l-9.1 22.7c-4 3.1-8.5 5.4-13.3 6.9L59.4 452l23-78.1c1.4-4.9 3.8-9.4 6.9-13.3l22.7-9.1v32c0 8.8 7.2 16 16 16h32zM362.7 18.7L348.3 33.2 325.7 55.8 314.3 67.1l33.9 33.9 62.1 62.1 33.9 33.9 11.3-11.3 22.6-22.6 14.5-14.5c25-25 25-65.5 0-90.5L453.3 18.7c-25-25-65.5-25-90.5 0zm-47.4 168l-144 144c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6l144-144c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6z\"></path></svg>\n </button>", "script": "export default {\n name: 'GalaxyCurvyLionfish94',\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: purple, button, edit */\n.Btn {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: flex-start;\n width: 200rpx;\n height: 80rpx;\n border: none;\n padding: 0rpx 40rpx;\n background-color: rgb(168, 38, 255);\n color: white;\n font-weight: 500;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n border-radius: 20rpx;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 10rpx 10rpx 0rpx rgb(140, 32, 212);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transition-duration: .3s;\n}\n\n.svg {\n width: 26rpx;\n position: absolute;\n right: 0;\n margin-right: 40rpx;\n fill: white;\n transition-duration: .3s;\n}\n\n.Btn:hover {\n color: transparent;\n}\n\n.Btn:hover svg {\n right: 43%;\n margin: 0;\n padding: 0;\n border: none;\n transition-duration: .3s;\n}\n\n.Btn:active {\n transform: translate(6rpx , 6rpx);\n transition-duration: .3s;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 4rpx 4rpx 0rpx rgb(140, 32, 212);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n", "component_name": "GalaxyCurvyLionfish94" }, "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": [ "不支持 box-shadow 属性", "不支持 cursor 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 box-shadow 属性", "不支持 cursor 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 1559, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:38.094Z", "updated_at": "2025-07-31T07:55:38.094Z" }