galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
114 lines • 7.42 kB
JSON
{
"id": "Juanes200122_horrible-stingray-49",
"name": "horrible-stingray-49",
"category": "buttons",
"author": "Juanes200122",
"description": "horrible-stingray-49 组件 (icon, animation, social, twitter, facebook, instagram, button, hover, interactive)",
"tags": [
"icon",
"animation",
"social",
"twitter",
"facebook",
"instagram",
"button",
"hover",
"interactive"
],
"original": {
"html": "<ul>\n <li>\n <a class=\"facebook\" href=\"#\">\n <span></span>\n <span></span>\n <span></span>\n <span></span>\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"29\" height=\"29\" fill=\"currentColor\" class=\"bi bi-facebook\" viewBox=\"0 0 16 16\">\n <path d=\"M16 8.049c0-4.446-3.582-8.05-8-8.05C3.58 0-.002 3.603-.002 8.05c0 4.017 2.926 7.347 6.75 7.951v-5.625h-2.03V8.05H6.75V6.275c0-2.017 1.195-3.131 3.022-3.131.876 0 1.791.157 1.791.157v1.98h-1.009c-.993 0-1.303.621-1.303 1.258v1.51h2.218l-.354 2.326H9.25V16c3.824-.604 6.75-3.934 6.75-7.951\"></path>\n </svg>\n </a>\n </li>\n</ul>",
"css": "/* From Uiverse.io by Juanes200122 - Tags: icon, animation, social, twitter, facebook, instagram, button, hover */\nul {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n margin: 0;\n padding: 0;\n display: flex;\n}\nul li {\n list-style: none;\n}\nul li a {\n display: block;\n position: relative;\n width: 100px;\n height: 100px;\n line-height: 100px;\n font-size: 40px;\n text-align: center;\n text-decoration: none;\n color: #404040;\n margin: 0 30px;\n transition: 0.5s;\n}\nul li a span {\n position: absolute;\n transition: transform 0.5s;\n}\nul li a span:nth-child(1),\nul li a span:nth-child(3) {\n width: 100%;\n height: 3px;\n background: #404040;\n}\nul li a span:nth-child(1) {\n top: 0;\n left: 0;\n transform-origin: right;\n}\nul li a:hover span:nth-child(1) {\n transform: scaleX(0);\n transform-origin: left;\n transition: transform 0.5s;\n}\n\nul li a span:nth-child(3) {\n bottom: 0;\n left: 0;\n transform-origin: left;\n}\nul li a:hover span:nth-child(3) {\n transform: scaleX(0);\n transform-origin: right;\n transition: transform 0.5s;\n}\n\nul li a span:nth-child(2),\nul li a span:nth-child(4) {\n width: 3px;\n height: 100%;\n background: #404040;\n}\nul li a span:nth-child(2) {\n top: 0;\n left: 0;\n transform: scale(0);\n transform-origin: bottom;\n}\nul li a:hover span:nth-child(2) {\n transform: scale(1);\n transform-origin: top;\n transition: transform 0.5s;\n}\nul li a span:nth-child(4) {\n top: 0;\n right: 0;\n transform: scale(0);\n transform-origin: top;\n}\nul li a:hover span:nth-child(4) {\n transform: scale(1);\n transform-origin: bottom;\n transition: transform 0.5s;\n}\n\n.facebook:hover {\n color: #3b5998;\n}\n.facebook:hover span {\n background: #3b5998;\n}",
"file_path": "/mnt/persist/workspace/Buttons/Juanes200122_horrible-stingray-49.html"
},
"uniapp": {
"template": "<view></view>\n <view></view>\n <navigator class=\"facebook\" href=\"#\"></navigator>\n <text></text>\n <text></text>\n <text></text>\n <text></text>\n <view xmlns=\"http://www.w3.org/2000/svg\" width=\"29\" height=\"29\" fill=\"currentColor\" class=\"bi bi-facebook\" viewBox=\"0 0 16 16\"></view>\n <path d=\"M16 8.049c0-4.446-3.582-8.05-8-8.05C3.58 0-.002 3.603-.002 8.05c0 4.017 2.926 7.347 6.75 7.951v-5.625h-2.03V8.05H6.75V6.275c0-2.017 1.195-3.131 3.022-3.131.876 0 1.791.157 1.791.157v1.98h-1.009c-.993 0-1.303.621-1.303 1.258v1.51h2.218l-.354 2.326H9.25V16c3.824-.604 6.75-3.934 6.75-7.951\"></path>\n </svg>\n </a>\n </li>\n</ul>",
"script": "export default {\n name: 'GalaxyHorribleStingray49',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by Juanes200122 - Tags: icon, animation, social, twitter, facebook, instagram, button, hover */\nul {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n margin: 0;\n padding: 0;\n display: flex;\n}\nul li {\n list-style: none;\n}\nul li a {\n display: block;\n position: relative;\n width: 200rpx;\n height: 200rpx;\n line-height: 200rpx;\n font-size: 80rpx;\n text-align: center;\n text-decoration: none;\n color: #404040;\n margin: 0 60rpx;\n transition: 0.5s;\n}\nul li a span {\n position: absolute;\n transition: transform 0.5s;\n}\nul li a span:nth-child(1),\nul li a span:nth-child(3) {\n width: 100%;\n height: 6rpx;\n background: #404040;\n}\nul li a span:nth-child(1) {\n top: 0;\n left: 0;\n transform-origin: right;\n}\nul li a:hover span:nth-child(1) {\n transform: scaleX(0);\n transform-origin: left;\n transition: transform 0.5s;\n}\n\nul li a span:nth-child(3) {\n bottom: 0;\n left: 0;\n transform-origin: left;\n}\nul li a:hover span:nth-child(3) {\n transform: scaleX(0);\n transform-origin: right;\n transition: transform 0.5s;\n}\n\nul li a span:nth-child(2),\nul li a span:nth-child(4) {\n width: 6rpx;\n height: 100%;\n background: #404040;\n}\nul li a span:nth-child(2) {\n top: 0;\n left: 0;\n transform: scale(0);\n transform-origin: bottom;\n}\nul li a:hover span:nth-child(2) {\n transform: scale(1);\n transform-origin: top;\n transition: transform 0.5s;\n}\nul li a span:nth-child(4) {\n top: 0;\n right: 0;\n transform: scale(0);\n transform-origin: top;\n}\nul li a:hover span:nth-child(4) {\n transform: scale(1);\n transform-origin: bottom;\n transition: transform 0.5s;\n}\n\n.facebook:hover {\n color: #3b5998;\n}\n.facebook:hover span {\n background: #3b5998;\n}\n\n",
"component_name": "GalaxyHorribleStingray49"
},
"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": 2328,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:33.605Z",
"updated_at": "2025-07-31T07:55:33.605Z"
}