galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
119 lines • 5.58 kB
JSON
{
"id": "vinodjangid07_average-zebra-23",
"name": "average-zebra-23",
"category": "buttons",
"author": "vinodjangid07",
"description": "average-zebra-23 组件 (black, button, active, hover effect, enter, animation, gradient, interactive)",
"tags": [
"black",
"button",
"active",
"hover effect",
"enter",
"animation",
"gradient",
"interactive"
],
"original": {
"html": "<button class=\"enter-button\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 40 27\" class=\"arrow\">\n <line stroke-width=\"2\" stroke=\"white\" y2=\"14\" x2=\"40\" y1=\"14\" x1=\"1\"></line>\n <line stroke-width=\"2\" stroke=\"white\" y2=\"1.41537\" x2=\"10.4324\" y1=\"14.2433\" x1=\"1.18869\"></line>\n <line stroke-width=\"2\" stroke=\"white\" y2=\"13.6007\" x2=\"1.20055\" y1=\"26.2411\" x1=\"10.699\"></line>\n <line stroke=\"white\" y2=\"14.3133\" x2=\"1.07325\" y1=\"13.6334\" x1=\"0.33996\"></line>\n <line stroke-width=\"2\" stroke=\"white\" y2=\"13\" x2=\"39\" y1=\"8\" x1=\"39\"></line>\n </svg>\n ENTER\n</button>",
"css": "/* From Uiverse.io by vinodjangid07 - Tags: black, button, active, hover effect, enter */\n.enter-button {\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 14px 18px;\n gap: 25px;\n font-size: 0.7em;\n letter-spacing: 2px;\n color: white;\n cursor: pointer;\n background: linear-gradient(to right, rgb(59, 59, 59), rgb(34, 34, 34));\n position: relative;\n border-radius: 8px;\n border: 1px solid rgb(65, 65, 65);\n transition-duration: 0.3s;\n}\n\n.arrow {\n height: 20px;\n}\n.enter-button:hover {\n transition-duration: 0.3s;\n box-shadow: 0px 0px 2px rgb(185, 185, 185), 0px 0px 10px rgb(97, 97, 97);\n}\n.enter-button:active {\n transform: scale(0.95);\n}",
"file_path": "/mnt/persist/workspace/Buttons/vinodjangid07_average-zebra-23.html"
},
"uniapp": {
"template": "<button class=\"enter-button\"></button>\n <view xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 40 27\" class=\"arrow\"></view>\n <line stroke-width=\"2\" stroke=\"white\" y2=\"14\" x2=\"40\" y1=\"14\" x1=\"1\"></line>\n <line stroke-width=\"2\" stroke=\"white\" y2=\"1.41537\" x2=\"10.4324\" y1=\"14.2433\" x1=\"1.18869\"></line>\n <line stroke-width=\"2\" stroke=\"white\" y2=\"13.6007\" x2=\"1.20055\" y1=\"26.2411\" x1=\"10.699\"></line>\n <line stroke=\"white\" y2=\"14.3133\" x2=\"1.07325\" y1=\"13.6334\" x1=\"0.33996\"></line>\n <line stroke-width=\"2\" stroke=\"white\" y2=\"13\" x2=\"39\" y1=\"8\" x1=\"39\"></line>\n </svg>\n ENTER\n</button>",
"script": "export default {\n name: 'GalaxyAverageZebra23',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by vinodjangid07 - Tags: black, button, active, hover effect, enter */\n.enter-button {\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 28rpx 36rpx;\n gap: 50rpx;\n font-size: 0.7em;\n letter-spacing: 4rpx;\n color: white;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n background: linear-gradient(to right, rgb(59, 59, 59), rgb(34, 34, 34));\n position: relative;\n border-radius: 16rpx;\n border: 2rpx solid rgb(65, 65, 65);\n transition-duration: 0.3s;\n}\n\n.arrow {\n height: 40rpx;\n}\n.enter-button:hover {\n transition-duration: 0.3s;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0rpx 0rpx 4rpx rgb(185, 185, 185), 0rpx 0rpx 20rpx rgb(97, 97, 97);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n.enter-button:active {\n transform: scale(0.95);\n}\n\n",
"component_name": "GalaxyAverageZebra23"
},
"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": 1286,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:38.038Z",
"updated_at": "2025-07-31T07:55:38.038Z"
}