UNPKG

galaxy-uniapp-mcp-server

Version:

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

117 lines 4.26 kB
{ "id": "Mike11jr_white-emu-65", "name": "white-emu-65", "category": "buttons", "author": "Mike11jr", "description": "white-emu-65 组件 (button, animation, gradient, interactive)", "tags": [ "button", "animation", "gradient", "interactive" ], "original": { "html": "<button class=\"btn\"> Hover Me!\n</button>", "css": "/* From Uiverse.io by Mike11jr - Tags: button */\n.btn {\n padding: 0.9em 1.9em;\n font-size: 16px;\n border: none;\n background: #6285f8;\n color: white;\n cursor: pointer;\n position: relative;\n z-index: 1;\n}\n\n.btn:hover {\n color: rgb(255, 255, 255);\n}\n\n.btn::before,.btn::after {\n content: \"\";\n position: absolute;\n top: 0%;\n left: 0%;\n width: 100%;\n height: 100%;\n background: rgba(128, 128, 128, 0.096);\n backdrop-filter: blur(10px);\n z-index: -1;\n transition: all 0.4s;\n}\n\n.btn::after {\n z-index: -2;\n transition: all 0.4s;\n}\n\n.btn:hover::before {\n background: rgb(0, 0, 0, 0.315);\n border-radius: 10px;\n}\n\n.btn:hover::after {\n background: linear-gradient(to right, #cb6ce6, #38b6ff);\n border-radius: 10px;\n transform: scale(1.07, 1.2) rotateX(180deg);\n}", "file_path": "/mnt/persist/workspace/Buttons/Mike11jr_white-emu-65.html" }, "uniapp": { "template": "<button class=\"btn\"></button> Hover Me!\n</button>", "script": "export default {\n name: 'GalaxyWhiteEmu65',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by Mike11jr - Tags: button */\n.btn {\n padding: 0.9em 1.9em;\n font-size: 32rpx;\n border: none;\n background: #6285f8;\n color: white;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n position: relative;\n z-index: 1;\n}\n\n.btn:hover {\n color: rgb(255, 255, 255);\n}\n\n.btn::before,.btn::after {\n content: \"\";\n position: absolute;\n top: 0%;\n left: 0%;\n width: 100%;\n height: 100%;\n background: rgba(128, 128, 128, 0.096);\n backdrop-\n z-index: -1;\n transition: all 0.4s;\n}\n\n.btn::after {\n z-index: -2;\n transition: all 0.4s;\n}\n\n.btn:hover::before {\n background: rgb(0, 0, 0, 0.315);\n border-radius: 20rpx;\n}\n\n.btn:hover::after {\n background: linear-gradient(to right, #cb6ce6, #38b6ff);\n border-radius: 20rpx;\n transform: scale(1.07, 1.2) rotateX(180deg);\n}\n", "component_name": "GalaxyWhiteEmu65" }, "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": [ "不支持 filter 属性", "不支持 backdrop-filter 属性", "不支持 cursor 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 filter 属性", "不支持 backdrop-filter 属性", "不支持 cursor 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 796, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:33.976Z", "updated_at": "2025-07-31T07:55:33.976Z" }