UNPKG

galaxy-uniapp-mcp-server

Version:

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

120 lines 5.13 kB
{ "id": "Deri-Kurniawan_moody-cat-79", "name": "moody-cat-79", "category": "buttons", "author": "Deri-Kurniawan", "description": "moody-cat-79 组件 (blue, button, hover, smooth, hover effect, hoverme, hover button, button hover effect, animation, gradient, interactive)", "tags": [ "blue", "button", "hover", "smooth", "hover effect", "hoverme", "hover button", "button hover effect", "animation", "gradient", "interactive" ], "original": { "html": "<button class=\"button\">\n <span class=\"button-content\">Wavy Button</span>\n</button>", "css": "/* From Uiverse.io by Deri-Kurniawan - Tags: blue, button, hover, smooth, hover effect, hoverme, hover button, button hover effect */\n.button {\n position: relative;\n display: inline-block;\n padding: 16px 32px;\n border-radius: 14px;\n overflow: hidden;\n z-index: 1;\n border: 1px solid rgb(221, 218, 218);\n background: white;\n font-weight: bold;\n font-size: 16px;\n color: #1993e4;\n transition: all 1.2s linear;\n cursor: pointer;\n}\n\n.button::after {\n content: \"\";\n position: absolute;\n background: linear-gradient(to right, #1993e4, #1993e456);\n border-radius: 30%;\n height: 96px;\n width: 96px;\n animation: spin infinite linear 1.8s;\n animation-delay: 0;\n bottom: -38px;\n right: -112px;\n transition: all 1.2s linear;\n z-index: 0;\n}\n\n.button:hover {\n color: #fff;\n transition-duration: 1.2s;\n}\n\n.button:hover::after {\n right: -60px;\n bottom: -92px;\n width: 256px;\n height: 256px;\n}\n\n.button > .button-content {\n position: relative;\n z-index: 2;\n}\n\n@keyframes spin {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}", "file_path": "/mnt/persist/workspace/Buttons/Deri-Kurniawan_moody-cat-79.html" }, "uniapp": { "template": "<button class=\"button\"></button>\n <text class=\"button-content\">Wavy Button</text>\n</button>", "script": "export default {\n name: 'GalaxyMoodyCat79',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by Deri-Kurniawan - Tags: blue, button, hover, smooth, hover effect, hoverme, hover button, button hover effect */\n.button {\n position: relative;\n display: inline-block;\n padding: 32rpx 64rpx;\n border-radius: 28rpx;\n overflow: hidden;\n z-index: 1;\n border: 2rpx solid rgb(221, 218, 218);\n background: white;\n font-weight: bold;\n font-size: 32rpx;\n color: #1993e4;\n transition: all 1.2s linear;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n}\n\n.button::after {\n content: \"\";\n position: absolute;\n background: linear-gradient(to right, #1993e4, #1993e456);\n border-radius: 30%;\n height: 192rpx;\n width: 192rpx;\n animation: spin infinite linear 1.8s;\n animation-delay: 0;\n bottom: -76rpx;\n right: -224rpx;\n transition: all 1.2s linear;\n z-index: 0;\n}\n\n.button:hover {\n color: #fff;\n transition-duration: 1.2s;\n}\n\n.button:hover::after {\n right: -120rpx;\n bottom: -184rpx;\n width: 512rpx;\n height: 512rpx;\n}\n\n.button > .button-content {\n position: relative;\n z-index: 2;\n}\n\n@keyframes spin {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n\n", "component_name": "GalaxyMoodyCat79" }, "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": 1174, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:33.118Z", "updated_at": "2025-07-31T07:55:33.118Z" }