UNPKG

galaxy-uniapp-mcp-server

Version:

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

86 lines 3.46 kB
{ "id": "alexruix_nervous-sheep-18", "name": "nervous-sheep-18", "category": "loaders", "author": "alexruix", "description": "nervous-sheep-18 组件 (loader, bars, animation)", "tags": [ "loader", "bars", "animation" ], "original": { "html": "<div class=\"loader\"></div>", "css": "/* From Uiverse.io by alexruix - Tags: loader, bars */\n.loader {\n width: 8px;\n height: 40px;\n border-radius: 4px;\n display: block;\n background-color: currentColor;\n margin: 20px auto;\n position: relative;\n color: #f2f2f2;\n animation: animloader 0.3s 0.3s linear infinite alternate;\n}\n\n.loader::after,\n.loader::before {\n content: '';\n width: 8px;\n height: 40px;\n border-radius: 4px;\n background: currentColor;\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n left: 20px;\n animation: animloader 0.3s 0.45s linear infinite alternate;\n}\n\n.loader::before {\n left: -20px;\n animation-delay: 0s;\n}\n\n@keyframes animloader {\n 0% {\n height: 48px;\n }\n\n 100% {\n height: 4px;\n }\n}", "file_path": "/mnt/persist/workspace/loaders/alexruix_nervous-sheep-18.html" }, "uniapp": { "template": "<view class=\"loader\"></view>", "script": "export default {\n name: 'GalaxyNervousSheep18',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by alexruix - Tags: loader, bars */\n.loader {\n width: 16rpx;\n height: 80rpx;\n border-radius: 8rpx;\n display: block;\n background-color: currentColor;\n margin: 40rpx auto;\n position: relative;\n color: #f2f2f2;\n animation: animloader 0.3s 0.3s linear infinite alternate;\n}\n\n.loader::after,\n.loader::before {\n content: '';\n width: 16rpx;\n height: 80rpx;\n border-radius: 8rpx;\n background: currentColor;\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n left: 40rpx;\n animation: animloader 0.3s 0.45s linear infinite alternate;\n}\n\n.loader::before {\n left: -40rpx;\n animation-delay: 0s;\n}\n\n@keyframes animloader {\n 0% {\n height: 96rpx;\n }\n\n 100% {\n height: 8rpx;\n }\n}\n", "component_name": "GalaxyNervousSheep18" }, "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": 741, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:40.927Z", "updated_at": "2025-07-31T07:55:40.927Z" }