UNPKG

galaxy-uniapp-mcp-server

Version:

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

121 lines 6.03 kB
{ "id": "flxderdev_fast-treefrog-50", "name": "fast-treefrog-50", "category": "buttons", "author": "flxderdev", "description": "fast-treefrog-50 组件 (gradient, button, modern, futuristic, animation, interactive)", "tags": [ "gradient", "button", "modern", "futuristic", "animation", "interactive" ], "original": { "html": "<button class=\"button\">HOVER ME</button>", "css": "/* From Uiverse.io by flxderdev - Tags: gradient, button, modern, futuristic */\n.button {\n height: 55px;\n width: 175px;\n margin: auto;\n align-items: center;\n border-radius: 50px;\n border: none;\n text-align: center;\n color: transparent;\n text-shadow: 0 0 0 rgb(255, 255, 255);\n font-size: 17px;\n font-weight: 500;\n text-transform: uppercase;\n text-decoration: none;\n box-sizing: border-box;\n cursor: pointer;\n transition: transform 50ms ease;\n background: linear-gradient(90deg, #5f03f4, #f441a5, #b81fff, #5f03f4);\n background-size: 400%;\n display: block;\n margin-right: auto;\n margin-left: auto;\n font-family: \"Montserrat\", sans-serif;\n}\n\n.button:hover {\n -webkit-box-shadow: 0px 0px 15px 0px rgba(155, 0, 194, 0.9);\n -moz-box-shadow: 0px 0px 15px 0px rgba(155, 0, 194, 0.9);\n box-shadow: 0px 0px 15px 0px rgba(155, 0, 194, 0.9);\n animation: animate 8s ease infinite;\n transition: box-shadow, 0.4s;\n border: none;\n font-size: 19px;\n transform: scale(1.05, 1.05);\n background: linear-gradient(90deg, #5f03f4, #f441a5, #b81fff, #5f03f4);\n background-size: 400%;\n}\n\n.button:hover:before {\n filter: blur(20px);\n opacity: 1;\n animation: animate 8s linear infinite;\n}\n\n@keyframes animate {\n 0% {\n background-position: 0%;\n }\n\n 100% {\n background-position: 400%;\n }\n}", "file_path": "/mnt/persist/workspace/Buttons/flxderdev_fast-treefrog-50.html" }, "uniapp": { "template": "<button class=\"button\"></button>HOVER ME</button>", "script": "export default {\n name: 'GalaxyFastTreefrog50',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by flxderdev - Tags: gradient, button, modern, futuristic */\n.button {\n height: 110rpx;\n width: 350rpx;\n margin: auto;\n align-items: center;\n border-radius: 100rpx;\n border: none;\n text-align: center;\n color: transparent;\n /* #ifdef H5 */\n text-shadow: 0 0 0 rgb(255, 255, 255);\n /* #endif */\n font-size: 34rpx;\n font-weight: 500;\n text-transform: uppercase;\n text-decoration: none;\n box-sizing: border-box;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n transition: transform 50ms ease;\n background: linear-gradient(90deg, #5f03f4, #f441a5, #b81fff, #5f03f4);\n background-size: 400%;\n display: block;\n margin-right: auto;\n margin-left: auto;\n font-family: \"Montserrat\", sans-serif;\n}\n\n.button:hover {\n -webkit-/* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0rpx 0rpx 30rpx 0rpx rgba(155, 0, 194, 0.9);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n -moz-/* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0rpx 0rpx 30rpx 0rpx rgba(155, 0, 194, 0.9);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0rpx 0rpx 30rpx 0rpx rgba(155, 0, 194, 0.9);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n animation: animate 8s ease infinite;\n transition: box-shadow, 0.4s;\n border: none;\n font-size: 38rpx;\n transform: scale(1.05, 1.05);\n background: linear-gradient(90deg, #5f03f4, #f441a5, #b81fff, #5f03f4);\n background-size: 400%;\n}\n\n.button:hover:before {\n \n opacity: 1;\n animation: animate 8s linear infinite;\n}\n\n@keyframes animate {\n 0% {\n background-position: 0%;\n }\n\n 100% {\n background-position: 400%;\n }\n}\n\n", "component_name": "GalaxyFastTreefrog50" }, "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 属性", "不支持 filter 属性", "不支持 cursor 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 box-shadow 属性", "不支持 text-shadow 属性", "不支持 filter 属性", "不支持 cursor 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 1357, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:36.748Z", "updated_at": "2025-07-31T07:55:36.748Z" }