UNPKG

galaxy-uniapp-mcp-server

Version:

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

117 lines 4.45 kB
{ "id": "asgardOP_quiet-panther-30", "name": "quiet-panther-30", "category": "buttons", "author": "asgardOP", "description": "quiet-panther-30 组件 (simple, button, hover, smooth, game, html, css, interactive)", "tags": [ "simple", "button", "hover", "smooth", "game", "html", "css", "interactive" ], "original": { "html": "<button class=\"button\">Minecraft</button>", "css": "/* From Uiverse.io by asgardOP - Tags: simple, button, hover, smooth, game, html, css */\n.button {\n cursor: pointer;\n width: fit-content;\n height: fit-content;\n padding: 15px;\n background-color: rgb(223, 223, 223);\n border-left: 3px solid white;\n border-top: 3px solid white;\n border-right: 3px solid gray;\n border-bottom: 3px solid gray;\n font-family: \"Courier New\", Courier, monospace;\n font-size: 1.1rem;\n font-weight: 900;\n outline: 2px solid black;\n}\n\n.button:hover {\n background-color: rgb(0, 197, 0);\n color: white;\n outline-color: white;\n border-left: 3px solid rgb(0, 255, 0);\n border-top: 3px solid rgb(0, 255, 0);\n border-right: 3px solid green;\n border-bottom: 3px solid green;\n}\n\n.button:active {\n border-left: 3px solid green;\n border-top: 3px solid green;\n border-right: 3px solid rgb(0, 255, 0);\n border-bottom: 3px solid rgb(0, 255, 0);\n}", "file_path": "/mnt/persist/workspace/Buttons/asgardOP_quiet-panther-30.html" }, "uniapp": { "template": "<button class=\"button\"></button>Minecraft</button>", "script": "export default {\n name: 'GalaxyQuietPanther30',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by asgardOP - Tags: simple, button, hover, smooth, game, html, css */\n.button {\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n width: fit-content;\n height: fit-content;\n padding: 30rpx;\n background-color: rgb(223, 223, 223);\n border-left: 6rpx solid white;\n border-top: 6rpx solid white;\n border-right: 6rpx solid gray;\n border-bottom: 6rpx solid gray;\n font-family: \"Courier New\", Courier, monospace;\n font-size: 1.1rem;\n font-weight: 900;\n outline: 4rpx solid black;\n}\n\n.button:hover {\n background-color: rgb(0, 197, 0);\n color: white;\n outline-color: white;\n border-left: 6rpx solid rgb(0, 255, 0);\n border-top: 6rpx solid rgb(0, 255, 0);\n border-right: 6rpx solid green;\n border-bottom: 6rpx solid green;\n}\n\n.button:active {\n border-left: 6rpx solid green;\n border-top: 6rpx solid green;\n border-right: 6rpx solid rgb(0, 255, 0);\n border-bottom: 6rpx solid rgb(0, 255, 0);\n}\n\n", "component_name": "GalaxyQuietPanther30" }, "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": "low", "bundle_size": 931, "render_cost": "low", "memory_usage": "low" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:35.802Z", "updated_at": "2025-07-31T07:55:35.802Z" }