UNPKG

galaxy-uniapp-mcp-server

Version:

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

121 lines 5.04 kB
{ "id": "Deri-Kurniawan_helpless-insect-19", "name": "helpless-insect-19", "category": "buttons", "author": "Deri-Kurniawan", "description": "helpless-insect-19 组件 (button, hover, click, slide, hover effect, hover button, button hover effect, animation, gradient, interactive)", "tags": [ "button", "hover", "click", "slide", "hover effect", "hover button", "button hover effect", "animation", "gradient", "interactive" ], "original": { "html": "<button class=\"button\">\n hover me!\n</button>", "css": "/* From Uiverse.io by Deri-Kurniawan - Tags: button, hover, click, slide, hover effect, hover button, button hover effect */\n.button {\n position: relative;\n padding: 12px 32px;\n font-size: 16px;\n font-weight: 700;\n text-transform: uppercase;\n color: #000;\n background-color: #fff;\n border: none;\n border-radius: 50px;\n overflow: hidden;\n z-index: 1;\n transition: all 0.3s ease-in-out;\n box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);\n cursor: pointer;\n}\n\n.button:hover {\n transform: scale(1.05);\n color: #fff;\n box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);\n}\n\n.button:active {\n transform: scale(0.9);\n}\n\n.button::before {\n content: \"\";\n position: absolute;\n top: 0;\n left: -100%;\n width: 100%;\n height: 100%;\n background: linear-gradient(to right, #007bff, #00bfff);\n transition: all 0.4s ease-in-out;\n z-index: -1;\n border-radius: 50px;\n}\n\n.button:hover::before {\n left: 0;\n}", "file_path": "/mnt/persist/workspace/Buttons/Deri-Kurniawan_helpless-insect-19.html" }, "uniapp": { "template": "<button class=\"button\"></button>\n hover me!\n</button>", "script": "export default {\n name: 'GalaxyHelplessInsect19',\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: button, hover, click, slide, hover effect, hover button, button hover effect */\n.button {\n position: relative;\n padding: 24rpx 64rpx;\n font-size: 32rpx;\n font-weight: 700;\n text-transform: uppercase;\n color: #000;\n background-color: #fff;\n border: none;\n border-radius: 100rpx;\n overflow: hidden;\n z-index: 1;\n transition: all 0.3s ease-in-out;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 12rpx 20rpx rgba(0, 0, 0, 0.1);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n}\n\n.button:hover {\n transform: scale(1.05);\n color: #fff;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 20rpx 40rpx rgba(0, 0, 0, 0.2);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.button:active {\n transform: scale(0.9);\n}\n\n.button::before {\n content: \"\";\n position: absolute;\n top: 0;\n left: -100%;\n width: 100%;\n height: 100%;\n background: linear-gradient(to right, #007bff, #00bfff);\n transition: all 0.4s ease-in-out;\n z-index: -1;\n border-radius: 100rpx;\n}\n\n.button:hover::before {\n left: 0;\n}\n", "component_name": "GalaxyHelplessInsect19" }, "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": 949, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:33.103Z", "updated_at": "2025-07-31T07:55:33.103Z" }