UNPKG

galaxy-uniapp-mcp-server

Version:

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

117 lines 6.74 kB
{ "id": "212004ALJI_fat-eagle-24", "name": "fat-eagle-24", "category": "buttons", "author": "212004ALJI", "description": "fat-eagle-24 组件 (button, glitch, animation, interactive)", "tags": [ "button", "glitch", "animation", "interactive" ], "original": { "html": "<button>\n GLITCH\n</button>", "css": "/* From Uiverse.io by 212004ALJI - Tags: button, glitch */\nbutton,button::after {\n padding: 10px 50px;\n font-size: 20px;\n border: none;\n border-radius: 5px;\n color: white;\n background-color: transparent;\n position: relative;\n}\n\nbutton::after {\n --move1: inset(50% 50% 50% 50%);\n --move2: inset(31% 0 40% 0);\n --move3: inset(39% 0 15% 0);\n --move4: inset(45% 0 40% 0);\n --move5: inset(45% 0 6% 0);\n --move6: inset(14% 0 61% 0);\n clip-path: var(--move1);\n content: 'GLITCH';\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n display: block;\n}\n\nbutton:hover::after {\n animation: glitch_4011 1s;\n text-shadow: 10 10px 10px black;\n animation-timing-function: steps(2, end);\n text-shadow: -3px -3px 0px #1df2f0, 3px 3px 0px #E94BE8;\n background-color: transparent;\n border: 3px solid rgb(0, 255, 213);\n}\n\nbutton:hover {\n text-shadow: -1px -1px 0px #1df2f0, 1px 1px 0px #E94BE8;\n}\n\nbutton:hover {\n background-color: transparent;\n border: 1px solid rgb(0, 255, 213);\n box-shadow: 0px 10px 10px -10px rgb(0, 255, 213);\n}\n\n@keyframes glitch_4011 {\n 0% {\n clip-path: var(--move1);\n transform: translate(0px,-10px);\n }\n\n 10% {\n clip-path: var(--move2);\n transform: translate(-10px,10px);\n }\n\n 20% {\n clip-path: var(--move3);\n transform: translate(10px,0px);\n }\n\n 30% {\n clip-path: var(--move4);\n transform: translate(-10px,10px);\n }\n\n 40% {\n clip-path: var(--move5);\n transform: translate(10px,-10px);\n }\n\n 50% {\n clip-path: var(--move6);\n transform: translate(-10px,10px);\n }\n\n 60% {\n clip-path: var(--move1);\n transform: translate(10px,-10px);\n }\n\n 70% {\n clip-path: var(--move3);\n transform: translate(-10px,10px);\n }\n\n 80% {\n clip-path: var(--move2);\n transform: translate(10px,-10px);\n }\n\n 90% {\n clip-path: var(--move4);\n transform: translate(-10px,10px);\n }\n\n 100% {\n clip-path: var(--move1);\n transform: translate(0);\n }\n}", "file_path": "/mnt/persist/workspace/Buttons/212004ALJI_fat-eagle-24.html" }, "uniapp": { "template": "<button></button>\n GLITCH\n</button>", "script": "export default {\n name: 'GalaxyFatEagle24',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by 212004ALJI - Tags: button, glitch */\nbutton,button::after {\n padding: 20rpx 100rpx;\n font-size: 40rpx;\n border: none;\n border-radius: 10rpx;\n color: white;\n background-color: transparent;\n position: relative;\n}\n\nbutton::after {\n --move1: inset(50% 50% 50% 50%);\n --move2: inset(31% 0 40% 0);\n --move3: inset(39% 0 15% 0);\n --move4: inset(45% 0 40% 0);\n --move5: inset(45% 0 6% 0);\n --move6: inset(14% 0 61% 0);\n \n content: 'GLITCH';\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n display: block;\n}\n\nbutton:hover::after {\n animation: glitch_4011 1s;\n /* #ifdef H5 */\n text-shadow: 10 20rpx 20rpx black;\n /* #endif */\n animation-timing-function: steps(2, end);\n /* #ifdef H5 */\n text-shadow: -6rpx -6rpx 0rpx #1df2f0, 6rpx 6rpx 0rpx #E94BE8;\n /* #endif */\n background-color: transparent;\n border: 6rpx solid rgb(0, 255, 213);\n}\n\nbutton:hover {\n /* #ifdef H5 */\n text-shadow: -2rpx -2rpx 0rpx #1df2f0, 2rpx 2rpx 0rpx #E94BE8;\n /* #endif */\n}\n\nbutton:hover {\n background-color: transparent;\n border: 2rpx solid rgb(0, 255, 213);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0rpx 20rpx 20rpx -20rpx rgb(0, 255, 213);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n@keyframes glitch_4011 {\n 0% {\n \n transform: translate(0rpx,-20rpx);\n }\n\n 10% {\n \n transform: translate(-20rpx,20rpx);\n }\n\n 20% {\n \n transform: translate(20rpx,0rpx);\n }\n\n 30% {\n \n transform: translate(-20rpx,20rpx);\n }\n\n 40% {\n \n transform: translate(20rpx,-20rpx);\n }\n\n 50% {\n \n transform: translate(-20rpx,20rpx);\n }\n\n 60% {\n \n transform: translate(20rpx,-20rpx);\n }\n\n 70% {\n \n transform: translate(-20rpx,20rpx);\n }\n\n 80% {\n \n transform: translate(20rpx,-20rpx);\n }\n\n 90% {\n \n transform: translate(-20rpx,20rpx);\n }\n\n 100% {\n \n transform: translate(0);\n }\n}\n\n\n", "component_name": "GalaxyFatEagle24" }, "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 属性", "不支持 text-shadow 属性", "不支持 clip-path 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 box-shadow 属性", "不支持 text-shadow 属性", "不支持 clip-path 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "high", "bundle_size": 1984, "render_cost": "high", "memory_usage": "high" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:32.418Z", "updated_at": "2025-07-31T07:55:32.418Z" }