UNPKG

galaxy-uniapp-mcp-server

Version:

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

115 lines 6.83 kB
{ "id": "barisdogansutcu_loud-mayfly-89", "name": "loud-mayfly-89", "category": "buttons", "author": "barisdogansutcu", "description": "loud-mayfly-89 组件 (button, hover, active, smooth, animation, interactive)", "tags": [ "button", "hover", "active", "smooth", "animation", "interactive" ], "original": { "html": "<button alt=\"tony stark\">\n <i>t</i>\n <i>o</i>\n <i>n</i>\n <i>y</i>\n <i>&nbsp;</i>\n <i>s</i>\n <i>t</i>\n <i>a</i>\n <i>r</i>\n <i>k</i>\n</button>", "css": "/* From Uiverse.io by barisdogansutcu - Tags: button, hover, active, smooth */\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 box-shadow: hsl(210deg 87% 36%) 0px 7px 0px 0px;\n background-color: hsl(210deg 100% 44%);\n border-radius: 12px;\n overflow: hidden;\n transition: 31ms cubic-bezier(.5, .7, .4, 1);\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}\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/barisdogansutcu_loud-mayfly-89.html" }, "uniapp": { "template": "<button alt=\"tony stark\"></button>\n <i>t</i>\n <i>o</i>\n <i>n</i>\n <i>y</i>\n <i>&nbsp;</i>\n <i>s</i>\n <i>t</i>\n <i>a</i>\n <i>r</i>\n <i>k</i>\n</button>", "script": "export default {\n name: 'GalaxyLoudMayfly89',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by barisdogansutcu - Tags: button, hover, active, smooth */\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 /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: hsl(210deg 87% 36%) 0rpx 14rpx 0rpx 0rpx;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n background-color: hsl(210deg 100% 44%);\n border-radius: 24rpx;\n overflow: hidden;\n transition: 31ms cubic-bezier(.5, .7, .4, 1);\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}\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", "component_name": "GalaxyLoudMayfly89" }, "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": 1917, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:35.892Z", "updated_at": "2025-07-31T07:55:35.892Z" }