UNPKG

galaxy-uniapp-mcp-server

Version:

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

90 lines 4.35 kB
{ "id": "choudhary-usman_yellow-grasshopper-30", "name": "yellow-grasshopper-30", "category": "loaders", "author": "choudhary-usman", "description": "yellow-grasshopper-30 组件 (simple, material design, icon, animation, loader, animated, gradient)", "tags": [ "simple", "material design", "icon", "animation", "loader", "animated", "gradient" ], "original": { "html": "<div class=\"loader\"></div>", "css": "/* From Uiverse.io by choudhary-usman - Tags: simple, material design, icon, animation, loader, animated */\n.loader {\n width: 40px;\n\n aspect-ratio: 1;\n --c: linear-gradient(#000 0 0);\n --m: radial-gradient(farthest-side, #000 90%, #0000);\n background: var(--c), var(--m), var(--c);\n background-size: 16px 8px, 10px 10px;\n background-repeat: no-repeat;\n animation: l20-1 1s infinite linear, l20-2 4s infinite linear -0.4s;\n}\n@keyframes l20-1 {\n 0%,\n 10% {\n background-position: calc(50% - 8px) 50%, 50% -15px, calc(50% + 8px) 50%;\n }\n 33% {\n background-position: -20px 50%, 50% 50%, calc(100% + 20px) 50%;\n }\n 66% {\n background-position: -20px 50%, 50% calc(100% + 15px), calc(100% + 20px) 50%;\n }\n 80%,\n 100% {\n background-position: calc(50% - 8px) 50%, 50% calc(100% + 15px),\n calc(50% + 8px) 50%;\n }\n}\n@keyframes l20-2 {\n 0%,\n 24.99% {\n transform: rotate(0);\n }\n 25%,\n 49.99% {\n transform: rotate(90deg);\n }\n 50%,\n 74.99% {\n transform: rotate(180deg);\n }\n 75%,\n 100% {\n transform: rotate(270deg);\n }\n}", "file_path": "/mnt/persist/workspace/loaders/choudhary-usman_yellow-grasshopper-30.html" }, "uniapp": { "template": "<view class=\"loader\"></view>", "script": "export default {\n name: 'GalaxyYellowGrasshopper30',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by choudhary-usman - Tags: simple, material design, icon, animation, loader, animated */\n.loader {\n width: 80rpx;\n\n aspect-ratio: 1;\n --c: linear-gradient(#000 0 0);\n --m: radial-gradient(farthest-side, #000 90%, #0000);\n background: var(--c), var(--m), var(--c);\n background-size: 32rpx 16rpx, 20rpx 20rpx;\n background-repeat: no-repeat;\n animation: l20-1 1s infinite linear, l20-2 4s infinite linear -0.4s;\n}\n@keyframes l20-1 {\n 0%,\n 10% {\n background-position: calc(50% - 16rpx) 50%, 50% -30rpx, calc(50% + 16rpx) 50%;\n }\n 33% {\n background-position: -40rpx 50%, 50% 50%, calc(100% + 40rpx) 50%;\n }\n 66% {\n background-position: -40rpx 50%, 50% calc(100% + 30rpx), calc(100% + 40rpx) 50%;\n }\n 80%,\n 100% {\n background-position: calc(50% - 16rpx) 50%, 50% calc(100% + 30rpx),\n calc(50% + 16rpx) 50%;\n }\n}\n@keyframes l20-2 {\n 0%,\n 24.99% {\n transform: rotate(0);\n }\n 25%,\n 49.99% {\n transform: rotate(90deg);\n }\n 50%,\n 74.99% {\n transform: rotate(180deg);\n }\n 75%,\n 100% {\n transform: rotate(270deg);\n }\n}\n\n", "component_name": "GalaxyYellowGrasshopper30" }, "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": 1099, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:41.111Z", "updated_at": "2025-07-31T07:55:41.111Z" }