galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
108 lines • 4.69 kB
JSON
{
"id": "alexmaracinaru_brown-bobcat-65",
"name": "brown-bobcat-65",
"category": "buttons",
"author": "alexmaracinaru",
"description": "brown-bobcat-65 组件 (button, animation, interactive)",
"tags": [
"button",
"animation",
"interactive"
],
"original": {
"html": "<button class=\"cta\">\n <span>Hover me</span>\n <svg viewBox=\"0 0 13 10\" height=\"10px\" width=\"15px\">\n <path d=\"M1,5 L11,5\"></path>\n <polyline points=\"8 1 12 5 8 9\"></polyline>\n </svg>\n</button>",
"css": "/* From Uiverse.io by alexmaracinaru - Tags: button */\n.cta {\n position: relative;\n margin: auto;\n padding: 12px 18px;\n transition: all 0.2s ease;\n border: none;\n background: none;\n}\n\n.cta:before {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n display: block;\n border-radius: 50px;\n background: #b1dae7;\n width: 45px;\n height: 45px;\n transition: all 0.3s ease;\n}\n\n.cta span {\n position: relative;\n font-family: \"Ubuntu\", sans-serif;\n font-size: 18px;\n font-weight: 700;\n letter-spacing: 0.05em;\n color: #234567;\n}\n\n.cta svg {\n position: relative;\n top: 0;\n margin-left: 10px;\n fill: none;\n stroke-linecap: round;\n stroke-linejoin: round;\n stroke: #234567;\n stroke-width: 2;\n transform: translateX(-5px);\n transition: all 0.3s ease;\n}\n\n.cta:hover:before {\n width: 100%;\n background: #b1dae7;\n}\n\n.cta:hover svg {\n transform: translateX(0);\n}\n\n.cta:active {\n transform: scale(0.95);\n}",
"file_path": "/mnt/persist/workspace/Buttons/alexmaracinaru_brown-bobcat-65.html"
},
"uniapp": {
"template": "<button class=\"cta\"></button>\n <text>Hover me</text>\n <view viewBox=\"0 0 13 10\" height=\"10px\" width=\"15px\"></view>\n <path d=\"M1,5 L11,5\"></path>\n <polyline points=\"8 1 12 5 8 9\"></polyline>\n </svg>\n</button>",
"script": "export default {\n name: 'GalaxyBrownBobcat65',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by alexmaracinaru - Tags: button */\n.cta {\n position: relative;\n margin: auto;\n padding: 24rpx 36rpx;\n transition: all 0.2s ease;\n border: none;\n background: none;\n}\n\n.cta:before {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n display: block;\n border-radius: 100rpx;\n background: #b1dae7;\n width: 90rpx;\n height: 90rpx;\n transition: all 0.3s ease;\n}\n\n.cta span {\n position: relative;\n font-family: \"Ubuntu\", sans-serif;\n font-size: 36rpx;\n font-weight: 700;\n letter-spacing: 0.05em;\n color: #234567;\n}\n\n.cta svg {\n position: relative;\n top: 0;\n margin-left: 20rpx;\n fill: none;\n stroke-linecap: round;\n stroke-linejoin: round;\n stroke: #234567;\n stroke-width: 2;\n transform: translateX(-10rpx);\n transition: all 0.3s ease;\n}\n\n.cta:hover:before {\n width: 100%;\n background: #b1dae7;\n}\n\n.cta:hover svg {\n transform: translateX(0);\n}\n\n.cta:active {\n transform: scale(0.95);\n}\n",
"component_name": "GalaxyBrownBobcat65"
},
"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": [],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "medium",
"bundle_size": 1093,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:35.564Z",
"updated_at": "2025-07-31T07:55:35.564Z"
}