galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
104 lines • 3.73 kB
JSON
{
"id": "AKAspidey01_orange-donkey-78",
"name": "orange-donkey-78",
"category": "buttons",
"author": "AKAspidey01",
"description": "orange-donkey-78 组件",
"tags": [],
"original": {
"html": "<button type=\"button\" class=\"bg-white text-center w-48 rounded-2xl h-14 relative font-sans text-black text-xl font-semibold group\">\n <div class=\"bg-green-400 rounded-xl h-12 w-1/4 flex items-center justify-center absolute left-1 top-[4px] group-hover:w-[184px] z-10 duration-500\">\n <svg width=\"25px\" height=\"25px\" viewBox=\"0 0 1024 1024\" xmlns=\"http://www.w3.org/2000/svg\">\n <path fill=\"#000000\" d=\"M224 480h640a32 32 0 1 1 0 64H224a32 32 0 0 1 0-64z\"></path>\n <path fill=\"#000000\" d=\"m237.248 512 265.408 265.344a32 32 0 0 1-45.312 45.312l-288-288a32 32 0 0 1 0-45.312l288-288a32 32 0 1 1 45.312 45.312L237.248 512z\"></path>\n </svg>\n </div>\n <p class=\"translate-x-2\">Go Back</p>\n</button>",
"css": "",
"file_path": "/mnt/persist/workspace/Buttons/AKAspidey01_orange-donkey-78.html"
},
"uniapp": {
"template": "<button type=\"button\" class=\"bg-white text-center w-48 rounded-2xl h-14 relative font-sans text-black text-xl font-semibold group\"></button>\n <view class=\"bg-green-400 rounded-xl h-12 w-1/4 flex items-center justify-center absolute left-1 top-[4px] group-hover:w-[184px] z-10 duration-500\"></view>\n <view width=\"25px\" height=\"25px\" viewBox=\"0 0 1024 1024\" xmlns=\"http://www.w3.org/2000/svg\"></view>\n <path fill=\"#000000\" d=\"M224 480h640a32 32 0 1 1 0 64H224a32 32 0 0 1 0-64z\"></path>\n <path fill=\"#000000\" d=\"m237.248 512 265.408 265.344a32 32 0 0 1-45.312 45.312l-288-288a32 32 0 0 1 0-45.312l288-288a32 32 0 1 1 45.312 45.312L237.248 512z\"></path>\n </svg>\n </div>\n <text class=\"translate-x-2\">Go Back</text>\n</button>",
"script": "export default {\n name: 'GalaxyOrangeDonkey78',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "",
"component_name": "GalaxyOrangeDonkey78"
},
"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": 715,
"render_cost": "low",
"memory_usage": "low"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:32.488Z",
"updated_at": "2025-07-31T07:55:32.488Z"
}