UNPKG

galaxy-uniapp-mcp-server

Version:

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

95 lines 4.88 kB
{ "id": "Zadrus_bad-penguin-12", "name": "bad-penguin-12", "category": "loaders", "author": "Zadrus", "description": "bad-penguin-12 组件 (simple, material design, animation, green, minimalist, loader, colorful, clean)", "tags": [ "simple", "material design", "animation", "green", "minimalist", "loader", "colorful", "clean" ], "original": { "html": "<div class=\"container\">\n <div class=\"loader\"></div>\n <div class=\"loader\"></div>\n <div class=\"loader\"></div>\n <div class=\"loader\"></div>\n <div class=\"loader\"></div>\n</div>", "css": "/* From Uiverse.io by Zadrus - Tags: simple, material design, animation, green, minimalist, loader, colorful, clean */\n.container {\n width: 200px;\n height: 200px;\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: 50%;\n}\n\n.loader {\n width: 20px;\n height: 40px;\n border-radius: 10px 50px;\n box-shadow: 0px 0px 5px black;\n animation: dominos 1s ease infinite;\n}\n\n.loader:nth-child(1) {\n --left: 80px;\n animation-delay: 0.325s;\n background-color: #5d9960;\n}\n\n.loader:nth-child(2) {\n --left: 70px;\n animation-delay: 0.5s;\n background-color: #82a587;\n}\n\n.loader:nth-child(3) {\n left: 60px;\n animation-delay: 0.625s;\n background-color: #8bac74;\n}\n\n.loader:nth-child(4) {\n animation-delay: 0.74s;\n left: 50px;\n background-color: #b9bf90;\n}\n\n.loader:nth-child(5) {\n animation-delay: 0.865s;\n left: 40px;\n background-color: #e7d2ab;\n}\n\n@keyframes dominos {\n 50% {\n opacity: 0.7;\n }\n\n 75% {\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n }\n\n 80% {\n opacity: 1;\n }\n}", "file_path": "/mnt/persist/workspace/loaders/Zadrus_bad-penguin-12.html" }, "uniapp": { "template": "<view class=\"container\"></view>\n <view class=\"loader\"></view>\n <view class=\"loader\"></view>\n <view class=\"loader\"></view>\n <view class=\"loader\"></view>\n <view class=\"loader\"></view>\n</div>", "script": "export default {\n name: 'GalaxyBadPenguin12',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by Zadrus - Tags: simple, material design, animation, green, minimalist, loader, colorful, clean */\n.container {\n width: 400rpx;\n height: 400rpx;\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: 50%;\n}\n\n.loader {\n width: 40rpx;\n height: 80rpx;\n border-radius: 20rpx 100rpx;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0rpx 0rpx 10rpx black;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n animation: dominos 1s ease infinite;\n}\n\n.loader:nth-child(1) {\n --left: 160rpx;\n animation-delay: 0.325s;\n background-color: #5d9960;\n}\n\n.loader:nth-child(2) {\n --left: 140rpx;\n animation-delay: 0.5s;\n background-color: #82a587;\n}\n\n.loader:nth-child(3) {\n left: 120rpx;\n animation-delay: 0.625s;\n background-color: #8bac74;\n}\n\n.loader:nth-child(4) {\n animation-delay: 0.74s;\n left: 100rpx;\n background-color: #b9bf90;\n}\n\n.loader:nth-child(5) {\n animation-delay: 0.865s;\n left: 80rpx;\n background-color: #e7d2ab;\n}\n\n@keyframes dominos {\n 50% {\n opacity: 0.7;\n }\n\n 75% {\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n }\n\n 80% {\n opacity: 1;\n }\n}\n\n", "component_name": "GalaxyBadPenguin12" }, "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": [ "不支持 box-shadow 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 box-shadow 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 1230, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:40.838Z", "updated_at": "2025-07-31T07:55:40.838Z" }