galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
109 lines • 6 kB
JSON
{
"id": "fanishah_tame-goose-53",
"name": "tame-goose-53",
"category": "buttons",
"author": "fanishah",
"description": "tame-goose-53 组件 (icon, button, animation, interactive)",
"tags": [
"icon",
"button",
"animation",
"interactive"
],
"original": {
"html": "<button class=\"button\">\n <div class=\"icon\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" class=\"bi bi-telegram\" viewBox=\"0 0 16 16\">\n <path d=\"M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8.287 5.906c-.778.324-2.334.994-4.666 2.01-.378.15-.577.298-.595.442-.03.243.275.339.69.47l.175.055c.408.133.958.288 1.243.294.26.006.549-.1.868-.32 2.179-1.471 3.304-2.214 3.374-2.23.05-.012.12-.026.166.016.047.041.042.12.037.141-.03.129-1.227 1.241-1.846 1.817-.193.18-.33.307-.358.336a8.154 8.154 0 0 1-.188.186c-.38.366-.664.64.015 1.088.327.216.589.393.85.571.284.194.568.387.936.629.093.06.183.125.27.187.331.236.63.448.997.414.214-.02.435-.22.547-.82.265-1.417.786-4.486.906-5.751a1.426 1.426 0 0 0-.013-.315.337.337 0 0 0-.114-.217.526.526 0 0 0-.31-.093c-.3.005-.763.166-2.984 1.09z\"></path>\n </svg>\n </div>\n <p>Telegram</p>\n</button>",
"css": "/* From Uiverse.io by fanishah - Tags: icon, button */\n.button {\n font-family: inherit;\n background: #2CA0D9;\n color: white;\n padding: 0.35em 0;\n font-size: 17px;\n border: none;\n border-radius: 0.7em;\n letter-spacing: 0.08em;\n position: relative;\n display: flex;\n align-content: center;\n align-items: center;\n overflow: hidden;\n height: 2.5em;\n padding-left: 2.8em;\n padding-right: 0.92em;\n}\n\n.button .icon {\n background: #fff;\n height: 2em;\n width: 2em;\n border-radius: 2em;\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n left: 0.4em;\n transition: all 0.5s;\n}\n\n.icon svg {\n margin-left: 0.1em;\n transition: all 0.5s;\n color: #2CA0D9;\n width: 1.2rem;\n height: 1.2rem;\n}\n\n.button:hover .icon svg {\n transform: rotate(360deg);\n}\n\n.button:hover .icon {\n width: calc(100% - 0.85rem);\n border-radius: 0.5em;\n}",
"file_path": "/mnt/persist/workspace/Buttons/fanishah_tame-goose-53.html"
},
"uniapp": {
"template": "<button class=\"button\"></button>\n <view class=\"icon\"></view>\n <view xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" class=\"bi bi-telegram\" viewBox=\"0 0 16 16\"></view>\n <path d=\"M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8.287 5.906c-.778.324-2.334.994-4.666 2.01-.378.15-.577.298-.595.442-.03.243.275.339.69.47l.175.055c.408.133.958.288 1.243.294.26.006.549-.1.868-.32 2.179-1.471 3.304-2.214 3.374-2.23.05-.012.12-.026.166.016.047.041.042.12.037.141-.03.129-1.227 1.241-1.846 1.817-.193.18-.33.307-.358.336a8.154 8.154 0 0 1-.188.186c-.38.366-.664.64.015 1.088.327.216.589.393.85.571.284.194.568.387.936.629.093.06.183.125.27.187.331.236.63.448.997.414.214-.02.435-.22.547-.82.265-1.417.786-4.486.906-5.751a1.426 1.426 0 0 0-.013-.315.337.337 0 0 0-.114-.217.526.526 0 0 0-.31-.093c-.3.005-.763.166-2.984 1.09z\"></path>\n </svg>\n </div>\n <text>Telegram</text>\n</button>",
"script": "export default {\n name: 'GalaxyTameGoose53',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by fanishah - Tags: icon, button */\n.button {\n font-family: inherit;\n background: #2CA0D9;\n color: white;\n padding: 0.35em 0;\n font-size: 34rpx;\n border: none;\n border-radius: 0.7em;\n letter-spacing: 0.08em;\n position: relative;\n display: flex;\n align-content: center;\n align-items: center;\n overflow: hidden;\n height: 2.5em;\n padding-left: 2.8em;\n padding-right: 0.92em;\n}\n\n.button .icon {\n background: #fff;\n height: 2em;\n width: 2em;\n border-radius: 2em;\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n left: 0.4em;\n transition: all 0.5s;\n}\n\n.icon svg {\n margin-left: 0.1em;\n transition: all 0.5s;\n color: #2CA0D9;\n width: 1.2rem;\n height: 1.2rem;\n}\n\n.button:hover .icon svg {\n transform: rotate(360deg);\n}\n\n.button:hover .icon {\n width: calc(100% - 0.85rem);\n border-radius: 0.5em;\n}\n",
"component_name": "GalaxyTameGoose53"
},
"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": 1756,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:36.684Z",
"updated_at": "2025-07-31T07:55:36.684Z"
}