galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
112 lines • 4.89 kB
JSON
{
"id": "JohnnyCSilva_red-gecko-43",
"name": "red-gecko-43",
"category": "buttons",
"author": "JohnnyCSilva",
"description": "red-gecko-43 组件 (button, animation, interactive)",
"tags": [
"button",
"animation",
"interactive"
],
"original": {
"html": "<button class=\"btn_center\">\n Click Me\n</button>",
"css": "/* From Uiverse.io by JohnnyCSilva - Tags: button */\n.btn_center {\n display: table-cell;\n vertical-align: middle;\n border: none;\n background-color: transparent;\n}\n\n.btn_center {\n color: white;\n margin: auto;\n width: 150px;\n line-height: 50px;\n font-size: 12px;\n letter-spacing: 2px;\n border-radius: 0px;\n font-weight: bold;\n text-transform: uppercase;\n background-color: #031d67;\n box-shadow: 0px 15px 18px -6px rgba(35, 22, 214, 0.65);\n transition: all 0.4s;\n -webkit-transition: all 0.4s;\n -moz-transition: all 0.4s;\n -ms-transition: all 0.4s;\n -o-transition: all 0.4s;\n position: relative;\n}\n\n.btn_center:hover {\n background-color: #051749;\n box-shadow: 0px 22px 19px -8px rgba(16, 8, 119, 0.65);\n transform: scale(1.02,1.02);\n}\n\n.btn_center:active {\n background-color: #051749;\n box-shadow: 0px 12px 18px -4px rgba(7, 4, 51, 0.65);\n transform: scale(0.95,0.95);\n transition: all 0.4s -0.125s;\n}",
"file_path": "/mnt/persist/workspace/Buttons/JohnnyCSilva_red-gecko-43.html"
},
"uniapp": {
"template": "<button class=\"btn_center\"></button>\n Click Me\n</button>",
"script": "export default {\n name: 'GalaxyRedGecko43',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by JohnnyCSilva - Tags: button */\n.btn_center {\n display: table-cell;\n vertical-align: middle;\n border: none;\n background-color: transparent;\n}\n\n.btn_center {\n color: white;\n margin: auto;\n width: 300rpx;\n line-height: 100rpx;\n font-size: 24rpx;\n letter-spacing: 4rpx;\n border-radius: 0rpx;\n font-weight: bold;\n text-transform: uppercase;\n background-color: #031d67;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0rpx 30rpx 36rpx -12rpx rgba(35, 22, 214, 0.65);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transition: all 0.4s;\n -webkit-transition: all 0.4s;\n -moz-transition: all 0.4s;\n -ms-transition: all 0.4s;\n -o-transition: all 0.4s;\n position: relative;\n}\n\n.btn_center:hover {\n background-color: #051749;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0rpx 44rpx 38rpx -16rpx rgba(16, 8, 119, 0.65);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transform: scale(1.02,1.02);\n}\n\n.btn_center:active {\n background-color: #051749;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0rpx 24rpx 36rpx -8rpx rgba(7, 4, 51, 0.65);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transform: scale(0.95,0.95);\n transition: all 0.4s -0.125s;\n}\n",
"component_name": "GalaxyRedGecko43"
},
"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 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 box-shadow 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "medium",
"bundle_size": 980,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:33.584Z",
"updated_at": "2025-07-31T07:55:33.584Z"
}