UNPKG

galaxy-uniapp-mcp-server

Version:

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

116 lines 5.35 kB
{ "id": "Wendell47_gentle-cheetah-21", "name": "gentle-cheetah-21", "category": "buttons", "author": "Wendell47", "description": "gentle-cheetah-21 组件 (button, blur filter, animation, gradient, interactive)", "tags": [ "button", "blur filter", "animation", "gradient", "interactive" ], "original": { "html": "<button class=\"button\">\nGet in touch\n<div class=\"hoverEffect\">\n<div>\n</div>\n</div></button>", "css": "/* From Uiverse.io by Wendell47 - Tags: button, blur filter */\n.button {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n padding: 15px 30px;\n border: 0;\n position: relative;\n overflow: hidden;\n border-radius: 10rem;\n transition: all 0.02s;\n font-weight: bold;\n color: rgb(37, 37, 37);\n z-index: 0;\n box-shadow: 0 0px 7px -5px rgba(0, 0, 0, 0.5);\n}\n\n.button:hover {\n background: rgb(193, 228, 248);\n color: rgb(33, 0, 85);\n}\n\n.button:active {\n transform: scale(0.97);\n}\n\n.hoverEffect {\n position: absolute;\n bottom: 0;\n top: 0;\n left: 0;\n right: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 1;\n}\n\n.hoverEffect div {\n background: rgb(222,0,75);\n background: linear-gradient(90deg, rgba(222,0,75,1) 0%, rgba(191,70,255,1) 49%, rgba(0,212,255,1) 100%);\n border-radius: 40rem;\n width: 10rem;\n height: 10rem;\n transition: 0.4s;\n filter: blur(20px);\n animation: effect infinite 3s linear;\n opacity: 0.5;\n}\n\n.button:hover .hoverEffect div {\n width: 8rem;\n height: 8rem;\n}\n\n@keyframes effect {\n\n 0% {\n transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n}", "file_path": "/mnt/persist/workspace/Buttons/Wendell47_gentle-cheetah-21.html" }, "uniapp": { "template": "<button class=\"button\"></button>\nGet in touch\n<view class=\"hoverEffect\"></view>\n<view></view>\n</div>\n</div></button>", "script": "export default {\n name: 'GalaxyGentleCheetah21',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by Wendell47 - Tags: button, blur filter */\n.button {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n padding: 30rpx 60rpx;\n border: 0;\n position: relative;\n overflow: hidden;\n border-radius: 10rem;\n transition: all 0.02s;\n font-weight: bold;\n color: rgb(37, 37, 37);\n z-index: 0;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0rpx 14rpx -10rpx rgba(0, 0, 0, 0.5);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.button:hover {\n background: rgb(193, 228, 248);\n color: rgb(33, 0, 85);\n}\n\n.button:active {\n transform: scale(0.97);\n}\n\n.hoverEffect {\n position: absolute;\n bottom: 0;\n top: 0;\n left: 0;\n right: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 1;\n}\n\n.hoverEffect div {\n background: rgb(222,0,75);\n background: linear-gradient(90deg, rgba(222,0,75,1) 0%, rgba(191,70,255,1) 49%, rgba(0,212,255,1) 100%);\n border-radius: 40rem;\n width: 10rem;\n height: 10rem;\n transition: 0.4s;\n \n animation: effect infinite 3s linear;\n opacity: 0.5;\n}\n\n.button:hover .hoverEffect div {\n width: 8rem;\n height: 8rem;\n}\n\n@keyframes effect {\n\n 0% {\n transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n}\n", "component_name": "GalaxyGentleCheetah21" }, "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 属性", "不支持 filter 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 box-shadow 属性", "不支持 filter 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 1259, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:35.139Z", "updated_at": "2025-07-31T07:55:35.139Z" }