UNPKG

galaxy-uniapp-mcp-server

Version:

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

94 lines 6.13 kB
{ "id": "Rodrypaladin_lazy-starfish-57", "name": "lazy-starfish-57", "category": "loaders", "author": "Rodrypaladin", "description": "lazy-starfish-57 组件 (animation, loader, animated, colorful, color, multicolor, gradient)", "tags": [ "animation", "loader", "animated", "colorful", "color", "multicolor", "gradient" ], "original": { "html": "<div class=\"loader\">\n <div class=\"loader-circle\"></div>\n <div class=\"loader-circle\"></div>\n <div class=\"loader-circle\"></div>\n</div>", "css": "/* From Uiverse.io by Rodrypaladin - Tags: animation, loader, animated, colorful, color, multicolor */\n.loader {\n width: 70px;\n height: 190px;\n background-image: linear-gradient(to right bottom, #000000, #141414, #202020, #2d2d2d, #3a3a3a);\n border: 5px solid black;\n border-radius: 18px;\n position: relative;\n display: flex;\n flex-flow: row wrap;\n justify-content: center;\n align-items: center;\n padding: 5px 0;\n}\n\n.loader:after {\n content: \"\";\n position: absolute;\n top: 100%;\n right: 50%;\n transform: translate(50%, -50%);\n width: 10px;\n height: 200px;\n background-color: rgb(20, 20, 20);\n z-index: -1000;\n border: 5px solid black;\n}\n\n.loader-circle {\n width: 50px;\n height: 50px;\n border-radius: 50%;\n position: relative;\n}\n\n.loader-circle::after {\n position: absolute;\n content: \"\";\n top: 50%;\n right: 50%;\n transform: translate(50%, -50%);\n height: 80%;\n width: 80%;\n background-image: linear-gradient(\n to right bottom,\n rgba(255, 255, 255, 0.05),\n rgba(255, 255, 255, 0.1),\n rgba(255, 255, 255, 0.2),\n rgba(255, 255, 255, 0.3),\n rgba(255, 255, 255, 0.4),\n rgba(255, 255, 255, 0.5)\n );\n border-radius: 50%;\n}\n\n.loader-circle:nth-child(1) {\n background-color: red;\n animation: changeGrayscale 1s linear infinite;\n animation-delay: 0.15s;\n}\n\n.loader-circle:nth-child(2) {\n background-color: rgb(255, 200, 0);\n animation: changeGrayscale 1s linear infinite;\n animation-delay: 0.3s;\n}\n\n.loader-circle:nth-child(3) {\n background-color: rgb(36, 182, 0);\n animation: changeGrayscale 1s linear infinite;\n animation-delay: 0.45s;\n}\n\n@keyframes changeGrayscale {\n 0%, 100% {\n filter: brightness(0);\n /* En grayscale al principio y al final */\n }\n\n 50% {\n filter: grayscale(0);\n /* Sin grayscale en la mitad de la animación */\n }\n}", "file_path": "/mnt/persist/workspace/loaders/Rodrypaladin_lazy-starfish-57.html" }, "uniapp": { "template": "<view class=\"loader\"></view>\n <view class=\"loader-circle\"></view>\n <view class=\"loader-circle\"></view>\n <view class=\"loader-circle\"></view>\n</div>", "script": "export default {\n name: 'GalaxyLazyStarfish57',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by Rodrypaladin - Tags: animation, loader, animated, colorful, color, multicolor */\n.loader {\n width: 140rpx;\n height: 380rpx;\n background-image: linear-gradient(to right bottom, #000000, #141414, #202020, #2d2d2d, #3a3a3a);\n border: 10rpx solid black;\n border-radius: 36rpx;\n position: relative;\n display: flex;\n flex-flow: row wrap;\n justify-content: center;\n align-items: center;\n padding: 10rpx 0;\n}\n\n.loader:after {\n content: \"\";\n position: absolute;\n top: 100%;\n right: 50%;\n transform: translate(50%, -50%);\n width: 20rpx;\n height: 400rpx;\n background-color: rgb(20, 20, 20);\n z-index: -1000;\n border: 10rpx solid black;\n}\n\n.loader-circle {\n width: 100rpx;\n height: 100rpx;\n border-radius: 50%;\n position: relative;\n}\n\n.loader-circle::after {\n position: absolute;\n content: \"\";\n top: 50%;\n right: 50%;\n transform: translate(50%, -50%);\n height: 80%;\n width: 80%;\n background-image: linear-gradient(\n to right bottom,\n rgba(255, 255, 255, 0.05),\n rgba(255, 255, 255, 0.1),\n rgba(255, 255, 255, 0.2),\n rgba(255, 255, 255, 0.3),\n rgba(255, 255, 255, 0.4),\n rgba(255, 255, 255, 0.5)\n );\n border-radius: 50%;\n}\n\n.loader-circle:nth-child(1) {\n background-color: red;\n animation: changeGrayscale 1s linear infinite;\n animation-delay: 0.15s;\n}\n\n.loader-circle:nth-child(2) {\n background-color: rgb(255, 200, 0);\n animation: changeGrayscale 1s linear infinite;\n animation-delay: 0.3s;\n}\n\n.loader-circle:nth-child(3) {\n background-color: rgb(36, 182, 0);\n animation: changeGrayscale 1s linear infinite;\n animation-delay: 0.45s;\n}\n\n@keyframes changeGrayscale {\n 0%, 100% {\n \n /* En grayscale al principio y al final */\n }\n\n 50% {\n \n /* Sin grayscale en la mitad de la animación */\n }\n}\n\n\n", "component_name": "GalaxyLazyStarfish57" }, "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": "是否禁用" } ], "events": [], "slots": [ { "name": "", "description": "", "props": [] } ], "compatibility": { "h5": { "supported": true, "issues": [], "alternatives": [] }, "mp-weixin": { "supported": true, "issues": [ "不支持 filter 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 filter 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 1929, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:40.182Z", "updated_at": "2025-07-31T07:55:40.182Z" }