UNPKG

galaxy-uniapp-mcp-server

Version:

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

85 lines 6.04 kB
{ "id": "ZacharyCrespin_grumpy-stingray-26", "name": "grumpy-stingray-26", "category": "loaders", "author": "ZacharyCrespin", "description": "grumpy-stingray-26 组件 (loader, animation)", "tags": [ "loader", "animation" ], "original": { "html": "<div class=\"loader\">\n<div class=\"loader-square\"></div>\n<div class=\"loader-square\"></div>\n<div class=\"loader-square\"></div>\n<div class=\"loader-square\"></div>\n<div class=\"loader-square\"></div>\n<div class=\"loader-square\"></div>\n<div class=\"loader-square\"></div>\n</div>", "css": "/* From Uiverse.io by ZacharyCrespin - Tags: loader */\n@keyframes square-animation {\n 0% {\n left: 0;\n top: 0;\n }\n\n 10.5% {\n left: 0;\n top: 0;\n }\n\n 12.5% {\n left: 32px;\n top: 0;\n }\n\n 23% {\n left: 32px;\n top: 0;\n }\n\n 25% {\n left: 64px;\n top: 0;\n }\n\n 35.5% {\n left: 64px;\n top: 0;\n }\n\n 37.5% {\n left: 64px;\n top: 32px;\n }\n\n 48% {\n left: 64px;\n top: 32px;\n }\n\n 50% {\n left: 32px;\n top: 32px;\n }\n\n 60.5% {\n left: 32px;\n top: 32px;\n }\n\n 62.5% {\n left: 32px;\n top: 64px;\n }\n\n 73% {\n left: 32px;\n top: 64px;\n }\n\n 75% {\n left: 0;\n top: 64px;\n }\n\n 85.5% {\n left: 0;\n top: 64px;\n }\n\n 87.5% {\n left: 0;\n top: 32px;\n }\n\n 98% {\n left: 0;\n top: 32px;\n }\n\n 100% {\n left: 0;\n top: 0;\n }\n}\n\n.loader {\n position: relative;\n width: 96px;\n height: 96px;\n transform: rotate(45deg);\n}\n\n.loader-square {\n position: absolute;\n top: 0;\n left: 0;\n width: 28px;\n height: 28px;\n margin: 2px;\n border-radius: 0px;\n background: white;\n background-size: cover;\n background-position: center;\n background-attachment: fixed;\n animation: square-animation 10s ease-in-out infinite both;\n}\n\n.loader-square:nth-of-type(0) {\n animation-delay: 0s;\n}\n\n.loader-square:nth-of-type(1) {\n animation-delay: -1.4285714286s;\n}\n\n.loader-square:nth-of-type(2) {\n animation-delay: -2.8571428571s;\n}\n\n.loader-square:nth-of-type(3) {\n animation-delay: -4.2857142857s;\n}\n\n.loader-square:nth-of-type(4) {\n animation-delay: -5.7142857143s;\n}\n\n.loader-square:nth-of-type(5) {\n animation-delay: -7.1428571429s;\n}\n\n.loader-square:nth-of-type(6) {\n animation-delay: -8.5714285714s;\n}\n\n.loader-square:nth-of-type(7) {\n animation-delay: -10s;\n}", "file_path": "/mnt/persist/workspace/loaders/ZacharyCrespin_grumpy-stingray-26.html" }, "uniapp": { "template": "<view class=\"loader\"></view>\n<view class=\"loader-square\"></view>\n<view class=\"loader-square\"></view>\n<view class=\"loader-square\"></view>\n<view class=\"loader-square\"></view>\n<view class=\"loader-square\"></view>\n<view class=\"loader-square\"></view>\n<view class=\"loader-square\"></view>\n</div>", "script": "export default {\n name: 'GalaxyGrumpyStingray26',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by ZacharyCrespin - Tags: loader */\n@keyframes square-animation {\n 0% {\n left: 0;\n top: 0;\n }\n\n 10.5% {\n left: 0;\n top: 0;\n }\n\n 12.5% {\n left: 64rpx;\n top: 0;\n }\n\n 23% {\n left: 64rpx;\n top: 0;\n }\n\n 25% {\n left: 128rpx;\n top: 0;\n }\n\n 35.5% {\n left: 128rpx;\n top: 0;\n }\n\n 37.5% {\n left: 128rpx;\n top: 64rpx;\n }\n\n 48% {\n left: 128rpx;\n top: 64rpx;\n }\n\n 50% {\n left: 64rpx;\n top: 64rpx;\n }\n\n 60.5% {\n left: 64rpx;\n top: 64rpx;\n }\n\n 62.5% {\n left: 64rpx;\n top: 128rpx;\n }\n\n 73% {\n left: 64rpx;\n top: 128rpx;\n }\n\n 75% {\n left: 0;\n top: 128rpx;\n }\n\n 85.5% {\n left: 0;\n top: 128rpx;\n }\n\n 87.5% {\n left: 0;\n top: 64rpx;\n }\n\n 98% {\n left: 0;\n top: 64rpx;\n }\n\n 100% {\n left: 0;\n top: 0;\n }\n}\n\n.loader {\n position: relative;\n width: 192rpx;\n height: 192rpx;\n transform: rotate(45deg);\n}\n\n.loader-square {\n position: absolute;\n top: 0;\n left: 0;\n width: 56rpx;\n height: 56rpx;\n margin: 4rpx;\n border-radius: 0rpx;\n background: white;\n background-size: cover;\n background-position: center;\n background-attachment: fixed;\n animation: square-animation 10s ease-in-out infinite both;\n}\n\n.loader-square:nth-of-type(0) {\n animation-delay: 0s;\n}\n\n.loader-square:nth-of-type(1) {\n animation-delay: -1.4285714286s;\n}\n\n.loader-square:nth-of-type(2) {\n animation-delay: -2.8571428571s;\n}\n\n.loader-square:nth-of-type(3) {\n animation-delay: -4.2857142857s;\n}\n\n.loader-square:nth-of-type(4) {\n animation-delay: -5.7142857143s;\n}\n\n.loader-square:nth-of-type(5) {\n animation-delay: -7.1428571429s;\n}\n\n.loader-square:nth-of-type(6) {\n animation-delay: -8.5714285714s;\n}\n\n.loader-square:nth-of-type(7) {\n animation-delay: -10s;\n}\n", "component_name": "GalaxyGrumpyStingray26" }, "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": 1884, "render_cost": "high", "memory_usage": "high" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:40.835Z", "updated_at": "2025-07-31T07:55:40.835Z" }