UNPKG

galaxy-uniapp-mcp-server

Version:

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

89 lines 5.88 kB
{ "id": "doniaskima_rare-newt-29", "name": "rare-newt-29", "category": "loaders", "author": "doniaskima", "description": "rare-newt-29 组件 (simple, material design, neumorphism, loader, animation, gradient)", "tags": [ "simple", "material design", "neumorphism", "loader", "animation", "gradient" ], "original": { "html": "<div class=\"loader\"></div>", "css": "/* From Uiverse.io by doniaskima - Tags: simple, material design, neumorphism, loader */\n.loader {\n width: fit-content;\n font-size: 17px;\n font-family: monospace;\n line-height: 1.4;\n font-weight: bold;\n background: linear-gradient(#000 0 0) left ,\n linear-gradient(#000 0 0) right;\n background-repeat: no-repeat;\n border-right: 5px solid #0000;\n border-left: 5px solid #0000;\n background-origin: border-box;\n position: relative;\n animation: l9-0 2s infinite;\n}\n\n.loader::before {\n content: \"Loading\";\n}\n\n.loader::after {\n content: \"\";\n position: absolute;\n top: 100%;\n left: 0;\n width: 22px;\n height: 60px;\n background: linear-gradient(90deg,#000 4px,#0000 0 calc(100% - 4px),#000 0) bottom /22px 20px,\n linear-gradient(90deg,red 4px,#0000 0 calc(100% - 4px),red 0) bottom 10px left 0/22px 6px,\n linear-gradient(#000 0 0) bottom 3px left 0 /22px 8px,\n linear-gradient(#000 0 0) bottom 0 left 50%/8px 16px;\n background-repeat: no-repeat;\n animation: l9-1 2s infinite;\n}\n\n@keyframes l9-0 {\n 0%,25% {\n background-size: 50% 100%\n }\n\n 25.1%,75% {\n background-size: 0 0,50% 100%\n }\n\n 75.1%,100% {\n background-size: 0 0,0 0\n }\n}\n\n@keyframes l9-1 {\n 25% {\n background-position: bottom, bottom 54px left 0,bottom 3px left 0,bottom 0 left 50%;\n left: 0\n }\n\n 25.1% {\n background-position: bottom, bottom 10px left 0,bottom 3px left 0,bottom 0 left 50%;\n left: 0\n }\n\n 50% {\n background-position: bottom, bottom 10px left 0,bottom 3px left 0,bottom 0 left 50%;\n left: calc(100% - 22px)\n }\n\n 75% {\n background-position: bottom, bottom 54px left 0,bottom 3px left 0,bottom 0 left 50%;\n left: calc(100% - 22px)\n }\n\n 75.1% {\n background-position: bottom, bottom 10px left 0,bottom 3px left 0,bottom 0 left 50%;\n left: calc(100% - 22px)\n }\n}", "file_path": "/mnt/persist/workspace/loaders/doniaskima_rare-newt-29.html" }, "uniapp": { "template": "<view class=\"loader\"></view>", "script": "export default {\n name: 'GalaxyRareNewt29',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by doniaskima - Tags: simple, material design, neumorphism, loader */\n.loader {\n width: fit-content;\n font-size: 34rpx;\n font-family: monospace;\n line-height: 1.4;\n font-weight: bold;\n background: linear-gradient(#000 0 0) left ,\n linear-gradient(#000 0 0) right;\n background-repeat: no-repeat;\n border-right: 10rpx solid #0000;\n border-left: 10rpx solid #0000;\n background-origin: border-box;\n position: relative;\n animation: l9-0 2s infinite;\n}\n\n.loader::before {\n content: \"Loading\";\n}\n\n.loader::after {\n content: \"\";\n position: absolute;\n top: 100%;\n left: 0;\n width: 44rpx;\n height: 120rpx;\n background: linear-gradient(90deg,#000 8rpx,#0000 0 calc(100% - 8rpx),#000 0) bottom /44rpx 40rpx,\n linear-gradient(90deg,red 8rpx,#0000 0 calc(100% - 8rpx),red 0) bottom 20rpx left 0/44rpx 12rpx,\n linear-gradient(#000 0 0) bottom 6rpx left 0 /44rpx 16rpx,\n linear-gradient(#000 0 0) bottom 0 left 50%/16rpx 32rpx;\n background-repeat: no-repeat;\n animation: l9-1 2s infinite;\n}\n\n@keyframes l9-0 {\n 0%,25% {\n background-size: 50% 100%\n }\n\n 25.1%,75% {\n background-size: 0 0,50% 100%\n }\n\n 75.1%,100% {\n background-size: 0 0,0 0\n }\n}\n\n@keyframes l9-1 {\n 25% {\n background-position: bottom, bottom 108rpx left 0,bottom 6rpx left 0,bottom 0 left 50%;\n left: 0\n }\n\n 25.1% {\n background-position: bottom, bottom 20rpx left 0,bottom 6rpx left 0,bottom 0 left 50%;\n left: 0\n }\n\n 50% {\n background-position: bottom, bottom 20rpx left 0,bottom 6rpx left 0,bottom 0 left 50%;\n left: calc(100% - 44rpx)\n }\n\n 75% {\n background-position: bottom, bottom 108rpx left 0,bottom 6rpx left 0,bottom 0 left 50%;\n left: calc(100% - 44rpx)\n }\n\n 75.1% {\n background-position: bottom, bottom 20rpx left 0,bottom 6rpx left 0,bottom 0 left 50%;\n left: calc(100% - 44rpx)\n }\n}\n", "component_name": "GalaxyRareNewt29" }, "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": 1856, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:41.302Z", "updated_at": "2025-07-31T07:55:41.302Z" }