UNPKG

galaxy-uniapp-mcp-server

Version:

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

117 lines 5.97 kB
{ "id": "vinodjangid07_quiet-turkey-100", "name": "quiet-turkey-100", "category": "buttons", "author": "vinodjangid07", "description": "quiet-turkey-100 组件 (button, share, hover effect, animation, gradient, interactive)", "tags": [ "button", "share", "hover effect", "animation", "gradient", "interactive" ], "original": { "html": "<button class=\"Btn\">\n <span class=\"svgContainer\">\n <svg viewBox=\"0 0 448 512\"><path d=\"M352 224c53 0 96-43 96-96s-43-96-96-96s-96 43-96 96c0 4 .2 8 .7 11.9l-94.1 47C145.4 170.2 121.9 160 96 160c-53 0-96 43-96 96s43 96 96 96c25.9 0 49.4-10.2 66.6-26.9l94.1 47c-.5 3.9-.7 7.8-.7 11.9c0 53 43 96 96 96s96-43 96-96s-43-96-96-96c-25.9 0-49.4 10.2-66.6 26.9l-94.1-47c.5-3.9 .7-7.8 .7-11.9s-.2-8-.7-11.9l94.1-47C302.6 213.8 326.1 224 352 224z\"></path></svg>\n </span>\n <span class=\"textContainer\">Share</span>\n</button>", "css": "/* From Uiverse.io by vinodjangid07 - Tags: button, share, hover effect */\n.Btn {\n width: 145px;\n height: 45px;\n background: linear-gradient(-45deg, #6bc5f8, #cf59e6, #6bc5f8, #cf59e6);\n border: none;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n box-shadow: 5px 5px 0px #4dc6d93d;\n background-size: 400% 400%;\n}\n\n.svgContainer {\n width: 45px;\n height: 100%;\n background-color: rgba(255, 255, 255, 0.2);\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.svgContainer svg {\n width: 16px;\n}\n\n.svgContainer svg path {\n fill: white;\n}\n\n.textContainer {\n width: 100px;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n color: white;\n font-weight: 600;\n}\n\n.Btn:hover {\n animation: gradient 5s ease infinite;\n}\n/* Button's gradient animation */\n@keyframes gradient {\n 0% {\n background-position: 0 50%;\n }\n\n 50% {\n background-position: 100% 50%;\n }\n\n 100% {\n background-position: 0 50%;\n }\n}", "file_path": "/mnt/persist/workspace/Buttons/vinodjangid07_quiet-turkey-100.html" }, "uniapp": { "template": "<button class=\"Btn\"></button>\n <text class=\"svgContainer\"></text>\n <view viewBox=\"0 0 448 512\"><path d=\"M352 224c53 0 96-43 96-96s-43-96-96-96s-96 43-96 96c0 4 .2 8 .7 11.9l-94.1 47C145.4 170.2 121.9 160 96 160c-53 0-96 43-96 96s43 96 96 96c25.9 0 49.4-10.2 66.6-26.9l94.1 47c-.5 3.9-.7 7.8-.7 11.9c0 53 43 96 96 96s96-43 96-96s-43-96-96-96c-25.9 0-49.4 10.2-66.6 26.9l-94.1-47c.5-3.9 .7-7.8 .7-11.9s-.2-8-.7-11.9l94.1-47C302.6 213.8 326.1 224 352 224z\"></path></view>\n </span>\n <text class=\"textContainer\">Share</text>\n</button>", "script": "export default {\n name: 'GalaxyQuietTurkey100',\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: button, share, hover effect */\n.Btn {\n width: 290rpx;\n height: 90rpx;\n background: linear-gradient(-45deg, #6bc5f8, #cf59e6, #6bc5f8, #cf59e6);\n border: none;\n display: flex;\n align-items: center;\n justify-content: center;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 10rpx 10rpx 0rpx #4dc6d93d;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n background-size: 400% 400%;\n}\n\n.svgContainer {\n width: 90rpx;\n height: 100%;\n background-color: rgba(255, 255, 255, 0.2);\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.svgContainer svg {\n width: 32rpx;\n}\n\n.svgContainer svg path {\n fill: white;\n}\n\n.textContainer {\n width: 200rpx;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n color: white;\n font-weight: 600;\n}\n\n.Btn:hover {\n animation: gradient 5s ease infinite;\n}\n/* Button's gradient animation */\n@keyframes gradient {\n 0% {\n background-position: 0 50%;\n }\n\n 50% {\n background-position: 100% 50%;\n }\n\n 100% {\n background-position: 0 50%;\n }\n}\n", "component_name": "GalaxyQuietTurkey100" }, "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": 1530, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:38.228Z", "updated_at": "2025-07-31T07:55:38.228Z" }