UNPKG

galaxy-uniapp-mcp-server

Version:

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

85 lines 5.5 kB
{ "id": "Satwinder04_cowardly-wasp-94", "name": "cowardly-wasp-94", "category": "loaders", "author": "Satwinder04", "description": "cowardly-wasp-94 组件 (loader, animation)", "tags": [ "loader", "animation" ], "original": { "html": "<div class=\"loader-container\">\n <div class=\"loader\">\n <div class=\"loader-inner\"></div>\n <div class=\"loader-inner\"></div>\n <div class=\"loader-inner\"></div>\n <div class=\"loader-inner\"></div>\n <div class=\"loader-inner\"></div>\n <div class=\"loader-inner\"></div>\n <div class=\"loader-inner\"></div>\n <div class=\"loader-inner\"></div>\n </div>\n</div>", "css": "/* From Uiverse.io by Satwinder04 - Tags: loader */\n.loader-container {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.loader {\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n transform: rotate(45deg);\n}\n\n.loader-inner {\n position: absolute;\n width: 0.5rem;\n height: 0.5rem;\n border-radius: 50%;\n background-color: #db3434;\n animation: loader_05101 1.2s linear infinite;\n}\n\n.loader-inner:nth-child(1) {\n top: 0;\n left: 0;\n animation-delay: 0s;\n}\n\n.loader-inner:nth-child(2) {\n top: 0;\n left: 1.5rem;\n animation-delay: 0.1s;\n}\n\n.loader-inner:nth-child(3) {\n top: 0;\n left: 3rem;\n animation-delay: 0.2s;\n}\n\n.loader-inner:nth-child(4) {\n top: 1.5rem;\n left: 0;\n animation-delay: 0.3s;\n}\n\n.loader-inner:nth-child(5) {\n top: 1.5rem;\n left: 1.5rem;\n animation-delay: 0.4s;\n}\n\n.loader-inner:nth-child(6) {\n top: 1.5rem;\n left: 3rem;\n animation-delay: 0.5s;\n}\n\n.loader-inner:nth-child(7) {\n top: 3rem;\n left: 0;\n animation-delay: 0.6s;\n}\n\n.loader-inner:nth-child(8) {\n top: 3rem;\n left: 1.5rem;\n animation-delay: 0.7s;\n}\n\n.loader-inner:nth-child(9) {\n top: 3rem;\n left: 3rem;\n animation-delay: 0.8s;\n}\n\n@keyframes loader_05101 {\n 0% {\n transform: scale(0);\n }\n\n 100% {\n transform: scale(2);\n opacity: 0;\n }\n}", "file_path": "/mnt/persist/workspace/loaders/Satwinder04_cowardly-wasp-94.html" }, "uniapp": { "template": "<view class=\"loader-container\"></view>\n <view class=\"loader\"></view>\n <view class=\"loader-inner\"></view>\n <view class=\"loader-inner\"></view>\n <view class=\"loader-inner\"></view>\n <view class=\"loader-inner\"></view>\n <view class=\"loader-inner\"></view>\n <view class=\"loader-inner\"></view>\n <view class=\"loader-inner\"></view>\n <view class=\"loader-inner\"></view>\n </div>\n</div>", "script": "export default {\n name: 'GalaxyCowardlyWasp94',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by Satwinder04 - Tags: loader */\n.loader-container {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.loader {\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n transform: rotate(45deg);\n}\n\n.loader-inner {\n position: absolute;\n width: 0.5rem;\n height: 0.5rem;\n border-radius: 50%;\n background-color: #db3434;\n animation: loader_05101 1.2s linear infinite;\n}\n\n.loader-inner:nth-child(1) {\n top: 0;\n left: 0;\n animation-delay: 0s;\n}\n\n.loader-inner:nth-child(2) {\n top: 0;\n left: 1.5rem;\n animation-delay: 0.1s;\n}\n\n.loader-inner:nth-child(3) {\n top: 0;\n left: 3rem;\n animation-delay: 0.2s;\n}\n\n.loader-inner:nth-child(4) {\n top: 1.5rem;\n left: 0;\n animation-delay: 0.3s;\n}\n\n.loader-inner:nth-child(5) {\n top: 1.5rem;\n left: 1.5rem;\n animation-delay: 0.4s;\n}\n\n.loader-inner:nth-child(6) {\n top: 1.5rem;\n left: 3rem;\n animation-delay: 0.5s;\n}\n\n.loader-inner:nth-child(7) {\n top: 3rem;\n left: 0;\n animation-delay: 0.6s;\n}\n\n.loader-inner:nth-child(8) {\n top: 3rem;\n left: 1.5rem;\n animation-delay: 0.7s;\n}\n\n.loader-inner:nth-child(9) {\n top: 3rem;\n left: 3rem;\n animation-delay: 0.8s;\n}\n\n@keyframes loader_05101 {\n 0% {\n transform: scale(0);\n }\n\n 100% {\n transform: scale(2);\n opacity: 0;\n }\n}\n\n", "component_name": "GalaxyCowardlyWasp94" }, "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": 1684, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:40.231Z", "updated_at": "2025-07-31T07:55:40.231Z" }