UNPKG

galaxy-uniapp-mcp-server

Version:

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

110 lines 4.15 kB
{ "id": "vishalparajuli_warm-snake-99", "name": "warm-snake-99", "category": "buttons", "author": "vishalparajuli", "description": "warm-snake-99 组件 (button, 3d button, 3d card, animation, interactive)", "tags": [ "button", "3d button", "3d card", "animation", "interactive" ], "original": { "html": "<div class=\"button\">\n <div class=\"button__front\">rocket</div>\n <div class=\"button__back\">roll</div>\n </div>", "css": "/* From Uiverse.io by vishalparajuli - Tags: button, 3d button, 3d card */\n.button {\n width: 100px;\n height: 50px;\n position: relative;\n perspective: 800px;\n}\n\n.button__front,\n .button__back {\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 18px;\n font-weight: bold;\n text-transform: uppercase;\n color: #fff;\n background-color: #3498db;\n border-radius: 5px;\n position: absolute;\n backface-visibility: hidden;\n transition: transform 0.5s ease;\n}\n\n.button__back {\n background-color: #e74c3c;\n transform: rotateY(180deg);\n}\n\n.button:hover .button__front {\n transform: rotateY(-180deg);\n}\n\n.button:hover .button__back {\n transform: rotateY(0);\n}", "file_path": "/mnt/persist/workspace/Buttons/vishalparajuli_warm-snake-99.html" }, "uniapp": { "template": "<view class=\"button\"></view>\n <view class=\"button__front\">rocket</view>\n <view class=\"button__back\">roll</view>\n </div>", "script": "export default {\n name: 'GalaxyWarmSnake99',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by vishalparajuli - Tags: button, 3d button, 3d card */\n.button {\n width: 200rpx;\n height: 100rpx;\n position: relative;\n perspective: 1600rpx;\n}\n\n.button__front,\n .button__back {\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 36rpx;\n font-weight: bold;\n text-transform: uppercase;\n color: #fff;\n background-color: #3498db;\n border-radius: 10rpx;\n position: absolute;\n backface-visibility: hidden;\n transition: transform 0.5s ease;\n}\n\n.button__back {\n background-color: #e74c3c;\n transform: rotateY(180deg);\n}\n\n.button:hover .button__front {\n transform: rotateY(-180deg);\n}\n\n.button:hover .button__back {\n transform: rotateY(0);\n}\n", "component_name": "GalaxyWarmSnake99" }, "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": [], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 839, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:38.339Z", "updated_at": "2025-07-31T07:55:38.339Z" }