UNPKG

galaxy-uniapp-mcp-server

Version:

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

86 lines 4.83 kB
{ "id": "pierregirou_grumpy-cow-45", "name": "grumpy-cow-45", "category": "loaders", "author": "pierregirou", "description": "grumpy-cow-45 组件 (3d cude loader, css animation, animation)", "tags": [ "3d cude loader", "css animation", "animation" ], "original": { "html": "<div class=\"loader\">\n <div class=\"form1\">\n <div class=\"square\"></div>\n <div class=\"square\"></div>\n </div>\n <div class=\"form2\">\n <div class=\"square\"></div>\n <div class=\"square\"></div>\n </div>\n</div>", "css": "/* From Uiverse.io by pierregirou - Tags: 3d cude loader, css animation */\n.loader {\n --color-success-300: #4bdf80;\n --color-success-500: #1ed760;\n --color-success-700: #18ac4d;\n display: block;\n justify-content: center;\n align-items: center;\n transform: rotate(5deg);\n}\n\n.loader .form1,\n.loader .form2 {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.square {\n width: 50px;\n height: 50px;\n margin: 2px;\n background-color: rgba(150, 150, 150, 0.253);\n border-radius: 5px;\n animation: blinking 0.8s ease-in-out infinite;\n opacity: 0;\n}\n\n@keyframes blinking {\n 0% {\n opacity: 0.25;\n background-color: rgba(4, 160, 30, 0.589);\n }\n\n 50% {\n opacity: 0.5;\n background-color: var(--color-success-300);\n }\n\n 75% {\n opacity: 0.75;\n background-color: var(--color-success-500);\n }\n\n 100% {\n opacity: 1;\n background-color: var(--color-success-700);\n }\n}\n\n.form1 .square:nth-child(1) {\n animation-delay: 0.2s;\n}\n\n.form1 .square:nth-child(2) {\n animation-delay: 0.4s;\n}\n\n.form2 .square:nth-child(2) {\n animation-delay: 0.6s;\n}\n\n.form2 .square:nth-child(1) {\n animation-delay: 0.8s;\n}", "file_path": "/mnt/persist/workspace/loaders/pierregirou_grumpy-cow-45.html" }, "uniapp": { "template": "<view class=\"loader\"></view>\n <view class=\"form1\"></view>\n <view class=\"square\"></view>\n <view class=\"square\"></view>\n </div>\n <view class=\"form2\"></view>\n <view class=\"square\"></view>\n <view class=\"square\"></view>\n </div>\n</div>", "script": "export default {\n name: 'GalaxyGrumpyCow45',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by pierregirou - Tags: 3d cude loader, css animation */\n.loader {\n --color-success-300: #4bdf80;\n --color-success-500: #1ed760;\n --color-success-700: #18ac4d;\n display: block;\n justify-content: center;\n align-items: center;\n transform: rotate(5deg);\n}\n\n.loader .form1,\n.loader .form2 {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.square {\n width: 100rpx;\n height: 100rpx;\n margin: 4rpx;\n background-color: rgba(150, 150, 150, 0.253);\n border-radius: 10rpx;\n animation: blinking 0.8s ease-in-out infinite;\n opacity: 0;\n}\n\n@keyframes blinking {\n 0% {\n opacity: 0.25;\n background-color: rgba(4, 160, 30, 0.589);\n }\n\n 50% {\n opacity: 0.5;\n background-color: var(--color-success-300);\n }\n\n 75% {\n opacity: 0.75;\n background-color: var(--color-success-500);\n }\n\n 100% {\n opacity: 1;\n background-color: var(--color-success-700);\n }\n}\n\n.form1 .square:nth-child(1) {\n animation-delay: 0.2s;\n}\n\n.form1 .square:nth-child(2) {\n animation-delay: 0.4s;\n}\n\n.form2 .square:nth-child(2) {\n animation-delay: 0.6s;\n}\n\n.form2 .square:nth-child(1) {\n animation-delay: 0.8s;\n}\n", "component_name": "GalaxyGrumpyCow45" }, "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": 1360, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:42.533Z", "updated_at": "2025-07-31T07:55:42.533Z" }