UNPKG

galaxy-uniapp-mcp-server

Version:

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

89 lines 3.8 kB
{ "id": "Smit-Prajapati_soft-donkey-32", "name": "soft-donkey-32", "category": "loaders", "author": "Smit-Prajapati", "description": "soft-donkey-32 组件 (blue, loader, light, neon, animation, gradient)", "tags": [ "blue", "loader", "light", "neon", "animation", "gradient" ], "original": { "html": "<div class=\"loader\">\n <div class=\"light\"></div>\n <div class=\"black_overlay\"></div>\n</div>", "css": "/* From Uiverse.io by Smit-Prajapati - Tags: blue, loader, light, neon */\n.loader {\n height: 2px;\n width: 300px;\n background: rgb(44, 44, 44);\n position: relative;\n overflow: hidden;\n}\n.loader .black_overlay {\n background: linear-gradient(\n 87deg,\n rgb(0, 0, 0) 0%,\n rgba(0, 0, 0, 0.14) 30%,\n rgba(0, 0, 0, 0.14) 70%,\n rgb(0, 0, 0) 100%\n );\n position: absolute;\n inset: 0px;\n}\n.loader .light {\n width: 70px;\n height: 100%;\n position: absolute;\n left: -20%;\n top: 0px;\n background: linear-gradient(\n 87deg,\n rgba(0, 0, 0, 0) 0%,\n rgb(0, 204, 255) 40%,\n rgb(0, 204, 255) 60%,\n rgba(0, 0, 0, 0) 100%\n );\n animation: light 2s infinite ease-in-out;\n}\n\n@keyframes light {\n from {\n left: -30%;\n }\n to {\n left: 100%;\n }\n}", "file_path": "/mnt/persist/workspace/loaders/Smit-Prajapati_soft-donkey-32.html" }, "uniapp": { "template": "<view class=\"loader\"></view>\n <view class=\"light\"></view>\n <view class=\"black_overlay\"></view>\n</div>", "script": "export default {\n name: 'GalaxySoftDonkey32',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by Smit-Prajapati - Tags: blue, loader, light, neon */\n.loader {\n height: 4rpx;\n width: 600rpx;\n background: rgb(44, 44, 44);\n position: relative;\n overflow: hidden;\n}\n.loader .black_overlay {\n background: linear-gradient(\n 87deg,\n rgb(0, 0, 0) 0%,\n rgba(0, 0, 0, 0.14) 30%,\n rgba(0, 0, 0, 0.14) 70%,\n rgb(0, 0, 0) 100%\n );\n position: absolute;\n inset: 0rpx;\n}\n.loader .light {\n width: 140rpx;\n height: 100%;\n position: absolute;\n left: -20%;\n top: 0rpx;\n background: linear-gradient(\n 87deg,\n rgba(0, 0, 0, 0) 0%,\n rgb(0, 204, 255) 40%,\n rgb(0, 204, 255) 60%,\n rgba(0, 0, 0, 0) 100%\n );\n animation: light 2s infinite ease-in-out;\n}\n\n@keyframes light {\n from {\n left: -30%;\n }\n to {\n left: 100%;\n }\n}\n\n", "component_name": "GalaxySoftDonkey32" }, "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": 872, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:40.513Z", "updated_at": "2025-07-31T07:55:40.513Z" }