UNPKG

galaxy-uniapp-mcp-server

Version:

Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成

114 lines 6.85 kB
{ "id": "A3zra_empty-lionfish-28", "name": "empty-lionfish-28", "category": "buttons", "author": "A3zra", "description": "empty-lionfish-28 组件 (button, 3d cool effect, 3d hover, animation, interactive)", "tags": [ "button", "3d cool effect", "3d hover", "animation", "interactive" ], "original": { "html": "<button alt=\"BECOME A MEMBER\">\n <i>B</i>\n <i>E</i>\n <i>C</i>\n <i>O</i>\n <i>M</i>\n <i>E</i>\n <i>&nbsp;</i>\n <i>A</i>\n <i>&nbsp;</i>\n <i>M</i>\n <i>E</i>\n <i>M</i>\n <i>B</i>\n <i>E</i>\n <i>R</i>\n</button>", "css": "/* From Uiverse.io by A3zra - Tags: button, 3d cool effect, 3d hover */\nbutton {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 50px;\n position: relative;\n padding: 0 20px;\n font-size: 18px;\n text-transform: uppercase;\n border: 0;\n background-color: #E15331;\n border-radius: 12px;\n overflow: hidden;\n transition: 31ms cubic-bezier(.5, .7, .4, 1);\n width: 300px;\n}\n\nbutton:before {\n content: attr(alt);\n display: flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n inset: 0;\n font-size: 15px;\n font-weight: bold;\n color: white;\n letter-spacing: 4px;\n opacity: 1;\n}\n\nbutton:active {\n box-shadow: none;\n transform: translateY(7px);\n transition: 35ms cubic-bezier(.5, .7, .4, 1);\n}\n\nbutton:hover:before {\n transition: all .0s;\n transform: translateY(100%);\n opacity: 0;\n color: #E15331;\n}\n\nbutton i {\n color: white;\n font-size: 15px;\n font-weight: bold;\n letter-spacing: 4px;\n font-style: normal;\n transition: all 2s ease;\n transform: translateY(-20px);\n opacity: 0;\n}\n\nbutton:hover i {\n transition: all .2s ease;\n transform: translateY(0px);\n opacity: 1;\n}\n\nbutton:hover i:nth-child(1) {\n transition-delay: 0.045s;\n}\n\nbutton:hover i:nth-child(2) {\n transition-delay: calc(0.045s * 3);\n}\n\nbutton:hover i:nth-child(3) {\n transition-delay: calc(0.045s * 4);\n}\n\nbutton:hover i:nth-child(4) {\n transition-delay: calc(0.045s * 5);\n}\n\nbutton:hover i:nth-child(6) {\n transition-delay: calc(0.045s * 6);\n}\n\nbutton:hover i:nth-child(7) {\n transition-delay: calc(0.045s * 7);\n}\n\nbutton:hover i:nth-child(8) {\n transition-delay: calc(0.045s * 8);\n}\n\nbutton:hover i:nth-child(9) {\n transition-delay: calc(0.045s * 9);\n}\n\nbutton:hover i:nth-child(10) {\n transition-delay: calc(0.045s * 10);\n}", "file_path": "/mnt/persist/workspace/Buttons/A3zra_empty-lionfish-28.html" }, "uniapp": { "template": "<button alt=\"BECOME A MEMBER\"></button>\n <i>B</i>\n <i>E</i>\n <i>C</i>\n <i>O</i>\n <i>M</i>\n <i>E</i>\n <i>&nbsp;</i>\n <i>A</i>\n <i>&nbsp;</i>\n <i>M</i>\n <i>E</i>\n <i>M</i>\n <i>B</i>\n <i>E</i>\n <i>R</i>\n</button>", "script": "export default {\n name: 'GalaxyEmptyLionfish28',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by A3zra - Tags: button, 3d cool effect, 3d hover */\nbutton {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 100rpx;\n position: relative;\n padding: 0 40rpx;\n font-size: 36rpx;\n text-transform: uppercase;\n border: 0;\n background-color: #E15331;\n border-radius: 24rpx;\n overflow: hidden;\n transition: 31ms cubic-bezier(.5, .7, .4, 1);\n width: 600rpx;\n}\n\nbutton:before {\n content: attr(alt);\n display: flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n inset: 0;\n font-size: 30rpx;\n font-weight: bold;\n color: white;\n letter-spacing: 8rpx;\n opacity: 1;\n}\n\nbutton:active {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: none;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transform: translateY(14rpx);\n transition: 35ms cubic-bezier(.5, .7, .4, 1);\n}\n\nbutton:hover:before {\n transition: all .0s;\n transform: translateY(100%);\n opacity: 0;\n color: #E15331;\n}\n\nbutton i {\n color: white;\n font-size: 30rpx;\n font-weight: bold;\n letter-spacing: 8rpx;\n font-style: normal;\n transition: all 2s ease;\n transform: translateY(-40rpx);\n opacity: 0;\n}\n\nbutton:hover i {\n transition: all .2s ease;\n transform: translateY(0rpx);\n opacity: 1;\n}\n\nbutton:hover i:nth-child(1) {\n transition-delay: 0.045s;\n}\n\nbutton:hover i:nth-child(2) {\n transition-delay: calc(0.045s * 3);\n}\n\nbutton:hover i:nth-child(3) {\n transition-delay: calc(0.045s * 4);\n}\n\nbutton:hover i:nth-child(4) {\n transition-delay: calc(0.045s * 5);\n}\n\nbutton:hover i:nth-child(6) {\n transition-delay: calc(0.045s * 6);\n}\n\nbutton:hover i:nth-child(7) {\n transition-delay: calc(0.045s * 7);\n}\n\nbutton:hover i:nth-child(8) {\n transition-delay: calc(0.045s * 8);\n}\n\nbutton:hover i:nth-child(9) {\n transition-delay: calc(0.045s * 9);\n}\n\nbutton:hover i:nth-child(10) {\n transition-delay: calc(0.045s * 10);\n}\n\n", "component_name": "GalaxyEmptyLionfish28" }, "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 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 box-shadow 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 1999, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:32.460Z", "updated_at": "2025-07-31T07:55:32.460Z" }