UNPKG

galaxy-uniapp-mcp-server

Version:

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

113 lines 4.07 kB
{ "id": "Remelens_tasty-bobcat-17", "name": "tasty-bobcat-17", "category": "buttons", "author": "Remelens", "description": "tasty-bobcat-17 组件 (button, light, windows11, interactive)", "tags": [ "button", "light", "windows11", "interactive" ], "original": { "html": "<button class=\"button\">Button</button>", "css": "/* From Uiverse.io by Remelens - Tags: button, light, windows11 */\n.button {\n display: inline-block;\n text-align: center;\n border: 0.9px solid #aaa;\n border-radius: 2.5px;\n background: #fff;\n cursor: pointer;\n color: #000;\n min-width: 80px;\n padding: 4px 0;\n margin: 0 5px;\n line-height: 20px;\n transition: all 0.2s;\n appearance: none;\n -webkit-appearance: none;\n -moz-appearance: none;\n font-family: Menlo, Monaco, Consolas, \"Lucida Console\", \"Ubuntu Mono\",\n \"Microsoft YaHei UI\", \"PingFang SC\", \"Noto Sans CJK SC\", \"SimHei\";\n}\n.button:hover {\n border-color: #0078d4;\n background: #e0eef9;\n transition: all 0.2s;\n}\n.button:active {\n border-color: #005499;\n background: #cce4f7;\n transition: all 0.2s;\n}", "file_path": "/mnt/persist/workspace/Buttons/Remelens_tasty-bobcat-17.html" }, "uniapp": { "template": "<button class=\"button\"></button>Button</button>", "script": "export default {\n name: 'GalaxyTastyBobcat17',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by Remelens - Tags: button, light, windows11 */\n.button {\n display: inline-block;\n text-align: center;\n border: 1.8rpx solid #aaa;\n border-radius: 5rpx;\n background: #fff;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n color: #000;\n min-width: 160rpx;\n padding: 8rpx 0;\n margin: 0 10rpx;\n line-height: 40rpx;\n transition: all 0.2s;\n appearance: none;\n -webkit-appearance: none;\n -moz-appearance: none;\n font-family: Menlo, Monaco, Consolas, \"Lucida Console\", \"Ubuntu Mono\",\n \"Microsoft YaHei UI\", \"PingFang SC\", \"Noto Sans CJK SC\", \"SimHei\";\n}\n.button:hover {\n border-color: #0078d4;\n background: #e0eef9;\n transition: all 0.2s;\n}\n.button:active {\n border-color: #005499;\n background: #cce4f7;\n transition: all 0.2s;\n}\n\n", "component_name": "GalaxyTastyBobcat17" }, "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": 777, "render_cost": "low", "memory_usage": "low" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:34.424Z", "updated_at": "2025-07-31T07:55:34.424Z" }