galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
115 lines • 4.04 kB
JSON
{
"id": "tranmanhduy0810_honest-goat-14",
"name": "honest-goat-14",
"category": "buttons",
"author": "tranmanhduy0810",
"description": "honest-goat-14 组件 (simple, button, code, interactive)",
"tags": [
"simple",
"button",
"code",
"interactive"
],
"original": {
"html": "<button class=\"send-button\">Send Message</button>",
"css": "/* From Uiverse.io by tranmanhduy0810 - Tags: simple, button, code */\n.send-button {\n background-color: #ffffff;\n border: 1px solid #dcdcdc;\n border-radius: 8px;\n padding: 10px 20px;\n font-family: Arial, sans-serif;\n font-size: 16px;\n font-weight: 500;\n color: #000000;\n cursor: pointer;\n display: inline-flex;\n align-items: center;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n transition: all 0.3s ease;\n}\n\n.send-button:hover {\n box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);\n}\n\n.send-button img {\n margin-right: 8px;\n}",
"file_path": "/mnt/persist/workspace/Buttons/tranmanhduy0810_honest-goat-14.html"
},
"uniapp": {
"template": "<button class=\"send-button\"></button>Send Message</button>",
"script": "export default {\n name: 'GalaxyHonestGoat14',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by tranmanhduy0810 - Tags: simple, button, code */\n.send-button {\n background-color: #ffffff;\n border: 2rpx solid #dcdcdc;\n border-radius: 16rpx;\n padding: 20rpx 40rpx;\n font-family: Arial, sans-serif;\n font-size: 32rpx;\n font-weight: 500;\n color: #000000;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n display: inline-flex;\n align-items: center;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 8rpx 12rpx rgba(0, 0, 0, 0.1);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transition: all 0.3s ease;\n}\n\n.send-button:hover {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 12rpx 16rpx rgba(0, 0, 0, 0.15);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.send-button img {\n margin-right: 16rpx;\n}\n\n",
"component_name": "GalaxyHonestGoat14"
},
"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": [
"不支持 box-shadow 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 box-shadow 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "low",
"bundle_size": 590,
"render_cost": "low",
"memory_usage": "low"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:37.987Z",
"updated_at": "2025-07-31T07:55:37.987Z"
}