UNPKG

galaxy-uniapp-mcp-server

Version:

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

95 lines 11.9 kB
{ "id": "Praashoo7_black-bear-45", "name": "black-bear-45", "category": "loaders", "author": "Praashoo7", "description": "black-bear-45 组件 (blue, loading, loader, smooth, text animation, wave, loading animation, animation)", "tags": [ "blue", "loading", "loader", "smooth", "text animation", "wave", "loading animation", "animation" ], "original": { "html": "<div class=\"load\">\n <div class=\"loader\">\n <span class=\"l\">L</span>\n <span class=\"l\">L</span>\n <span class=\"l\">L</span>\n <span class=\"l\">L</span>\n </div>\n <div class=\"loader\">\n <span class=\"l\">O</span>\n <span class=\"l\">O</span>\n <span class=\"l\">O</span>\n <span class=\"l\">O</span>\n </div>\n <div class=\"loader\">\n <span class=\"l\">A</span>\n <span class=\"l\">A</span>\n <span class=\"l\">A</span>\n <span class=\"l\">A</span>\n </div>\n <div class=\"loader\">\n <span class=\"l\">D</span>\n <span class=\"l\">D</span>\n <span class=\"l\">D</span>\n <span class=\"l\">D</span>\n </div>\n <div class=\"loader\">\n <span class=\"l\">I</span>\n <span class=\"l\">I</span>\n <span class=\"l\">I</span>\n <span class=\"l\">I</span>\n </div>\n <div class=\"loader\">\n <span class=\"l\">N</span>\n <span class=\"l\">N</span>\n <span class=\"l\">N</span>\n <span class=\"l\">N</span>\n </div>\n <div class=\"loader\">\n <span class=\"l\">G</span>\n <span class=\"l\">G</span>\n <span class=\"l\">G</span>\n <span class=\"l\">G</span>\n </div>\n</div>", "css": "/* From Uiverse.io by Praashoo7 - Tags: blue, loading, loader, smooth, text animation, wave, loading animation */\n.load {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 30em;\n height: 12em;\n margin-left: -1em;\n}\n\n.loader {\n width: 2.25em;\n display: flex;\n align-items: center;\n justify-content: center;\n font-family: Impact, Haettenschweiler, \"Arial Narrow Bold\", sans-serif;\n}\n\n.loader .l {\n position: absolute;\n margin-top: -2em;\n font-size: 4em;\n color: white;\n text-shadow: 5px 0px 1px #000, 1px 1px 0 #000, 1px -1px 0 #000,\n -1px -1px 0 #000;\n animation: 2s float infinite ease-in-out;\n}\n\n.loader:nth-child(1) .l:nth-child(1) {\n animation-delay: 0.4s;\n margin-left: 0.3em;\n color: #105ee8;\n}\n.loader:nth-child(1) .l:nth-child(2) {\n animation-delay: 0.3s;\n margin-left: 0.2em;\n color: #579dff;\n}\n.loader:nth-child(1) .l:nth-child(3) {\n animation-delay: 0.2s;\n margin-left: 0.1em;\n color: #acd9f1;\n}\n.loader:nth-child(1) .l:nth-child(4) {\n animation-delay: 0.1s;\n}\n\n.loader:nth-child(2) .l:nth-child(1) {\n animation-delay: 0.5s;\n margin-left: 0.3em;\n color: #105ee8;\n}\n.loader:nth-child(2) .l:nth-child(2) {\n animation-delay: 0.4s;\n margin-left: 0.2em;\n color: #579dff;\n}\n.loader:nth-child(2) .l:nth-child(3) {\n animation-delay: 0.3s;\n margin-left: 0.1em;\n color: #acd9f1;\n}\n.loader:nth-child(2) .l:nth-child(4) {\n animation-delay: 0.2s;\n}\n\n.loader:nth-child(3) .l:nth-child(1) {\n animation-delay: 0.6s;\n margin-left: 0.3em;\n color: #105ee8;\n}\n.loader:nth-child(3) .l:nth-child(2) {\n animation-delay: 0.5s;\n margin-left: 0.2em;\n color: #579dff;\n}\n.loader:nth-child(3) .l:nth-child(3) {\n animation-delay: 0.4s;\n margin-left: 0.1em;\n color: #acd9f1;\n}\n.loader:nth-child(3) .l:nth-child(4) {\n animation-delay: 0.3s;\n}\n\n.loader:nth-child(4) .l:nth-child(1) {\n animation-delay: 0.7s;\n margin-left: 0.3em;\n color: #105ee8;\n}\n.loader:nth-child(4) .l:nth-child(2) {\n animation-delay: 0.6s;\n margin-left: 0.2em;\n color: #579dff;\n}\n.loader:nth-child(4) .l:nth-child(3) {\n animation-delay: 0.5s;\n margin-left: 0.1em;\n color: #acd9f1;\n}\n.loader:nth-child(4) .l:nth-child(4) {\n animation-delay: 0.4s;\n}\n\n.loader:nth-child(5) .l:nth-child(1) {\n animation-delay: 0.8s;\n margin-left: 0.3em;\n color: #105ee8;\n}\n.loader:nth-child(5) .l:nth-child(2) {\n animation-delay: 0.7s;\n margin-left: 0.2em;\n color: #579dff;\n}\n.loader:nth-child(5) .l:nth-child(3) {\n animation-delay: 0.6s;\n margin-left: 0.1em;\n color: #acd9f1;\n}\n.loader:nth-child(5) .l:nth-child(4) {\n animation-delay: 0.5s;\n}\n\n.loader:nth-child(6) .l:nth-child(1) {\n animation-delay: 0.9s;\n margin-left: 0.3em;\n color: #105ee8;\n}\n.loader:nth-child(6) .l:nth-child(2) {\n animation-delay: 0.8s;\n margin-left: 0.2em;\n color: #579dff;\n}\n.loader:nth-child(6) .l:nth-child(3) {\n animation-delay: 0.7s;\n margin-left: 0.1em;\n color: #acd9f1;\n}\n.loader:nth-child(6) .l:nth-child(4) {\n animation-delay: 0.6s;\n}\n\n.loader:nth-child(7) .l:nth-child(1) {\n animation-delay: 1s;\n margin-left: 0.3em;\n color: #105ee8;\n}\n.loader:nth-child(7) .l:nth-child(2) {\n animation-delay: 0.9s;\n margin-left: 0.2em;\n color: #579dff;\n}\n.loader:nth-child(7) .l:nth-child(3) {\n animation-delay: 0.8s;\n margin-left: 0.1em;\n color: #acd9f1;\n}\n.loader:nth-child(7) .l:nth-child(4) {\n animation-delay: 0.7s;\n}\n\n@keyframes float {\n 0% {\n transform: translateY(0em);\n }\n 50% {\n transform: translateY(2em);\n }\n 100% {\n transform: translateY(0em);\n }\n}", "file_path": "/mnt/persist/workspace/loaders/Praashoo7_black-bear-45.html" }, "uniapp": { "template": "<view class=\"load\"></view>\n <view class=\"loader\"></view>\n <text class=\"l\">L</text>\n <text class=\"l\">L</text>\n <text class=\"l\">L</text>\n <text class=\"l\">L</text>\n </div>\n <view class=\"loader\"></view>\n <text class=\"l\">O</text>\n <text class=\"l\">O</text>\n <text class=\"l\">O</text>\n <text class=\"l\">O</text>\n </div>\n <view class=\"loader\"></view>\n <text class=\"l\">A</text>\n <text class=\"l\">A</text>\n <text class=\"l\">A</text>\n <text class=\"l\">A</text>\n </div>\n <view class=\"loader\"></view>\n <text class=\"l\">D</text>\n <text class=\"l\">D</text>\n <text class=\"l\">D</text>\n <text class=\"l\">D</text>\n </div>\n <view class=\"loader\"></view>\n <text class=\"l\">I</text>\n <text class=\"l\">I</text>\n <text class=\"l\">I</text>\n <text class=\"l\">I</text>\n </div>\n <view class=\"loader\"></view>\n <text class=\"l\">N</text>\n <text class=\"l\">N</text>\n <text class=\"l\">N</text>\n <text class=\"l\">N</text>\n </div>\n <view class=\"loader\"></view>\n <text class=\"l\">G</text>\n <text class=\"l\">G</text>\n <text class=\"l\">G</text>\n <text class=\"l\">G</text>\n </div>\n</div>", "script": "export default {\n name: 'GalaxyBlackBear45',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by Praashoo7 - Tags: blue, loading, loader, smooth, text animation, wave, loading animation */\n.load {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 30em;\n height: 12em;\n margin-left: -1em;\n}\n\n.loader {\n width: 2.25em;\n display: flex;\n align-items: center;\n justify-content: center;\n font-family: Impact, Haettenschweiler, \"Arial Narrow Bold\", sans-serif;\n}\n\n.loader .l {\n position: absolute;\n margin-top: -2em;\n font-size: 4em;\n color: white;\n /* #ifdef H5 */\n text-shadow: 10rpx 0rpx 2rpx #000, 2rpx 2rpx 0 #000, 2rpx -2rpx 0 #000,\n -2rpx -2rpx 0 #000;\n /* #endif */\n animation: 2s float infinite ease-in-out;\n}\n\n.loader:nth-child(1) .l:nth-child(1) {\n animation-delay: 0.4s;\n margin-left: 0.3em;\n color: #105ee8;\n}\n.loader:nth-child(1) .l:nth-child(2) {\n animation-delay: 0.3s;\n margin-left: 0.2em;\n color: #579dff;\n}\n.loader:nth-child(1) .l:nth-child(3) {\n animation-delay: 0.2s;\n margin-left: 0.1em;\n color: #acd9f1;\n}\n.loader:nth-child(1) .l:nth-child(4) {\n animation-delay: 0.1s;\n}\n\n.loader:nth-child(2) .l:nth-child(1) {\n animation-delay: 0.5s;\n margin-left: 0.3em;\n color: #105ee8;\n}\n.loader:nth-child(2) .l:nth-child(2) {\n animation-delay: 0.4s;\n margin-left: 0.2em;\n color: #579dff;\n}\n.loader:nth-child(2) .l:nth-child(3) {\n animation-delay: 0.3s;\n margin-left: 0.1em;\n color: #acd9f1;\n}\n.loader:nth-child(2) .l:nth-child(4) {\n animation-delay: 0.2s;\n}\n\n.loader:nth-child(3) .l:nth-child(1) {\n animation-delay: 0.6s;\n margin-left: 0.3em;\n color: #105ee8;\n}\n.loader:nth-child(3) .l:nth-child(2) {\n animation-delay: 0.5s;\n margin-left: 0.2em;\n color: #579dff;\n}\n.loader:nth-child(3) .l:nth-child(3) {\n animation-delay: 0.4s;\n margin-left: 0.1em;\n color: #acd9f1;\n}\n.loader:nth-child(3) .l:nth-child(4) {\n animation-delay: 0.3s;\n}\n\n.loader:nth-child(4) .l:nth-child(1) {\n animation-delay: 0.7s;\n margin-left: 0.3em;\n color: #105ee8;\n}\n.loader:nth-child(4) .l:nth-child(2) {\n animation-delay: 0.6s;\n margin-left: 0.2em;\n color: #579dff;\n}\n.loader:nth-child(4) .l:nth-child(3) {\n animation-delay: 0.5s;\n margin-left: 0.1em;\n color: #acd9f1;\n}\n.loader:nth-child(4) .l:nth-child(4) {\n animation-delay: 0.4s;\n}\n\n.loader:nth-child(5) .l:nth-child(1) {\n animation-delay: 0.8s;\n margin-left: 0.3em;\n color: #105ee8;\n}\n.loader:nth-child(5) .l:nth-child(2) {\n animation-delay: 0.7s;\n margin-left: 0.2em;\n color: #579dff;\n}\n.loader:nth-child(5) .l:nth-child(3) {\n animation-delay: 0.6s;\n margin-left: 0.1em;\n color: #acd9f1;\n}\n.loader:nth-child(5) .l:nth-child(4) {\n animation-delay: 0.5s;\n}\n\n.loader:nth-child(6) .l:nth-child(1) {\n animation-delay: 0.9s;\n margin-left: 0.3em;\n color: #105ee8;\n}\n.loader:nth-child(6) .l:nth-child(2) {\n animation-delay: 0.8s;\n margin-left: 0.2em;\n color: #579dff;\n}\n.loader:nth-child(6) .l:nth-child(3) {\n animation-delay: 0.7s;\n margin-left: 0.1em;\n color: #acd9f1;\n}\n.loader:nth-child(6) .l:nth-child(4) {\n animation-delay: 0.6s;\n}\n\n.loader:nth-child(7) .l:nth-child(1) {\n animation-delay: 1s;\n margin-left: 0.3em;\n color: #105ee8;\n}\n.loader:nth-child(7) .l:nth-child(2) {\n animation-delay: 0.9s;\n margin-left: 0.2em;\n color: #579dff;\n}\n.loader:nth-child(7) .l:nth-child(3) {\n animation-delay: 0.8s;\n margin-left: 0.1em;\n color: #acd9f1;\n}\n.loader:nth-child(7) .l:nth-child(4) {\n animation-delay: 0.7s;\n}\n\n@keyframes float {\n 0% {\n transform: translateY(0em);\n }\n 50% {\n transform: translateY(2em);\n }\n 100% {\n transform: translateY(0em);\n }\n}\n\n", "component_name": "GalaxyBlackBear45" }, "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": [ "不支持 text-shadow 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 text-shadow 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "high", "bundle_size": 4556, "render_cost": "high", "memory_usage": "high" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:39.959Z", "updated_at": "2025-07-31T07:55:39.959Z" }