galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
104 lines • 4.11 kB
JSON
{
"id": "eduardo-amaro-maciel_honest-bobcat-27",
"name": "honest-bobcat-27",
"category": "buttons",
"author": "eduardo-amaro-maciel",
"description": "honest-bobcat-27 组件",
"tags": [],
"original": {
"html": "<button class=\"btn group flex items-center bg-transparent p-2 px-6 text-xl font-thin tracking-widest text-white\">\n <span class=\"relative pr-4 pb-1 text-black after:transition-transform after:duration-500 after:ease-out after:absolute after:bottom-0 after:left-0 after:block after:h-[2px] after:w-full after:origin-bottom-right after:scale-x-0 after:bg-blue-500 after:content-[''] after:group-hover:origin-bottom-left after:group-hover:scale-x-100\">Hover Me</span>\n <svg class=\"-translate-x-2 fill-slate-700 transition-all duration-300 ease-out group-hover:translate-x-1 group-hover:scale-x-105 group-hover:fill-blue-500\" id=\"arrow-horizontal\" xmlns=\"http://www.w3.org/2000/svg\" width=\"30\" height=\"10\" viewBox=\"0 0 46 16\">\n <path id=\"Path_10\" data-name=\"Path 10\" d=\"M8,0,6.545,1.455l5.506,5.506H-30V9.039H12.052L6.545,14.545,8,16l8-8Z\" transform=\"translate(30)\"></path>\n </svg>\n</button>",
"css": "",
"file_path": "/mnt/persist/workspace/Buttons/eduardo-amaro-maciel_honest-bobcat-27.html"
},
"uniapp": {
"template": "<button class=\"btn group flex items-center bg-transparent p-2 px-6 text-xl font-thin tracking-widest text-white\"></button>\n <text class=\"relative pr-4 pb-1 text-black after:transition-transform after:duration-500 after:ease-out after:absolute after:bottom-0 after:left-0 after:block after:h-[2px] after:w-full after:origin-bottom-right after:scale-x-0 after:bg-blue-500 after:content-[''] after:group-hover:origin-bottom-left after:group-hover:scale-x-100\">Hover Me</text>\n <view class=\"-translate-x-2 fill-slate-700 transition-all duration-300 ease-out group-hover:translate-x-1 group-hover:scale-x-105 group-hover:fill-blue-500\" id=\"arrow-horizontal\" xmlns=\"http://www.w3.org/2000/svg\" width=\"30\" height=\"10\" viewBox=\"0 0 46 16\"></view>\n <path id=\"Path_10\" data-name=\"Path 10\" d=\"M8,0,6.545,1.455l5.506,5.506H-30V9.039H12.052L6.545,14.545,8,16l8-8Z\" transform=\"translate(30)\"></path>\n </svg>\n</button>",
"script": "export default {\n name: 'GalaxyHonestBobcat27',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "",
"component_name": "GalaxyHonestBobcat27"
},
"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": "low",
"bundle_size": 894,
"render_cost": "low",
"memory_usage": "low"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:36.467Z",
"updated_at": "2025-07-31T07:55:36.467Z"
}