galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
119 lines • 7.01 kB
JSON
{
"id": "vinodjangid07_lucky-bulldog-57",
"name": "lucky-bulldog-57",
"category": "buttons",
"author": "vinodjangid07",
"description": "lucky-bulldog-57 组件 (icon, animation, button, svg, arrow, next, go, interactive)",
"tags": [
"icon",
"animation",
"button",
"svg",
"arrow",
"next",
"go",
"interactive"
],
"original": {
"html": "<button class=\"Btn-Container\">\n <span class=\"text\">let's go!</span>\n <span class=\"icon-Container\">\n <svg width=\"16\" height=\"19\" viewBox=\"0 0 16 19\" fill=\"nones\" xmlns=\"http://www.w3.org/2000/svg\">\n <circle cx=\"1.61321\" cy=\"1.61321\" r=\"1.5\" fill=\"black\"></circle>\n <circle cx=\"5.73583\" cy=\"1.61321\" r=\"1.5\" fill=\"black\"></circle>\n <circle cx=\"5.73583\" cy=\"5.5566\" r=\"1.5\" fill=\"black\"></circle>\n <circle cx=\"9.85851\" cy=\"5.5566\" r=\"1.5\" fill=\"black\"></circle>\n <circle cx=\"9.85851\" cy=\"9.5\" r=\"1.5\" fill=\"black\"></circle>\n <circle cx=\"13.9811\" cy=\"9.5\" r=\"1.5\" fill=\"black\"></circle>\n <circle cx=\"5.73583\" cy=\"13.4434\" r=\"1.5\" fill=\"black\"></circle>\n <circle cx=\"9.85851\" cy=\"13.4434\" r=\"1.5\" fill=\"black\"></circle>\n <circle cx=\"1.61321\" cy=\"17.3868\" r=\"1.5\" fill=\"black\"></circle>\n <circle cx=\"5.73583\" cy=\"17.3868\" r=\"1.5\" fill=\"black\"></circle>\n </svg>\n </span>\n</button>",
"css": "/* From Uiverse.io by vinodjangid07 - Tags: icon, animation, button, svg, arrow, next, go */\n.Btn-Container {\n display: flex;\n width: 170px;\n height: fit-content;\n background-color: #1d2129;\n border-radius: 40px;\n box-shadow: 0px 5px 10px #bebebe;\n justify-content: space-between;\n align-items: center;\n border: none;\n cursor: pointer;\n}\n.icon-Container {\n width: 45px;\n height: 45px;\n background-color: #f59aff;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50%;\n border: 3px solid #1d2129;\n}\n.text {\n width: calc(170px - 45px);\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n color: white;\n font-size: 1.1em;\n letter-spacing: 1.2px;\n}\n.icon-Container svg {\n transition-duration: 1.5s;\n}\n.Btn-Container:hover .icon-Container svg {\n transition-duration: 1.5s;\n animation: arrow 1s linear infinite;\n}\n@keyframes arrow {\n 0% {\n opacity: 0;\n margin-left: 0px;\n }\n 100% {\n opacity: 1;\n margin-left: 10px;\n }\n}",
"file_path": "/mnt/persist/workspace/Buttons/vinodjangid07_lucky-bulldog-57.html"
},
"uniapp": {
"template": "<button class=\"Btn-Container\"></button>\n <text class=\"text\">let's go!</text>\n <text class=\"icon-Container\"></text>\n <view width=\"16\" height=\"19\" viewBox=\"0 0 16 19\" fill=\"nones\" xmlns=\"http://www.w3.org/2000/svg\"></view>\n <circle cx=\"1.61321\" cy=\"1.61321\" r=\"1.5\" fill=\"black\"></circle>\n <circle cx=\"5.73583\" cy=\"1.61321\" r=\"1.5\" fill=\"black\"></circle>\n <circle cx=\"5.73583\" cy=\"5.5566\" r=\"1.5\" fill=\"black\"></circle>\n <circle cx=\"9.85851\" cy=\"5.5566\" r=\"1.5\" fill=\"black\"></circle>\n <circle cx=\"9.85851\" cy=\"9.5\" r=\"1.5\" fill=\"black\"></circle>\n <circle cx=\"13.9811\" cy=\"9.5\" r=\"1.5\" fill=\"black\"></circle>\n <circle cx=\"5.73583\" cy=\"13.4434\" r=\"1.5\" fill=\"black\"></circle>\n <circle cx=\"9.85851\" cy=\"13.4434\" r=\"1.5\" fill=\"black\"></circle>\n <circle cx=\"1.61321\" cy=\"17.3868\" r=\"1.5\" fill=\"black\"></circle>\n <circle cx=\"5.73583\" cy=\"17.3868\" r=\"1.5\" fill=\"black\"></circle>\n </svg>\n </span>\n</button>",
"script": "export default {\n name: 'GalaxyLuckyBulldog57',\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: icon, animation, button, svg, arrow, next, go */\n.Btn-Container {\n display: flex;\n width: 340rpx;\n height: fit-content;\n background-color: #1d2129;\n border-radius: 80rpx;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0rpx 10rpx 20rpx #bebebe;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n justify-content: space-between;\n align-items: center;\n border: none;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n}\n.icon-Container {\n width: 90rpx;\n height: 90rpx;\n background-color: #f59aff;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50%;\n border: 6rpx solid #1d2129;\n}\n.text {\n width: calc(340rpx - 90rpx);\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n color: white;\n font-size: 1.1em;\n letter-spacing: 2.4rpx;\n}\n.icon-Container svg {\n transition-duration: 1.5s;\n}\n.Btn-Container:hover .icon-Container svg {\n transition-duration: 1.5s;\n animation: arrow 1s linear infinite;\n}\n@keyframes arrow {\n 0% {\n opacity: 0;\n margin-left: 0rpx;\n }\n 100% {\n opacity: 1;\n margin-left: 20rpx;\n }\n}\n\n",
"component_name": "GalaxyLuckyBulldog57"
},
"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": 1959,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:38.162Z",
"updated_at": "2025-07-31T07:55:38.162Z"
}