UNPKG

galaxy-uniapp-mcp-server

Version:

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

87 lines 4.11 kB
{ "id": "csemszepp_spotty-sloth-98", "name": "spotty-sloth-98", "category": "loaders", "author": "csemszepp", "description": "spotty-sloth-98 组件 (simple, animation, loader, gradient)", "tags": [ "simple", "animation", "loader", "gradient" ], "original": { "html": "<div class=\"loader\"></div>", "css": "/* From Uiverse.io by csemszepp - Source: https://codepen.io/Sanmi-Akinwunmi/pen/VwqjXKg - Tags: simple, animation, loader */\n.loader {\n width: 50px;\n aspect-ratio: 1;\n display: flex;\n color: orange;\n background: linear-gradient(currentColor 0 0) right / 51% 100%,\n linear-gradient(currentColor 0 0) bottom / 100% 51%;\n background-repeat: no-repeat;\n animation: l16-0 2s infinite linear 0.25s;\n}\n\n.loader::before {\n content: \"\";\n width: 50%;\n height: 50%;\n background: currentColor;\n animation: l16-1 0.5s infinite linear;\n}\n\n@keyframes l16-0 {\n 0%,\n 12.49% {\n transform: rotate(0deg);\n }\n\n 12.5%,\n 37.49% {\n transform: rotate(90deg);\n }\n\n 37.5%,\n 62.49% {\n transform: rotate(180deg);\n }\n\n 62.5%,\n 87.49% {\n transform: rotate(270deg);\n }\n\n 87.5%,\n 100% {\n transform: rotate(360deg);\n }\n}\n\n@keyframes l16-1 {\n 0% {\n transform: perspective(80px) rotate3d(-1, -1, 0, 0);\n }\n\n 80%,\n 100% {\n transform: perspective(80px) rotate3d(-1, -1, 0, -180deg);\n }\n}", "file_path": "/mnt/persist/workspace/loaders/csemszepp_spotty-sloth-98.html" }, "uniapp": { "template": "<view class=\"loader\"></view>", "script": "export default {\n name: 'GalaxySpottySloth98',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by csemszepp - Source: https://codepen.io/Sanmi-Akinwunmi/pen/VwqjXKg - Tags: simple, animation, loader */\n.loader {\n width: 100rpx;\n aspect-ratio: 1;\n display: flex;\n color: orange;\n background: linear-gradient(currentColor 0 0) right / 51% 100%,\n linear-gradient(currentColor 0 0) bottom / 100% 51%;\n background-repeat: no-repeat;\n animation: l16-0 2s infinite linear 0.25s;\n}\n\n.loader::before {\n content: \"\";\n width: 50%;\n height: 50%;\n background: currentColor;\n animation: l16-1 0.5s infinite linear;\n}\n\n@keyframes l16-0 {\n 0%,\n 12.49% {\n transform: rotate(0deg);\n }\n\n 12.5%,\n 37.49% {\n transform: rotate(90deg);\n }\n\n 37.5%,\n 62.49% {\n transform: rotate(180deg);\n }\n\n 62.5%,\n 87.49% {\n transform: rotate(270deg);\n }\n\n 87.5%,\n 100% {\n transform: rotate(360deg);\n }\n}\n\n@keyframes l16-1 {\n 0% {\n transform: perspective(160rpx) rotate3d(-1, -1, 0, 0);\n }\n\n 80%,\n 100% {\n transform: perspective(160rpx) rotate3d(-1, -1, 0, -180deg);\n }\n}\n\n", "component_name": "GalaxySpottySloth98" }, "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": [], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 1038, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:41.173Z", "updated_at": "2025-07-31T07:55:41.173Z" }