galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
118 lines • 7.32 kB
JSON
{
"id": "vinodjangid07_funny-panther-79",
"name": "funny-panther-79",
"category": "buttons",
"author": "vinodjangid07",
"description": "funny-panther-79 组件 (tooltip, gradient, button, hover effect, faq, animation, interactive)",
"tags": [
"tooltip",
"gradient",
"button",
"hover effect",
"faq",
"animation",
"interactive"
],
"original": {
"html": "<button class=\"faq-button\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 320 512\">\n <path d=\"M80 160c0-35.3 28.7-64 64-64h32c35.3 0 64 28.7 64 64v3.6c0 21.8-11.1 42.1-29.4 53.8l-42.2 27.1c-25.2 16.2-40.4 44.1-40.4 74V320c0 17.7 14.3 32 32 32s32-14.3 32-32v-1.4c0-8.2 4.2-15.8 11-20.2l42.2-27.1c36.6-23.6 58.8-64.1 58.8-107.7V160c0-70.7-57.3-128-128-128H144C73.3 32 16 89.3 16 160c0 17.7 14.3 32 32 32s32-14.3 32-32zm80 320a40 40 0 1 0 0-80 40 40 0 1 0 0 80z\"></path>\n </svg>\n <span class=\"tooltip\">FAQ</span>\n</button>",
"css": "/* From Uiverse.io by vinodjangid07 - Tags: tooltip, gradient, button, hover effect, faq */\n.faq-button {\n width: 50px;\n height: 50px;\n border-radius: 50%;\n border: none;\n background-color: #ffe53b;\n background-image: linear-gradient(147deg, #ffe53b 0%, #ff2525 74%);\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.151);\n position: relative;\n}\n.faq-button svg {\n height: 1.5em;\n fill: white;\n}\n.faq-button:hover svg {\n animation: jello-vertical 0.7s both;\n}\n@keyframes jello-vertical {\n 0% {\n transform: scale3d(1, 1, 1);\n }\n 30% {\n transform: scale3d(0.75, 1.25, 1);\n }\n 40% {\n transform: scale3d(1.25, 0.75, 1);\n }\n 50% {\n transform: scale3d(0.85, 1.15, 1);\n }\n 65% {\n transform: scale3d(1.05, 0.95, 1);\n }\n 75% {\n transform: scale3d(0.95, 1.05, 1);\n }\n 100% {\n transform: scale3d(1, 1, 1);\n }\n}\n\n.tooltip {\n position: absolute;\n top: -20px;\n opacity: 0;\n background-color: #ffe53b;\n background-image: linear-gradient(147deg, #ffe53b 0%, #ff2525 74%);\n color: white;\n padding: 5px 10px;\n border-radius: 5px;\n display: flex;\n align-items: center;\n justify-content: center;\n transition-duration: 0.2s;\n pointer-events: none;\n letter-spacing: 0.5px;\n}\n\n.tooltip::before {\n position: absolute;\n content: \"\";\n width: 10px;\n height: 10px;\n background-color: #ff2525;\n background-size: 1000%;\n background-position: center;\n transform: rotate(45deg);\n bottom: -15%;\n transition-duration: 0.3s;\n}\n\n.faq-button:hover .tooltip {\n top: -40px;\n opacity: 1;\n transition-duration: 0.3s;\n}",
"file_path": "/mnt/persist/workspace/Buttons/vinodjangid07_funny-panther-79.html"
},
"uniapp": {
"template": "<button class=\"faq-button\"></button>\n <view xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 320 512\"></view>\n <path d=\"M80 160c0-35.3 28.7-64 64-64h32c35.3 0 64 28.7 64 64v3.6c0 21.8-11.1 42.1-29.4 53.8l-42.2 27.1c-25.2 16.2-40.4 44.1-40.4 74V320c0 17.7 14.3 32 32 32s32-14.3 32-32v-1.4c0-8.2 4.2-15.8 11-20.2l42.2-27.1c36.6-23.6 58.8-64.1 58.8-107.7V160c0-70.7-57.3-128-128-128H144C73.3 32 16 89.3 16 160c0 17.7 14.3 32 32 32s32-14.3 32-32zm80 320a40 40 0 1 0 0-80 40 40 0 1 0 0 80z\"></path>\n </svg>\n <text class=\"tooltip\">FAQ</text>\n</button>",
"script": "export default {\n name: 'GalaxyFunnyPanther79',\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: tooltip, gradient, button, hover effect, faq */\n.faq-button {\n width: 100rpx;\n height: 100rpx;\n border-radius: 50%;\n border: none;\n background-color: #ffe53b;\n background-image: linear-gradient(147deg, #ffe53b 0%, #ff2525 74%);\n display: flex;\n align-items: center;\n justify-content: center;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0rpx 20rpx 20rpx rgba(0, 0, 0, 0.151);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n position: relative;\n}\n.faq-button svg {\n height: 1.5em;\n fill: white;\n}\n.faq-button:hover svg {\n animation: jello-vertical 0.7s both;\n}\n@keyframes jello-vertical {\n 0% {\n transform: scale3d(1, 1, 1);\n }\n 30% {\n transform: scale3d(0.75, 1.25, 1);\n }\n 40% {\n transform: scale3d(1.25, 0.75, 1);\n }\n 50% {\n transform: scale3d(0.85, 1.15, 1);\n }\n 65% {\n transform: scale3d(1.05, 0.95, 1);\n }\n 75% {\n transform: scale3d(0.95, 1.05, 1);\n }\n 100% {\n transform: scale3d(1, 1, 1);\n }\n}\n\n.tooltip {\n position: absolute;\n top: -40rpx;\n opacity: 0;\n background-color: #ffe53b;\n background-image: linear-gradient(147deg, #ffe53b 0%, #ff2525 74%);\n color: white;\n padding: 10rpx 20rpx;\n border-radius: 10rpx;\n display: flex;\n align-items: center;\n justify-content: center;\n transition-duration: 0.2s;\n pointer-events: none;\n letter-spacing: 1rpx;\n}\n\n.tooltip::before {\n position: absolute;\n content: \"\";\n width: 20rpx;\n height: 20rpx;\n background-color: #ff2525;\n background-size: 1000%;\n background-position: center;\n transform: rotate(45deg);\n bottom: -15%;\n transition-duration: 0.3s;\n}\n\n.faq-button:hover .tooltip {\n top: -80rpx;\n opacity: 1;\n transition-duration: 0.3s;\n}\n\n",
"component_name": "GalaxyFunnyPanther79"
},
"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": [
"不支持 box-shadow 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 box-shadow 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "medium",
"bundle_size": 2174,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:38.128Z",
"updated_at": "2025-07-31T07:55:38.128Z"
}