galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
113 lines • 5.3 kB
JSON
{
"id": "Jonathan2004-binjin_silly-insect-14",
"name": "silly-insect-14",
"category": "buttons",
"author": "Jonathan2004-binjin",
"description": "silly-insect-14 组件 (button, interactive)",
"tags": [
"button",
"interactive"
],
"original": {
"html": "<button class=\"button\">Get in touch</button>",
"css": "/* From Uiverse.io by Jonathan2004-binjin - Tags: button */\nbutton {\n background-color: #ffffff;\n border: 1px solid rgb(209, 213, 219);\n border-radius: 0.5rem;\n color: #111827;\n font-family: ui-sans-serif, system-ui, -apple-system, system-ui, \"Segoe UI\",\n Roboto, \"Helvetica Neue\", Arial, \"Noto Sans\", sans-serif,\n \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";\n font-size: 0.875rem;\n font-weight: 600;\n line-height: 1.25rem;\n padding: 0.75rem 1rem;\n text-align: center;\n -webkit-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);\n box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);\n cursor: pointer;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n -webkit-user-select: none;\n -ms-touch-action: manipulation;\n touch-action: manipulation;\n}\n\nbutton:hover {\n background-color: #f9fafb;\n}\n\nbutton:focus {\n outline: 2px solid rgba(0, 0, 0, 0.1);\n outline-offset: 2px;\n}\n\nbutton:focus-visible {\n -webkit-box-shadow: none;\n box-shadow: none;\n}",
"file_path": "/mnt/persist/workspace/Buttons/Jonathan2004-binjin_silly-insect-14.html"
},
"uniapp": {
"template": "<button class=\"button\"></button>Get in touch</button>",
"script": "export default {\n name: 'GalaxySillyInsect14',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by Jonathan2004-binjin - Tags: button */\nbutton {\n background-color: #ffffff;\n border: 2rpx solid rgb(209, 213, 219);\n border-radius: 0.5rem;\n color: #111827;\n font-family: ui-sans-serif, system-ui, -apple-system, system-ui, \"Segoe UI\",\n Roboto, \"Helvetica Neue\", Arial, \"Noto Sans\", sans-serif,\n \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";\n font-size: 0.875rem;\n font-weight: 600;\n line-height: 1.25rem;\n padding: 0.75rem 1rem;\n text-align: center;\n -webkit-/* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 2rpx 4rpx 0 rgba(0, 0, 0, 0.05);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 2rpx 4rpx 0 rgba(0, 0, 0, 0.05);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n -webkit-user-select: none;\n -ms-touch-action: manipulation;\n touch-action: manipulation;\n}\n\nbutton:hover {\n background-color: #f9fafb;\n}\n\nbutton:focus {\n outline: 4rpx solid rgba(0, 0, 0, 0.1);\n outline-offset: 4rpx;\n}\n\nbutton:focus-visible {\n -webkit-/* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: none;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: none;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n",
"component_name": "GalaxySillyInsect14"
},
"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": 1063,
"render_cost": "low",
"memory_usage": "low"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:33.593Z",
"updated_at": "2025-07-31T07:55:33.593Z"
}