galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
113 lines • 4.04 kB
JSON
{
"id": "ArturCodeCraft_witty-deer-63",
"name": "witty-deer-63",
"category": "buttons",
"author": "ArturCodeCraft",
"description": "witty-deer-63 组件 (button, links, btn, interactive)",
"tags": [
"button",
"links",
"btn",
"interactive"
],
"original": {
"html": "<button class=\"menu__button\">\n <span>Hover me!</span>\n</button>",
"css": "/* From Uiverse.io by ArturCodeCraft - Tags: button, links, btn */\n/* <reset-style> ============================ */\nbutton {\n border: none;\n background: none;\n padding: 0;\n margin: 0;\n cursor: pointer;\n font-family: inherit;\n}\n/* <main-style> ============================ */\n.menu__button {\n min-width: 62px;\n height: 36px;\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 8px 16px;\n border: 1px solid #fff;\n background-color: transparent;\n transition: background-color .4s;\n}\n\n.menu__button:hover {\n background-color: #fff;\n}\n\n.menu__button span {\n color: #fff;\n line-height: 1;\n transition: color .4s;\n}\n\n.menu__button:hover span {\n color: #000;\n}",
"file_path": "/mnt/persist/workspace/Buttons/ArturCodeCraft_witty-deer-63.html"
},
"uniapp": {
"template": "<button class=\"menu__button\"></button>\n <text>Hover me!</text>\n</button>",
"script": "export default {\n name: 'GalaxyWittyDeer63',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by ArturCodeCraft - Tags: button, links, btn */\n/* <reset-style> ============================ */\nbutton {\n border: none;\n background: none;\n padding: 0;\n margin: 0;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n font-family: inherit;\n}\n/* <main-style> ============================ */\n.menu__button {\n min-width: 124rpx;\n height: 72rpx;\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 16rpx 32rpx;\n border: 2rpx solid #fff;\n background-color: transparent;\n transition: background-color .4s;\n}\n\n.menu__button:hover {\n background-color: #fff;\n}\n\n.menu__button span {\n color: #fff;\n line-height: 1;\n transition: color .4s;\n}\n\n.menu__button:hover span {\n color: #000;\n}\n",
"component_name": "GalaxyWittyDeer63"
},
"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": 762,
"render_cost": "low",
"memory_usage": "low"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:32.716Z",
"updated_at": "2025-07-31T07:55:32.716Z"
}