galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
111 lines • 5.99 kB
JSON
{
"id": "nkhlrjrs_hungry-pig-21",
"name": "hungry-pig-21",
"category": "buttons",
"author": "nkhlrjrs",
"description": "hungry-pig-21 组件 (button, accept call, Call Us, Schedule a call, animation, interactive)",
"tags": [
"button",
"accept call",
"Call Us",
"Schedule a call",
"animation",
"interactive"
],
"original": {
"html": "<a class=\"schedule-button\" href=\"https://www.linkedin.com/in/nkhlrjrs/\">\n Schedule a Call\n <svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" class=\"arrow\">\n <path fill=\"none\" d=\"M0 0h24v24H0z\"></path>\n <path d=\"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z\"></path>\n </svg>\n \n </a>",
"css": "/* From Uiverse.io by nkhlrjrs - Tags: button, accept call, Call Us, Schedule a call */\n/* CSS code */\n.schedule-button {\n display: inline-flex;\n align-items: center;\n padding: 10px 20px;\n background-color: #c49ff5;\n color: #ffffff;\n font-size: 16px;\n text-decoration: none;\n border-radius: 20px;\n /* Rounded corners */\n transition: background-color 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n /* Smooth transitions */\n font-family: 'Poppins', sans-serif;\n /* Change font to Poppins */\n}\n\n.schedule-button:hover {\n background-color: #6d21f2;\n transform: translateX(-5px);\n /* Move button to the left */\n}\n\n.schedule-button .arrow {\n display: none;\n width: 20px;\n height: 20px;\n fill: #ffffff;\n opacity: 0;\n /* Initial opacity */\n transform: translateX(-20px) rotate(-45deg);\n /* Initial position */\n transition: opacity 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n /* Smooth transitions */\n}\n\n.schedule-button:hover .arrow {\n display: inline-block;\n opacity: 1;\n /* Fade in on hover */\n animation: slide-in 0.4s forwards;\n}\n\n@keyframes slide-in {\n from {\n transform: translateX(-50px) rotate(-45deg);\n opacity: 0.1;\n /* Slightly visible */\n }\n\n to {\n transform: translateX(0) rotate(-45deg);\n opacity: 1;\n /* Fully visible */\n }\n}",
"file_path": "/mnt/persist/workspace/Buttons/nkhlrjrs_hungry-pig-21.html"
},
"uniapp": {
"template": "<navigator class=\"schedule-button\" href=\"https://www.linkedin.com/in/nkhlrjrs/\"></navigator>\n Schedule a Call\n <view viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" class=\"arrow\"></view>\n <path fill=\"none\" d=\"M0 0h24v24H0z\"></path>\n <path d=\"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z\"></path>\n </svg>\n \n </a>",
"script": "export default {\n name: 'GalaxyHungryPig21',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by nkhlrjrs - Tags: button, accept call, Call Us, Schedule a call */\n/* CSS code */\n.schedule-button {\n display: inline-flex;\n align-items: center;\n padding: 20rpx 40rpx;\n background-color: #c49ff5;\n color: #ffffff;\n font-size: 32rpx;\n text-decoration: none;\n border-radius: 40rpx;\n /* Rounded corners */\n transition: background-color 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n /* Smooth transitions */\n font-family: 'Poppins', sans-serif;\n /* Change font to Poppins */\n}\n\n.schedule-button:hover {\n background-color: #6d21f2;\n transform: translateX(-10rpx);\n /* Move button to the left */\n}\n\n.schedule-button .arrow {\n display: none;\n width: 40rpx;\n height: 40rpx;\n fill: #ffffff;\n opacity: 0;\n /* Initial opacity */\n transform: translateX(-40rpx) rotate(-45deg);\n /* Initial position */\n transition: opacity 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n /* Smooth transitions */\n}\n\n.schedule-button:hover .arrow {\n display: inline-block;\n opacity: 1;\n /* Fade in on hover */\n animation: slide-in 0.4s forwards;\n}\n\n@keyframes slide-in {\n from {\n transform: translateX(-100rpx) rotate(-45deg);\n opacity: 0.1;\n /* Slightly visible */\n }\n\n to {\n transform: translateX(0) rotate(-45deg);\n opacity: 1;\n /* Fully visible */\n }\n}\n\n",
"component_name": "GalaxyHungryPig21"
},
"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": 1703,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:37.516Z",
"updated_at": "2025-07-31T07:55:37.516Z"
}