galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
117 lines • 5.17 kB
JSON
{
"id": "vinodjangid07_new-mole-80",
"name": "new-mole-80",
"category": "buttons",
"author": "vinodjangid07",
"description": "new-mole-80 组件 (gradient, button, message, hover effect, animation, interactive)",
"tags": [
"gradient",
"button",
"message",
"hover effect",
"animation",
"interactive"
],
"original": {
"html": "<button class=\"Btn\">\n <svg class=\"svgIcon\" viewBox=\"0 0 512 512\" height=\"1.2em\"><path d=\"M48 64C21.5 64 0 85.5 0 112c0 15.1 7.1 29.3 19.2 38.4L236.8 313.6c11.4 8.5 27 8.5 38.4 0L492.8 150.4c12.1-9.1 19.2-23.3 19.2-38.4c0-26.5-21.5-48-48-48H48zM0 176V384c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V176L294.4 339.2c-22.8 17.1-54 17.1-76.8 0L0 176z\"></path></svg>\n Messages\n</button>",
"css": "/* From Uiverse.io by vinodjangid07 - Tags: gradient, button, message, hover effect */\n.Btn {\n width: 180px;\n height: 45px;\n border-radius: 40px;\n border: none;\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 8px;\n color: white;\n background-color: transparent;\n cursor: pointer;\n position: relative;\n background: linear-gradient( to right,#44ea76, #39fad7);\n transition-duration: .3s;\n letter-spacing: 1.4px;\n}\n\n.svgIcon path {\n fill: white;\n}\n\n.Btn:hover {\n transform: scale(0.95);\n transition-duration: .3s;\n}\n\n.Btn::before {\n content: \"\";\n position: absolute;\n width: 80%;\n height: 30%;\n background: linear-gradient( to right,#44ea76, #39fad7);\n filter: blur(10px);\n bottom: -3px;\n z-index: -1;\n transition-duration: .3s;\n}\n\n.Btn:hover::before {\n bottom: -1px;\n filter: blur(5px);\n transition-duration: .3s;\n}",
"file_path": "/mnt/persist/workspace/Buttons/vinodjangid07_new-mole-80.html"
},
"uniapp": {
"template": "<button class=\"Btn\"></button>\n <view class=\"svgIcon\" viewBox=\"0 0 512 512\" height=\"1.2em\"><path d=\"M48 64C21.5 64 0 85.5 0 112c0 15.1 7.1 29.3 19.2 38.4L236.8 313.6c11.4 8.5 27 8.5 38.4 0L492.8 150.4c12.1-9.1 19.2-23.3 19.2-38.4c0-26.5-21.5-48-48-48H48zM0 176V384c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V176L294.4 339.2c-22.8 17.1-54 17.1-76.8 0L0 176z\"></path></view>\n Messages\n</button>",
"script": "export default {\n name: 'GalaxyNewMole80',\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, message, hover effect */\n.Btn {\n width: 360rpx;\n height: 90rpx;\n border-radius: 80rpx;\n border: none;\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 16rpx;\n color: white;\n background-color: transparent;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n position: relative;\n background: linear-gradient( to right,#44ea76, #39fad7);\n transition-duration: .3s;\n letter-spacing: 2.8rpx;\n}\n\n.svgIcon path {\n fill: white;\n}\n\n.Btn:hover {\n transform: scale(0.95);\n transition-duration: .3s;\n}\n\n.Btn::before {\n content: \"\";\n position: absolute;\n width: 80%;\n height: 30%;\n background: linear-gradient( to right,#44ea76, #39fad7);\n \n bottom: -6rpx;\n z-index: -1;\n transition-duration: .3s;\n}\n\n.Btn:hover::before {\n bottom: -2rpx;\n \n transition-duration: .3s;\n}\n",
"component_name": "GalaxyNewMole80"
},
"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": [
"不支持 filter 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 filter 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "medium",
"bundle_size": 1253,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:38.202Z",
"updated_at": "2025-07-31T07:55:38.202Z"
}