galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
109 lines • 4.22 kB
JSON
{
"id": "reshades_fast-ladybug-78",
"name": "fast-ladybug-78",
"category": "buttons",
"author": "reshades",
"description": "fast-ladybug-78 组件 (button, hover, svg, interactive)",
"tags": [
"button",
"hover",
"svg",
"interactive"
],
"original": {
"html": "<button class=\"button\">\n <svg class=\"w-6 h-6\" stroke=\"currentColor\" stroke-width=\"1.5\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M3 16.5v2.25A2.25 2.25 0 005.25 21h13.5A2.25 2.25 0 0021 18.75V16.5m-13.5-9L12 3m0 0l4.5 4.5M12 3v13.5\" stroke-linejoin=\"round\" stroke-linecap=\"round\"></path>\n </svg>\n <span class=\"text\">\n Button\n </span>\n</button>",
"css": "/* From Uiverse.io by reshades - Tags: button, hover, svg */\n.button {\n width: 10em;\n height: 3em;\n border-radius: 8px;\n border: 0.15em solid rgb(162, 63, 255);\n color: rgb(162, 63, 255);\n background-color: #00000000;\n transition: all 0.5s ease;\n}\n\n.button .text {\n display: none\n}\n\n.button:hover>.text {\n display: block;\n}\n\n.button:hover>svg {\n display: none;\n}\n\n.button:hover {\n background-color: rgb(162, 63, 255);\n color: #fff\n}\n\n.button svg {\n width: 1.5em;\n margin-top: 3px;\n}",
"file_path": "/mnt/persist/workspace/Buttons/reshades_fast-ladybug-78.html"
},
"uniapp": {
"template": "<button class=\"button\"></button>\n <view class=\"w-6 h-6\" stroke=\"currentColor\" stroke-width=\"1.5\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"></view>\n <path d=\"M3 16.5v2.25A2.25 2.25 0 005.25 21h13.5A2.25 2.25 0 0021 18.75V16.5m-13.5-9L12 3m0 0l4.5 4.5M12 3v13.5\" stroke-linejoin=\"round\" stroke-linecap=\"round\"></path>\n </svg>\n <text class=\"text\"></text>\n Button\n </span>\n</button>",
"script": "export default {\n name: 'GalaxyFastLadybug78',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by reshades - Tags: button, hover, svg */\n.button {\n width: 10em;\n height: 3em;\n border-radius: 16rpx;\n border: 0.15em solid rgb(162, 63, 255);\n color: rgb(162, 63, 255);\n background-color: #00000000;\n transition: all 0.5s ease;\n}\n\n.button .text {\n display: none\n}\n\n.button:hover>.text {\n display: block;\n}\n\n.button:hover>svg {\n display: none;\n}\n\n.button:hover {\n background-color: rgb(162, 63, 255);\n color: #fff\n}\n\n.button svg {\n width: 1.5em;\n margin-top: 6rpx;\n}\n",
"component_name": "GalaxyFastLadybug78"
},
"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": 889,
"render_cost": "low",
"memory_usage": "low"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:37.645Z",
"updated_at": "2025-07-31T07:55:37.645Z"
}