UNPKG

galaxy-uniapp-mcp-server

Version:

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

85 lines 5.83 kB
{ "id": "G4b413l_tidy-walrus-92", "name": "tidy-walrus-92", "category": "loaders", "author": "G4b413l", "description": "tidy-walrus-92 组件 (loader, animation)", "tags": [ "loader", "animation" ], "original": { "html": "<div class=\"three-body\">\n<div class=\"three-body__dot\"></div>\n<div class=\"three-body__dot\"></div>\n<div class=\"three-body__dot\"></div>\n</div>", "css": "/* From Uiverse.io by G4b413l - Tags: loader */\n.three-body {\n --uib-size: 35px;\n --uib-speed: 0.8s;\n --uib-color: #5D3FD3;\n position: relative;\n display: inline-block;\n height: var(--uib-size);\n width: var(--uib-size);\n animation: spin78236 calc(var(--uib-speed) * 2.5) infinite linear;\n}\n\n.three-body__dot {\n position: absolute;\n height: 100%;\n width: 30%;\n}\n\n.three-body__dot:after {\n content: '';\n position: absolute;\n height: 0%;\n width: 100%;\n padding-bottom: 100%;\n background-color: var(--uib-color);\n border-radius: 50%;\n}\n\n.three-body__dot:nth-child(1) {\n bottom: 5%;\n left: 0;\n transform: rotate(60deg);\n transform-origin: 50% 85%;\n}\n\n.three-body__dot:nth-child(1)::after {\n bottom: 0;\n left: 0;\n animation: wobble1 var(--uib-speed) infinite ease-in-out;\n animation-delay: calc(var(--uib-speed) * -0.3);\n}\n\n.three-body__dot:nth-child(2) {\n bottom: 5%;\n right: 0;\n transform: rotate(-60deg);\n transform-origin: 50% 85%;\n}\n\n.three-body__dot:nth-child(2)::after {\n bottom: 0;\n left: 0;\n animation: wobble1 var(--uib-speed) infinite\n calc(var(--uib-speed) * -0.15) ease-in-out;\n}\n\n.three-body__dot:nth-child(3) {\n bottom: -5%;\n left: 0;\n transform: translateX(116.666%);\n}\n\n.three-body__dot:nth-child(3)::after {\n top: 0;\n left: 0;\n animation: wobble2 var(--uib-speed) infinite ease-in-out;\n}\n\n@keyframes spin78236 {\n 0% {\n transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n}\n\n@keyframes wobble1 {\n 0%,\n 100% {\n transform: translateY(0%) scale(1);\n opacity: 1;\n }\n\n 50% {\n transform: translateY(-66%) scale(0.65);\n opacity: 0.8;\n }\n}\n\n@keyframes wobble2 {\n 0%,\n 100% {\n transform: translateY(0%) scale(1);\n opacity: 1;\n }\n\n 50% {\n transform: translateY(66%) scale(0.65);\n opacity: 0.8;\n }\n}", "file_path": "/mnt/persist/workspace/loaders/G4b413l_tidy-walrus-92.html" }, "uniapp": { "template": "<view class=\"three-body\"></view>\n<view class=\"three-body__dot\"></view>\n<view class=\"three-body__dot\"></view>\n<view class=\"three-body__dot\"></view>\n</div>", "script": "export default {\n name: 'GalaxyTidyWalrus92',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by G4b413l - Tags: loader */\n.three-body {\n --uib-size: 70rpx;\n --uib-speed: 0.8s;\n --uib-color: #5D3FD3;\n position: relative;\n display: inline-block;\n height: var(--uib-size);\n width: var(--uib-size);\n animation: spin78236 calc(var(--uib-speed) * 2.5) infinite linear;\n}\n\n.three-body__dot {\n position: absolute;\n height: 100%;\n width: 30%;\n}\n\n.three-body__dot:after {\n content: '';\n position: absolute;\n height: 0%;\n width: 100%;\n padding-bottom: 100%;\n background-color: var(--uib-color);\n border-radius: 50%;\n}\n\n.three-body__dot:nth-child(1) {\n bottom: 5%;\n left: 0;\n transform: rotate(60deg);\n transform-origin: 50% 85%;\n}\n\n.three-body__dot:nth-child(1)::after {\n bottom: 0;\n left: 0;\n animation: wobble1 var(--uib-speed) infinite ease-in-out;\n animation-delay: calc(var(--uib-speed) * -0.3);\n}\n\n.three-body__dot:nth-child(2) {\n bottom: 5%;\n right: 0;\n transform: rotate(-60deg);\n transform-origin: 50% 85%;\n}\n\n.three-body__dot:nth-child(2)::after {\n bottom: 0;\n left: 0;\n animation: wobble1 var(--uib-speed) infinite\n calc(var(--uib-speed) * -0.15) ease-in-out;\n}\n\n.three-body__dot:nth-child(3) {\n bottom: -5%;\n left: 0;\n transform: translateX(116.666%);\n}\n\n.three-body__dot:nth-child(3)::after {\n top: 0;\n left: 0;\n animation: wobble2 var(--uib-speed) infinite ease-in-out;\n}\n\n@keyframes spin78236 {\n 0% {\n transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n}\n\n@keyframes wobble1 {\n 0%,\n 100% {\n transform: translateY(0%) scale(1);\n opacity: 1;\n }\n\n 50% {\n transform: translateY(-66%) scale(0.65);\n opacity: 0.8;\n }\n}\n\n@keyframes wobble2 {\n 0%,\n 100% {\n transform: translateY(0%) scale(1);\n opacity: 1;\n }\n\n 50% {\n transform: translateY(66%) scale(0.65);\n opacity: 0.8;\n }\n}\n\n", "component_name": "GalaxyTidyWalrus92" }, "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": "high", "bundle_size": 1874, "render_cost": "high", "memory_usage": "high" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:39.319Z", "updated_at": "2025-07-31T07:55:39.319Z" }