UNPKG

galaxy-uniapp-mcp-server

Version:

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

91 lines 7.86 kB
{ "id": "mobineshaghi_happy-duck-88", "name": "happy-duck-88", "category": "loaders", "author": "mobineshaghi", "description": "happy-duck-88 组件 (loading, loader, mobile, animation)", "tags": [ "loading", "loader", "mobile", "animation" ], "original": { "html": "<div class=\"loader\">\n <span></span>\n <span></span>\n <span></span>\n <span></span>\n <span></span>\n <span></span>\n <span></span>\n <span></span>\n <span></span>\n <span></span>\n <span></span>\n <span></span>\n <span></span>\n <span></span>\n <span></span>\n </div>", "css": "/* From Uiverse.io by mobineshaghi - Tags: loading, loader, mobile */\n.loader {\n position: relative;\n width: 300px;\n height: 300px;\n transform-style: preserve-3d;\n transform: perspective(500px) rotateX(60deg);\n}\n\n.loader span {\n position: absolute;\n display: block;\n border: 5px solid #fff;\n box-shadow: 0 5px 0 #ccc;\n inset: 0 5px 0 #ccc;\n box-sizing: border-box;\n border-radius: 50%;\n animation: animate 3s ease-in-out infinite;\n}\n\n@keyframes animate {\n 0%,100% {\n transform: translateZ(-100px);\n }\n\n 50% {\n transform: translateZ(100px);\n }\n}\n\n.loader span:nth-child(1) {\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n animation-delay: 1.4s;\n}\n\n.loader span:nth-child(2) {\n top: 10px;\n left: 10px;\n bottom: 10px;\n right: 10px;\n animation-delay: 1.3s;\n}\n\n.loader span:nth-child(3) {\n top: 20px;\n left: 20px;\n bottom: 20px;\n right: 20px;\n animation-delay: 1.2s;\n}\n\n.loader span:nth-child(4) {\n top: 30px;\n left: 30px;\n bottom: 30px;\n right: 30px;\n animation-delay: 1.1s;\n}\n\n.loader span:nth-child(5) {\n top: 40px;\n left: 40px;\n bottom: 40px;\n right: 40px;\n animation-delay: 1s;\n}\n\n.loader span:nth-child(6) {\n top: 50px;\n left: 50px;\n bottom: 50px;\n right: 50px;\n animation-delay: 0.9s;\n}\n\n.loader span:nth-child(7) {\n top: 60px;\n left: 60px;\n bottom: 60px;\n right: 60px;\n animation-delay: 0.8s;\n}\n\n.loader span:nth-child(8) {\n top: 70px;\n left: 70px;\n bottom: 70px;\n right: 70px;\n animation-delay: 0.7s;\n}\n\n.loader span:nth-child(9) {\n top: 80px;\n left: 80px;\n bottom: 80px;\n right: 80px;\n animation-delay: 0.6s;\n}\n\n.loader span:nth-child(10) {\n top: 90px;\n left: 90px;\n bottom: 90px;\n right: 90px;\n animation-delay: 0.5s;\n}\n\n.loader span:nth-child(11) {\n top: 100px;\n left: 100px;\n bottom: 100px;\n right: 100px;\n animation-delay: 0.4s;\n}\n\n.loader span:nth-child(12) {\n top: 110px;\n left: 110px;\n bottom: 110px;\n right: 110px;\n animation-delay: 0.3s;\n}\n\n.loader span:nth-child(13) {\n top: 120px;\n left: 120px;\n bottom: 120px;\n right: 120px;\n animation-delay: 0.2s;\n}\n\n.loader span:nth-child(14) {\n top: 130px;\n left: 130px;\n bottom: 130px;\n right: 130px;\n animation-delay: 0.1s;\n}\n\n.loader span:nth-child(15) {\n top: 140px;\n left: 140px;\n bottom: 140px;\n right: 140px;\n animation-delay: 0s;\n}", "file_path": "/mnt/persist/workspace/loaders/mobineshaghi_happy-duck-88.html" }, "uniapp": { "template": "<view class=\"loader\"></view>\n <text></text>\n <text></text>\n <text></text>\n <text></text>\n <text></text>\n <text></text>\n <text></text>\n <text></text>\n <text></text>\n <text></text>\n <text></text>\n <text></text>\n <text></text>\n <text></text>\n <text></text>\n </div>", "script": "export default {\n name: 'GalaxyHappyDuck88',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by mobineshaghi - Tags: loading, loader, mobile */\n.loader {\n position: relative;\n width: 600rpx;\n height: 600rpx;\n transform-style: preserve-3d;\n transform: perspective(1000rpx) rotateX(60deg);\n}\n\n.loader span {\n position: absolute;\n display: block;\n border: 10rpx solid #fff;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 10rpx 0 #ccc;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n inset: 0 10rpx 0 #ccc;\n box-sizing: border-box;\n border-radius: 50%;\n animation: animate 3s ease-in-out infinite;\n}\n\n@keyframes animate {\n 0%,100% {\n transform: translateZ(-200rpx);\n }\n\n 50% {\n transform: translateZ(200rpx);\n }\n}\n\n.loader span:nth-child(1) {\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n animation-delay: 1.4s;\n}\n\n.loader span:nth-child(2) {\n top: 20rpx;\n left: 20rpx;\n bottom: 20rpx;\n right: 20rpx;\n animation-delay: 1.3s;\n}\n\n.loader span:nth-child(3) {\n top: 40rpx;\n left: 40rpx;\n bottom: 40rpx;\n right: 40rpx;\n animation-delay: 1.2s;\n}\n\n.loader span:nth-child(4) {\n top: 60rpx;\n left: 60rpx;\n bottom: 60rpx;\n right: 60rpx;\n animation-delay: 1.1s;\n}\n\n.loader span:nth-child(5) {\n top: 80rpx;\n left: 80rpx;\n bottom: 80rpx;\n right: 80rpx;\n animation-delay: 1s;\n}\n\n.loader span:nth-child(6) {\n top: 100rpx;\n left: 100rpx;\n bottom: 100rpx;\n right: 100rpx;\n animation-delay: 0.9s;\n}\n\n.loader span:nth-child(7) {\n top: 120rpx;\n left: 120rpx;\n bottom: 120rpx;\n right: 120rpx;\n animation-delay: 0.8s;\n}\n\n.loader span:nth-child(8) {\n top: 140rpx;\n left: 140rpx;\n bottom: 140rpx;\n right: 140rpx;\n animation-delay: 0.7s;\n}\n\n.loader span:nth-child(9) {\n top: 160rpx;\n left: 160rpx;\n bottom: 160rpx;\n right: 160rpx;\n animation-delay: 0.6s;\n}\n\n.loader span:nth-child(10) {\n top: 180rpx;\n left: 180rpx;\n bottom: 180rpx;\n right: 180rpx;\n animation-delay: 0.5s;\n}\n\n.loader span:nth-child(11) {\n top: 200rpx;\n left: 200rpx;\n bottom: 200rpx;\n right: 200rpx;\n animation-delay: 0.4s;\n}\n\n.loader span:nth-child(12) {\n top: 220rpx;\n left: 220rpx;\n bottom: 220rpx;\n right: 220rpx;\n animation-delay: 0.3s;\n}\n\n.loader span:nth-child(13) {\n top: 240rpx;\n left: 240rpx;\n bottom: 240rpx;\n right: 240rpx;\n animation-delay: 0.2s;\n}\n\n.loader span:nth-child(14) {\n top: 260rpx;\n left: 260rpx;\n bottom: 260rpx;\n right: 260rpx;\n animation-delay: 0.1s;\n}\n\n.loader span:nth-child(15) {\n top: 280rpx;\n left: 280rpx;\n bottom: 280rpx;\n right: 280rpx;\n animation-delay: 0s;\n}\n", "component_name": "GalaxyHappyDuck88" }, "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": "high", "bundle_size": 2653, "render_cost": "high", "memory_usage": "high" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:42.327Z", "updated_at": "2025-07-31T07:55:42.327Z" }