galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
113 lines • 3.53 kB
JSON
{
"id": "gharsh11032000_black-dodo-44",
"name": "black-dodo-44",
"category": "buttons",
"author": "gharsh11032000",
"description": "black-dodo-44 组件 (button, border, hover effect, interactive)",
"tags": [
"button",
"border",
"hover effect",
"interactive"
],
"original": {
"html": "<button class=\"button\">\n Vite Button\n</button>",
"css": "/* From Uiverse.io by gharsh11032000 - Tags: button, border, hover effect */\n.button {\n border-radius: 8px;\n border: 1px solid transparent;\n padding: 0.6em 1.2em;\n font-size: 1em;\n font-weight: 500;\n font-family: inherit;\n background-color: #1a1a1a;\n cursor: pointer;\n color: white;\n transition: border-color 0.25s;\n}\n\n.button:hover {\n border-color: #646cff;\n}\n\n.button:focus,\n.button:focus-visible {\n outline: 4px auto -webkit-focus-ring-color;\n}",
"file_path": "/mnt/persist/workspace/Buttons/gharsh11032000_black-dodo-44.html"
},
"uniapp": {
"template": "<button class=\"button\"></button>\n Vite Button\n</button>",
"script": "export default {\n name: 'GalaxyBlackDodo44',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by gharsh11032000 - Tags: button, border, hover effect */\n.button {\n border-radius: 16rpx;\n border: 2rpx solid transparent;\n padding: 0.6em 1.2em;\n font-size: 1em;\n font-weight: 500;\n font-family: inherit;\n background-color: #1a1a1a;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n color: white;\n transition: border-color 0.25s;\n}\n\n.button:hover {\n border-color: #646cff;\n}\n\n.button:focus,\n.button:focus-visible {\n outline: 8rpx auto -webkit-focus-ring-color;\n}\n\n\n\n",
"component_name": "GalaxyBlackDodo44"
},
"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": 513,
"render_cost": "low",
"memory_usage": "low"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:36.805Z",
"updated_at": "2025-07-31T07:55:36.805Z"
}