galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
114 lines • 5.59 kB
JSON
{
"id": "e-coders_nervous-chipmunk-49",
"name": "nervous-chipmunk-49",
"category": "buttons",
"author": "e-coders",
"description": "nervous-chipmunk-49 组件 (button, github, interactive)",
"tags": [
"button",
"github",
"interactive"
],
"original": {
"html": "<button>Github Button!</button>",
"css": "/* From Uiverse.io by e-coders - Tags: button, github */\nbutton {\n appearance: none;\n background-color: #FAFBFC;\n border: 1px solid rgba(27, 31, 35, 0.15);\n border-radius: 6px;\n box-shadow: rgba(27, 31, 35, 0.04) 0 1px 0, rgba(255, 255, 255, 0.25) 0 1px 0 inset;\n box-sizing: border-box;\n color: #24292E;\n cursor: pointer;\n display: inline-block;\n font-family: -apple-system, system-ui, \"Segoe UI\", Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\";\n font-size: 14px;\n font-weight: 500;\n line-height: 20px;\n list-style: none;\n padding: 6px 16px;\n position: relative;\n transition: background-color 0.2s cubic-bezier(0.3, 0, 0.5, 1);\n user-select: none;\n -webkit-user-select: none;\n touch-action: manipulation;\n vertical-align: middle;\n white-space: nowrap;\n word-wrap: break-word;\n}\n\nbutton:hover {\n background-color: #F3F4F6;\n text-decoration: none;\n transition-duration: 0.1s;\n}\n\nbutton:disabled {\n background-color: #FAFBFC;\n border-color: rgba(27, 31, 35, 0.15);\n color: #959DA5;\n cursor: default;\n}\n\nbutton:active {\n background-color: #EDEFF2;\n box-shadow: rgba(225, 228, 232, 0.2) 0 1px 0 inset;\n transition: none 0s;\n}\n\nbutton:focus {\n outline: 1px transparent;\n}\n\nbutton:before {\n display: none;\n}\n\nbutton:-webkit-details-marker {\n display: none;\n}",
"file_path": "/mnt/persist/workspace/Buttons/e-coders_nervous-chipmunk-49.html"
},
"uniapp": {
"template": "<button></button>Github Button!</button>",
"script": "export default {\n name: 'GalaxyNervousChipmunk49',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by e-coders - Tags: button, github */\nbutton {\n appearance: none;\n background-color: #FAFBFC;\n border: 2rpx solid rgba(27, 31, 35, 0.15);\n border-radius: 12rpx;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: rgba(27, 31, 35, 0.04) 0 2rpx 0, rgba(255, 255, 255, 0.25) 0 2rpx 0 inset;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n box-sizing: border-box;\n color: #24292E;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n display: inline-block;\n font-family: -apple-system, system-ui, \"Segoe UI\", Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\";\n font-size: 28rpx;\n font-weight: 500;\n line-height: 40rpx;\n list-style: none;\n padding: 12rpx 32rpx;\n position: relative;\n transition: background-color 0.2s cubic-bezier(0.3, 0, 0.5, 1);\n user-select: none;\n -webkit-user-select: none;\n touch-action: manipulation;\n vertical-align: middle;\n white-space: nowrap;\n word-wrap: break-word;\n}\n\nbutton:hover {\n background-color: #F3F4F6;\n text-decoration: none;\n transition-duration: 0.1s;\n}\n\nbutton:disabled {\n background-color: #FAFBFC;\n border-color: rgba(27, 31, 35, 0.15);\n color: #959DA5;\n /* #ifdef H5 */\n cursor: default;\n /* #endif */\n}\n\nbutton:active {\n background-color: #EDEFF2;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: rgba(225, 228, 232, 0.2) 0 2rpx 0 inset;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transition: none 0s;\n}\n\nbutton:focus {\n outline: 2rpx transparent;\n}\n\nbutton:before {\n display: none;\n}\n\nbutton:-webkit-details-marker {\n display: none;\n}\n",
"component_name": "GalaxyNervousChipmunk49"
},
"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": 1308,
"render_cost": "low",
"memory_usage": "low"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:36.454Z",
"updated_at": "2025-07-31T07:55:36.454Z"
}