galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
114 lines • 5.34 kB
JSON
{
"id": "Custyyyy_witty-baboon-62",
"name": "witty-baboon-62",
"category": "buttons",
"author": "Custyyyy",
"description": "witty-baboon-62 组件 (button, animation, interactive)",
"tags": [
"button",
"animation",
"interactive"
],
"original": {
"html": "<button id=\"bottone5\">Copy</button>",
"css": "/* From Uiverse.io by Custyyyy - Tags: button */\n#bottone5 {\n align-items: center;\n background-color: #FFFFFF;\n border: 1px solid rgba(0, 0, 0, 0.1);\n border-radius: .25rem;\n box-shadow: rgba(0, 0, 0, 0.02) 0 1px 3px 0;\n box-sizing: border-box;\n color: rgba(0, 0, 0, 0.85);\n cursor: pointer;\n display: inline-flex;\n font-family: system-ui,-apple-system,system-ui,\"Helvetica Neue\",Helvetica,Arial,sans-serif;\n font-size: 16px;\n font-weight: 600;\n justify-content: center;\n line-height: 1.25;\n min-height: 3rem;\n padding: calc(.875rem - 1px) calc(1.5rem - 1px);\n text-decoration: none;\n transition: all 250ms;\n user-select: none;\n -webkit-user-select: none;\n touch-action: manipulation;\n vertical-align: baseline;\n width: auto;\n}\n\n#bottone5:hover,\n#bottone5:focus {\n border-color: rgba(0, 0, 0, 0.15);\n box-shadow: rgba(0, 0, 0, 0.1) 0 4px 12px;\n color: rgba(0, 0, 0, 0.65);\n}\n\n#bottone5:hover {\n transform: translateY(-1px);\n}\n\n#bottone5:active {\n background-color: #F0F0F1;\n border-color: rgba(0, 0, 0, 0.15);\n box-shadow: rgba(0, 0, 0, 0.06) 0 2px 4px;\n color: rgba(0, 0, 0, 0.65);\n transform: translateY(0);\n}",
"file_path": "/mnt/persist/workspace/Buttons/Custyyyy_witty-baboon-62.html"
},
"uniapp": {
"template": "<button id=\"bottone5\"></button>Copy</button>",
"script": "export default {\n name: 'GalaxyWittyBaboon62',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by Custyyyy - Tags: button */\n#bottone5 {\n align-items: center;\n background-color: #FFFFFF;\n border: 2rpx solid rgba(0, 0, 0, 0.1);\n border-radius: .25rem;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: rgba(0, 0, 0, 0.02) 0 2rpx 6rpx 0;\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: rgba(0, 0, 0, 0.85);\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n display: inline-flex;\n font-family: system-ui,-apple-system,system-ui,\"Helvetica Neue\",Helvetica,Arial,sans-serif;\n font-size: 32rpx;\n font-weight: 600;\n justify-content: center;\n line-height: 1.25;\n min-height: 3rem;\n padding: calc(.875rem - 2rpx) calc(1.5rem - 2rpx);\n text-decoration: none;\n transition: all 250ms;\n user-select: none;\n -webkit-user-select: none;\n touch-action: manipulation;\n vertical-align: baseline;\n width: auto;\n}\n\n#bottone5:hover,\n#bottone5:focus {\n border-color: rgba(0, 0, 0, 0.15);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: rgba(0, 0, 0, 0.1) 0 8rpx 24rpx;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n color: rgba(0, 0, 0, 0.65);\n}\n\n#bottone5:hover {\n transform: translateY(-2rpx);\n}\n\n#bottone5:active {\n background-color: #F0F0F1;\n border-color: rgba(0, 0, 0, 0.15);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: rgba(0, 0, 0, 0.06) 0 4rpx 8rpx;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n color: rgba(0, 0, 0, 0.65);\n transform: translateY(0);\n}\n",
"component_name": "GalaxyWittyBaboon62"
},
"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": "medium",
"bundle_size": 1150,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:33.041Z",
"updated_at": "2025-07-31T07:55:33.041Z"
}