galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
118 lines • 5.5 kB
JSON
{
"id": "abuayaan01_tall-mayfly-66",
"name": "tall-mayfly-66",
"category": "buttons",
"author": "abuayaan01",
"description": "tall-mayfly-66 组件 (button, water, btn, waves, 3d button, Button design, animation)",
"tags": [
"button",
"water",
"btn",
"waves",
"3d button",
"Button design",
"animation"
],
"original": {
"html": "<button class=\"button\">\n <span class=\"liquid\"></span> \n <span class=\"btn-txt\">Click Me</span>\n</button>",
"css": "/* From Uiverse.io by abuayaan01 - Tags: button, water, btn, waves, 3d button, Button design */\n.button {\n background-color: #000;\n border: 0px;\n outline: 0px;\n color: #fff;\n width: 200px;\n padding: 20px;\n border-radius: 50px;\n position: relative;\n overflow: hidden;\n cursor: pointer;\n}\n\n.liquid {\n background-color: #2893eb;\n width: 200px;\n height: 70px;\n position: absolute;\n bottom: 0;\n left: 0;\n box-shadow: inset 5px -5px 25px #104e81,\n inset -5px 0px 25px #104e81;\n}\n\n.liquid::after {\n content: '';\n width: 450px;\n height: 400px;\n background: #000;\n z-index: 1;\n position: absolute;\n left: -110px;\n top: -380px;\n border-radius: 45%;\n animation: animate 5s linear 2s infinite;\n}\n\n.liquid::before {\n content: '';\n width: 450px;\n height: 400px;\n background-color: rgb(68, 160, 235);\n z-index: 1;\n position: absolute;\n left: -110px;\n top: -380px;\n border-radius: 40%;\n animation: animate 5s linear 1.8s infinite;\n}\n\n.btn-txt {\n position: relative;\n z-index: 1;\n font-size: 22px;\n font-family: sans-serif;\n letter-spacing: 2px;\n}\n\n@keyframes animate {\n from {\n transform: rotate(0deg);\n }\n\n to {\n transform: rotate(360deg);\n }\n}",
"file_path": "/mnt/persist/workspace/Buttons/abuayaan01_tall-mayfly-66.html"
},
"uniapp": {
"template": "<button class=\"button\"></button>\n <text class=\"liquid\"></text> \n <text class=\"btn-txt\">Click Me</text>\n</button>",
"script": "export default {\n name: 'GalaxyTallMayfly66',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by abuayaan01 - Tags: button, water, btn, waves, 3d button, Button design */\n.button {\n background-color: #000;\n border: 0rpx;\n outline: 0rpx;\n color: #fff;\n width: 400rpx;\n padding: 40rpx;\n border-radius: 100rpx;\n position: relative;\n overflow: hidden;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n}\n\n.liquid {\n background-color: #2893eb;\n width: 400rpx;\n height: 140rpx;\n position: absolute;\n bottom: 0;\n left: 0;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset 10rpx -10rpx 50rpx #104e81,\n inset -10rpx 0rpx 50rpx #104e81;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.liquid::after {\n content: '';\n width: 900rpx;\n height: 800rpx;\n background: #000;\n z-index: 1;\n position: absolute;\n left: -220rpx;\n top: -760rpx;\n border-radius: 45%;\n animation: animate 5s linear 2s infinite;\n}\n\n.liquid::before {\n content: '';\n width: 900rpx;\n height: 800rpx;\n background-color: rgb(68, 160, 235);\n z-index: 1;\n position: absolute;\n left: -220rpx;\n top: -760rpx;\n border-radius: 40%;\n animation: animate 5s linear 1.8s infinite;\n}\n\n.btn-txt {\n position: relative;\n z-index: 1;\n font-size: 44rpx;\n font-family: sans-serif;\n letter-spacing: 4rpx;\n}\n\n@keyframes animate {\n from {\n transform: rotate(0deg);\n }\n\n to {\n transform: rotate(360deg);\n }\n}\n\n\n",
"component_name": "GalaxyTallMayfly66"
},
"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": 1294,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:35.403Z",
"updated_at": "2025-07-31T07:55:35.403Z"
}