galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
116 lines • 6.84 kB
JSON
{
"id": "vinodjangid07_nervous-gecko-43",
"name": "nervous-gecko-43",
"category": "buttons",
"author": "vinodjangid07",
"description": "nervous-gecko-43 组件 (gradient, button, chat, hover effect, interactive)",
"tags": [
"gradient",
"button",
"chat",
"hover effect",
"interactive"
],
"original": {
"html": "<button class=\"chatBtn\">\n <svg height=\"1.6em\" fill=\"white\" xml:space=\"preserve\" viewBox=\"0 0 1000 1000\" y=\"0px\" x=\"0px\" version=\"1.1\">\n<path d=\"M881.1,720.5H434.7L173.3,941V720.5h-54.4C58.8,720.5,10,671.1,10,610.2v-441C10,108.4,58.8,59,118.9,59h762.2C941.2,59,990,108.4,990,169.3v441C990,671.1,941.2,720.5,881.1,720.5L881.1,720.5z M935.6,169.3c0-30.4-24.4-55.2-54.5-55.2H118.9c-30.1,0-54.5,24.7-54.5,55.2v441c0,30.4,24.4,55.1,54.5,55.1h54.4h54.4v110.3l163.3-110.2H500h381.1c30.1,0,54.5-24.7,54.5-55.1V169.3L935.6,169.3z M717.8,444.8c-30.1,0-54.4-24.7-54.4-55.1c0-30.4,24.3-55.2,54.4-55.2c30.1,0,54.5,24.7,54.5,55.2C772.2,420.2,747.8,444.8,717.8,444.8L717.8,444.8z M500,444.8c-30.1,0-54.4-24.7-54.4-55.1c0-30.4,24.3-55.2,54.4-55.2c30.1,0,54.4,24.7,54.4,55.2C554.4,420.2,530.1,444.8,500,444.8L500,444.8z M282.2,444.8c-30.1,0-54.5-24.7-54.5-55.1c0-30.4,24.4-55.2,54.5-55.2c30.1,0,54.4,24.7,54.4,55.2C336.7,420.2,312.3,444.8,282.2,444.8L282.2,444.8z\"></path>\n</svg>\n<span class=\"tooltip\">Chat</span>\n</button>",
"css": "/* From Uiverse.io by vinodjangid07 - Tags: gradient, button, chat, hover effect */\n.chatBtn {\n width: 55px;\n height: 55px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50%;\n border: none;\n background-color: #FFE53B;\n background-image: linear-gradient(147deg, #FFE53B, #FF2525,#FFE53B);\n cursor: pointer;\n padding-top: 3px;\n box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.164);\n position: relative;\n background-size: 300%;\n background-position: left;\n transition-duration: 1s;\n}\n\n.tooltip {\n position: absolute;\n top: -40px;\n opacity: 0;\n background-color: rgb(255, 180, 82);\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: .5s;\n pointer-events: none;\n letter-spacing: 0.5px;\n}\n\n.chatBtn:hover .tooltip {\n opacity: 1;\n transition-duration: .5s;\n}\n\n.chatBtn:hover {\n background-position: right;\n transition-duration: 1s;\n}",
"file_path": "/mnt/persist/workspace/Buttons/vinodjangid07_nervous-gecko-43.html"
},
"uniapp": {
"template": "<button class=\"chatBtn\"></button>\n <view height=\"1.6em\" fill=\"white\" xml:space=\"preserve\" viewBox=\"0 0 1000 1000\" y=\"0px\" x=\"0px\" version=\"1.1\"></view>\n<path d=\"M881.1,720.5H434.7L173.3,941V720.5h-54.4C58.8,720.5,10,671.1,10,610.2v-441C10,108.4,58.8,59,118.9,59h762.2C941.2,59,990,108.4,990,169.3v441C990,671.1,941.2,720.5,881.1,720.5L881.1,720.5z M935.6,169.3c0-30.4-24.4-55.2-54.5-55.2H118.9c-30.1,0-54.5,24.7-54.5,55.2v441c0,30.4,24.4,55.1,54.5,55.1h54.4h54.4v110.3l163.3-110.2H500h381.1c30.1,0,54.5-24.7,54.5-55.1V169.3L935.6,169.3z M717.8,444.8c-30.1,0-54.4-24.7-54.4-55.1c0-30.4,24.3-55.2,54.4-55.2c30.1,0,54.5,24.7,54.5,55.2C772.2,420.2,747.8,444.8,717.8,444.8L717.8,444.8z M500,444.8c-30.1,0-54.4-24.7-54.4-55.1c0-30.4,24.3-55.2,54.4-55.2c30.1,0,54.4,24.7,54.4,55.2C554.4,420.2,530.1,444.8,500,444.8L500,444.8z M282.2,444.8c-30.1,0-54.5-24.7-54.5-55.1c0-30.4,24.4-55.2,54.5-55.2c30.1,0,54.4,24.7,54.4,55.2C336.7,420.2,312.3,444.8,282.2,444.8L282.2,444.8z\"></path>\n</svg>\n<text class=\"tooltip\">Chat</text>\n</button>",
"script": "export default {\n name: 'GalaxyNervousGecko43',\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: gradient, button, chat, hover effect */\n.chatBtn {\n width: 110rpx;\n height: 110rpx;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50%;\n border: none;\n background-color: #FFE53B;\n background-image: linear-gradient(147deg, #FFE53B, #FF2525,#FFE53B);\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n padding-top: 6rpx;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 10rpx 10rpx 20rpx rgba(0, 0, 0, 0.164);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n position: relative;\n background-size: 300%;\n background-position: left;\n transition-duration: 1s;\n}\n\n.tooltip {\n position: absolute;\n top: -80rpx;\n opacity: 0;\n background-color: rgb(255, 180, 82);\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: .5s;\n pointer-events: none;\n letter-spacing: 1rpx;\n}\n\n.chatBtn:hover .tooltip {\n opacity: 1;\n transition-duration: .5s;\n}\n\n.chatBtn:hover {\n background-position: right;\n transition-duration: 1s;\n}\n",
"component_name": "GalaxyNervousGecko43"
},
"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": "low",
"bundle_size": 1987,
"render_cost": "low",
"memory_usage": "low"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:38.184Z",
"updated_at": "2025-07-31T07:55:38.184Z"
}