UNPKG

galaxy-uniapp-mcp-server

Version:

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

116 lines 6.62 kB
{ "id": "MuhammadHasann_old-wombat-33", "name": "old-wombat-33", "category": "buttons", "author": "MuhammadHasann", "description": "old-wombat-33 组件 (button, animation, gradient)", "tags": [ "button", "animation", "gradient" ], "original": { "html": "<button>\n Button\n</button>", "css": "/* From Uiverse.io by MuhammadHasann - Tags: button */\nbutton {\n position: relative;\n padding: 18px 55px;\n font-size: 15px;\n font-weight: bold;\n color: #fff;\n background: linear-gradient(87deg, #6d67e4, #7743db, #4e31aa, #6d67e4, #6d67e4);\n background-size: 600% 600%;\n border: 3px solid #7743db;\n border-radius: 8px;\n /* filter: drop-shadow(0 0 4px #9F73AB); */\n box-shadow: inset 0 0 10px 1px #7743db, 0 0 10px 5px #7743db;\n cursor: pointer;\n transition: all 0.5s;\n animation: GradientAnimation 25s ease infinite;\n}\n\nbutton::after {\n content: \"\";\n position: absolute;\n width: 202px;\n height: 54px;\n top: 0;\n left: -17px;\n border: 5px solid #453c67;\n border-width: 0 2px 4px 0;\n border-radius: 100%;\n filter: drop-shadow(0px 0px 6px rgba(78, 49, 180, 1));\n transform: rotate(-30deg);\n animation: LinerAfter 15s ease infinite;\n}\n\nbutton::before {\n content: \"\";\n position: absolute;\n width: 200px;\n height: 50px;\n top: 0;\n left: -20px;\n border: 5px solid #6d67e4;\n border-width: 0 12px 8px 4px;\n border-radius: 100%;\n filter: drop-shadow(0px 0px 6px rgba(109, 103, 228, 1));\n /* box-shadow: inset 0 0 10px 1px #4E31AA, 0 0 10px 5px #4E31AA; */\n transform: rotate(-30deg);\n transition: all 0.5s;\n animation: LinerBefore 15s ease infinite;\n}\n\n@keyframes GradientAnimation {\n 0% {\n background-position: 0% 50%;\n }\n\n 50% {\n background-position: 100% 50%;\n }\n\n 100% {\n background-position: 0% 50%;\n }\n}\n\n@keyframes LinerAfter {\n 0% {\n left: -27px;\n height: 54px;\n }\n\n 50% {\n left: -7px;\n height: 37px;\n }\n\n 100% {\n left: -27px;\n height: 54px;\n }\n}\n\n@keyframes LinerBefore {\n 0% {\n left: -30px;\n height: 50px;\n }\n\n 50% {\n left: -10px;\n height: 33px;\n }\n\n 100% {\n left: -30px;\n height: 50px;\n }\n}", "file_path": "/mnt/persist/workspace/Buttons/MuhammadHasann_old-wombat-33.html" }, "uniapp": { "template": "<button></button>\n Button\n</button>", "script": "export default {\n name: 'GalaxyOldWombat33',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by MuhammadHasann - Tags: button */\nbutton {\n position: relative;\n padding: 36rpx 110rpx;\n font-size: 30rpx;\n font-weight: bold;\n color: #fff;\n background: linear-gradient(87deg, #6d67e4, #7743db, #4e31aa, #6d67e4, #6d67e4);\n background-size: 600% 600%;\n border: 6rpx solid #7743db;\n border-radius: 16rpx;\n /* */\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset 0 0 20rpx 2rpx #7743db, 0 0 20rpx 10rpx #7743db;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n transition: all 0.5s;\n animation: GradientAnimation 25s ease infinite;\n}\n\nbutton::after {\n content: \"\";\n position: absolute;\n width: 404rpx;\n height: 108rpx;\n top: 0;\n left: -34rpx;\n border: 10rpx solid #453c67;\n border-width: 0 4rpx 8rpx 0;\n border-radius: 100%;\n \n transform: rotate(-30deg);\n animation: LinerAfter 15s ease infinite;\n}\n\nbutton::before {\n content: \"\";\n position: absolute;\n width: 400rpx;\n height: 100rpx;\n top: 0;\n left: -40rpx;\n border: 10rpx solid #6d67e4;\n border-width: 0 24rpx 16rpx 8rpx;\n border-radius: 100%;\n \n /* /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset 0 0 20rpx 2rpx #4E31AA, 0 0 20rpx 10rpx #4E31AA;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */ */\n transform: rotate(-30deg);\n transition: all 0.5s;\n animation: LinerBefore 15s ease infinite;\n}\n\n@keyframes GradientAnimation {\n 0% {\n background-position: 0% 50%;\n }\n\n 50% {\n background-position: 100% 50%;\n }\n\n 100% {\n background-position: 0% 50%;\n }\n}\n\n@keyframes LinerAfter {\n 0% {\n left: -54rpx;\n height: 108rpx;\n }\n\n 50% {\n left: -14rpx;\n height: 74rpx;\n }\n\n 100% {\n left: -54rpx;\n height: 108rpx;\n }\n}\n\n@keyframes LinerBefore {\n 0% {\n left: -60rpx;\n height: 100rpx;\n }\n\n 50% {\n left: -20rpx;\n height: 66rpx;\n }\n\n 100% {\n left: -60rpx;\n height: 100rpx;\n }\n}\n\n", "component_name": "GalaxyOldWombat33" }, "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 属性", "不支持 filter 属性", "不支持 cursor 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 box-shadow 属性", "不支持 filter 属性", "不支持 cursor 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 1823, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:34.054Z", "updated_at": "2025-07-31T07:55:34.054Z" }