UNPKG

galaxy-uniapp-mcp-server

Version:

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

114 lines 4.64 kB
{ "id": "DeepanshuKant_dry-rattlesnake-75", "name": "dry-rattlesnake-75", "category": "buttons", "author": "DeepanshuKant", "description": "dry-rattlesnake-75 组件 (button, animation, interactive)", "tags": [ "button", "animation", "interactive" ], "original": { "html": "<button class=\"btn\">\n Button\n</button>", "css": "/* From Uiverse.io by DeepanshuKant - Tags: button */\n.btn {\n position: relative;\n padding: 1rem 2.5rem;\n color: #ffd739;\n font-size: 1em;\n background-color: #27045b;\n outline: none;\n border: none;\n font-weight: bold;\n border-radius: 5px;\n font-family: Verdana, Geneva, Tahoma, sans-serif;\n transition-property: all;\n transition-duration: 0.3s;\n cursor: pointer;\n}\n\n.btn:hover {\n background-color: #6807f9;\n box-shadow: 0px 14px 56px -11px #6807f9;\n}\n\n.btn::before {\n content: \"\";\n position: absolute;\n height: 5px;\n width: 5px;\n background-color: white;\n border-radius: 100px;\n right: 2rem;\n bottom: 37%;\n animation: 0.5s both ease-in-out infinite;\n}\n\n.btn:hover::before {\n animation-name: bounce_591;\n transition: all 0.3s ease;\n}\n\n@keyframes bounce_591 {\n 0% {\n bottom: 37%;\n }\n\n 50% {\n bottom: 70%;\n }\n\n 100% {\n bottom: 37%;\n }\n}", "file_path": "/mnt/persist/workspace/Buttons/DeepanshuKant_dry-rattlesnake-75.html" }, "uniapp": { "template": "<button class=\"btn\"></button>\n Button\n</button>", "script": "export default {\n name: 'GalaxyDryRattlesnake75',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by DeepanshuKant - Tags: button */\n.btn {\n position: relative;\n padding: 1rem 2.5rem;\n color: #ffd739;\n font-size: 1em;\n background-color: #27045b;\n outline: none;\n border: none;\n font-weight: bold;\n border-radius: 10rpx;\n font-family: Verdana, Geneva, Tahoma, sans-serif;\n transition-property: all;\n transition-duration: 0.3s;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n}\n\n.btn:hover {\n background-color: #6807f9;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0rpx 28rpx 112rpx -22rpx #6807f9;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.btn::before {\n content: \"\";\n position: absolute;\n height: 10rpx;\n width: 10rpx;\n background-color: white;\n border-radius: 200rpx;\n right: 2rem;\n bottom: 37%;\n animation: 0.5s both ease-in-out infinite;\n}\n\n.btn:hover::before {\n animation-name: bounce_591;\n transition: all 0.3s ease;\n}\n\n@keyframes bounce_591 {\n 0% {\n bottom: 37%;\n }\n\n 50% {\n bottom: 70%;\n }\n\n 100% {\n bottom: 37%;\n }\n}\n", "component_name": "GalaxyDryRattlesnake75" }, "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": 918, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:33.099Z", "updated_at": "2025-07-31T07:55:33.099Z" }