galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
111 lines • 6.62 kB
JSON
{
"id": "felipesntr_angry-bird-25",
"name": "angry-bird-25",
"category": "buttons",
"author": "felipesntr",
"description": "angry-bird-25 组件 (, interactive)",
"tags": [
"",
"interactive"
],
"original": {
"html": "<button>\n <p>Let's talk</p>\n <span>\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" class=\"bi bi-whatsapp icon-shere\" viewBox=\"0 0 16 16\">\n <path d=\"M13.601 2.326A7.854 7.854 0 0 0 7.994 0C3.627 0 .068 3.558.064 7.926c0 1.399.366 2.76 1.057 3.965L0 16l4.204-1.102a7.933 7.933 0 0 0 3.79.965h.004c4.368 0 7.926-3.558 7.93-7.93A7.898 7.898 0 0 0 13.6 2.326zM7.994 14.521a6.573 6.573 0 0 1-3.356-.92l-.24-.144-2.494.654.666-2.433-.156-.251a6.56 6.56 0 0 1-1.007-3.505c0-3.626 2.957-6.584 6.591-6.584a6.56 6.56 0 0 1 4.66 1.931 6.557 6.557 0 0 1 1.928 4.66c-.004 3.639-2.961 6.592-6.592 6.592zm3.615-4.934c-.197-.099-1.17-.578-1.353-.646-.182-.065-.315-.099-.445.099-.133.197-.513.646-.627.775-.114.133-.232.148-.43.05-.197-.1-.836-.308-1.592-.985-.59-.525-.985-1.175-1.103-1.372-.114-.198-.011-.304.088-.403.087-.088.197-.232.296-.346.1-.114.133-.198.198-.33.065-.134.034-.248-.015-.347-.05-.099-.445-1.076-.612-1.47-.16-.389-.323-.335-.445-.34-.114-.007-.247-.007-.38-.007a.729.729 0 0 0-.529.247c-.182.198-.691.677-.691 1.654 0 .977.71 1.916.81 2.049.098.133 1.394 2.132 3.383 2.992.47.205.84.326 1.129.418.475.152.904.129 1.246.08.38-.058 1.171-.48 1.338-.943.164-.464.164-.86.114-.943-.049-.084-.182-.133-.38-.232z\"></path>\n </svg>\n Message\n </span>\n</button>",
"css": "/* From Uiverse.io by felipesntr - Tags: */\nbutton {\n color: rgb(53, 188, 250);\n padding: 1em 2em 1em 2em;\n border: 2px solid rgb(53, 188, 250);\n border-radius: 0 1em 1em 1em;\n position: relative;\n overflow: hidden;\n transition: 0.3s;\n font-size: 1rem;\n font-weight: 600;\n cursor: pointer;\n}\n\nbutton:hover {\n border: 2px solid rgb(75, 228, 157);\n}\n\nbutton span {\n position: absolute;\n top: 0;\n left: -100%;\n width: 100%;\n height: 100%;\n background: rgb(75, 228, 157);\n transition: ease-in-out 0.3s;\n color: #fff;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 1em;\n}\n\nbutton span svg {\n width: 1.1em;\n height: 1.1em;\n margin-right: 0.5em;\n}\n\nbutton:hover span {\n left: 0%;\n}",
"file_path": "/mnt/persist/workspace/Buttons/felipesntr_angry-bird-25.html"
},
"uniapp": {
"template": "<button></button>\n <text>Let's talk</text>\n <text></text>\n <view xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" class=\"bi bi-whatsapp icon-shere\" viewBox=\"0 0 16 16\"></view>\n <path d=\"M13.601 2.326A7.854 7.854 0 0 0 7.994 0C3.627 0 .068 3.558.064 7.926c0 1.399.366 2.76 1.057 3.965L0 16l4.204-1.102a7.933 7.933 0 0 0 3.79.965h.004c4.368 0 7.926-3.558 7.93-7.93A7.898 7.898 0 0 0 13.6 2.326zM7.994 14.521a6.573 6.573 0 0 1-3.356-.92l-.24-.144-2.494.654.666-2.433-.156-.251a6.56 6.56 0 0 1-1.007-3.505c0-3.626 2.957-6.584 6.591-6.584a6.56 6.56 0 0 1 4.66 1.931 6.557 6.557 0 0 1 1.928 4.66c-.004 3.639-2.961 6.592-6.592 6.592zm3.615-4.934c-.197-.099-1.17-.578-1.353-.646-.182-.065-.315-.099-.445.099-.133.197-.513.646-.627.775-.114.133-.232.148-.43.05-.197-.1-.836-.308-1.592-.985-.59-.525-.985-1.175-1.103-1.372-.114-.198-.011-.304.088-.403.087-.088.197-.232.296-.346.1-.114.133-.198.198-.33.065-.134.034-.248-.015-.347-.05-.099-.445-1.076-.612-1.47-.16-.389-.323-.335-.445-.34-.114-.007-.247-.007-.38-.007a.729.729 0 0 0-.529.247c-.182.198-.691.677-.691 1.654 0 .977.71 1.916.81 2.049.098.133 1.394 2.132 3.383 2.992.47.205.84.326 1.129.418.475.152.904.129 1.246.08.38-.058 1.171-.48 1.338-.943.164-.464.164-.86.114-.943-.049-.084-.182-.133-.38-.232z\"></path>\n </svg>\n Message\n </span>\n</button>",
"script": "export default {\n name: 'GalaxyAngryBird25',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by felipesntr - Tags: */\nbutton {\n color: rgb(53, 188, 250);\n padding: 1em 2em 1em 2em;\n border: 4rpx solid rgb(53, 188, 250);\n border-radius: 0 1em 1em 1em;\n position: relative;\n overflow: hidden;\n transition: 0.3s;\n font-size: 1rem;\n font-weight: 600;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n}\n\nbutton:hover {\n border: 4rpx solid rgb(75, 228, 157);\n}\n\nbutton span {\n position: absolute;\n top: 0;\n left: -100%;\n width: 100%;\n height: 100%;\n background: rgb(75, 228, 157);\n transition: ease-in-out 0.3s;\n color: #fff;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 1em;\n}\n\nbutton span svg {\n width: 1.1em;\n height: 1.1em;\n margin-right: 0.5em;\n}\n\nbutton:hover span {\n left: 0%;\n}\n\n",
"component_name": "GalaxyAngryBird25"
},
"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": [
"不支持 cursor 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 cursor 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "low",
"bundle_size": 2055,
"render_cost": "low",
"memory_usage": "low"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:36.717Z",
"updated_at": "2025-07-31T07:55:36.717Z"
}