galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
117 lines • 5.16 kB
JSON
{
"id": "vinodjangid07_curly-panda-17",
"name": "curly-panda-17",
"category": "buttons",
"author": "vinodjangid07",
"description": "curly-panda-17 组件 (button, arrow, hover effect, back to top, scroll to top, animation, gradient, interactive)",
"tags": [
"button",
"arrow",
"hover effect",
"back to top",
"scroll to top",
"animation",
"gradient",
"interactive"
],
"original": {
"html": "<button class=\"Btn\">\n <svg height=\"1.2em\" class=\"arrow\" viewBox=\"0 0 512 512\"><path d=\"M233.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 173.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z\"></path></svg>\n<p class=\"text\">Back to Top</p>\n</button>",
"css": "/* From Uiverse.io by vinodjangid07 - Tags: button, arrow, hover effect, back to top, scroll to top */\n.Btn {\n width: 45px;\n height: 45px;\n background: linear-gradient(#44ea76, #39fad7);\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50%;\n cursor: pointer;\n position: relative;\n border: none;\n}\n\n.arrow path {\n fill: white;\n}\n\n.text {\n font-size: 0.7em;\n width: 100px;\n position: absolute;\n color: white;\n display: flex;\n align-items: center;\n justify-content: center;\n bottom: -18px;\n opacity: 0;\n transition-duration: .7s;\n}\n\n.Btn:hover .text {\n opacity: 1;\n transition-duration: .7s;\n}\n\n.Btn:hover .arrow {\n animation: slide-in-bottom .7s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;\n}\n\n@keyframes slide-in-bottom {\n 0% {\n transform: translateY(10px);\n opacity: 0;\n }\n\n 100% {\n transform: translateY(0);\n opacity: 1;\n }\n}",
"file_path": "/mnt/persist/workspace/Buttons/vinodjangid07_curly-panda-17.html"
},
"uniapp": {
"template": "<button class=\"Btn\"></button>\n <view height=\"1.2em\" class=\"arrow\" viewBox=\"0 0 512 512\"><path d=\"M233.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 173.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z\"></path></view>\n<text class=\"text\">Back to Top</text>\n</button>",
"script": "export default {\n name: 'GalaxyCurlyPanda17',\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: button, arrow, hover effect, back to top, scroll to top */\n.Btn {\n width: 90rpx;\n height: 90rpx;\n background: linear-gradient(#44ea76, #39fad7);\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50%;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n position: relative;\n border: none;\n}\n\n.arrow path {\n fill: white;\n}\n\n.text {\n font-size: 0.7em;\n width: 200rpx;\n position: absolute;\n color: white;\n display: flex;\n align-items: center;\n justify-content: center;\n bottom: -36rpx;\n opacity: 0;\n transition-duration: .7s;\n}\n\n.Btn:hover .text {\n opacity: 1;\n transition-duration: .7s;\n}\n\n.Btn:hover .arrow {\n animation: slide-in-bottom .7s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;\n}\n\n@keyframes slide-in-bottom {\n 0% {\n transform: translateY(20rpx);\n opacity: 0;\n }\n\n 100% {\n transform: translateY(0);\n opacity: 1;\n }\n}\n\n",
"component_name": "GalaxyCurlyPanda17"
},
"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": "medium",
"bundle_size": 1218,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:38.090Z",
"updated_at": "2025-07-31T07:55:38.090Z"
}