galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
90 lines • 3.79 kB
JSON
{
"id": "bociKond_foolish-sloth-24",
"name": "foolish-sloth-24",
"category": "loaders",
"author": "bociKond",
"description": "foolish-sloth-24 组件 (minimalist, loading, loader, animated, color, minimal, animation)",
"tags": [
"minimalist",
"loading",
"loader",
"animated",
"color",
"minimal",
"animation"
],
"original": {
"html": "<div class=\"loader\"></div>",
"css": "/* From Uiverse.io by bociKond - Tags: minimalist, loading, loader, animated, color, minimal */\n.loader {\n /* color of choise */\n --clr: #05A8AA;\n /* loading time of choice */\n --load-time: 2s;\n outline: 5px solid var(--clr);\n outline-offset: 5px;\n position: relative;\n overflow: hidden;\n border-radius: 5rem;\n /* width: 10rem; */\n /* height: 2rem; */\n padding: 1rem 5rem;\n /* use either padding or width + height*/\n /* I prefer the padding one */\n /* rotate: -90deg; */\n /* rotate if you want/need vertical loader */\n}\n\n.loader::after {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: var(--clr);\n z-index: 2;\n animation: loading var(--load-time) ease-in-out infinite;\n}\n\n@keyframes loading {\n 0% {\n width: 0%;\n }\n\n 100% {\n width: 100%;\n }\n}",
"file_path": "/mnt/persist/workspace/loaders/bociKond_foolish-sloth-24.html"
},
"uniapp": {
"template": "<view class=\"loader\"></view>",
"script": "export default {\n name: 'GalaxyFoolishSloth24',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by bociKond - Tags: minimalist, loading, loader, animated, color, minimal */\n.loader {\n /* color of choise */\n --clr: #05A8AA;\n /* loading time of choice */\n --load-time: 2s;\n outline: 10rpx solid var(--clr);\n outline-offset: 10rpx;\n position: relative;\n overflow: hidden;\n border-radius: 5rem;\n /* width: 10rem; */\n /* height: 2rem; */\n padding: 1rem 5rem;\n /* use either padding or width + height*/\n /* I prefer the padding one */\n /* rotate: -90deg; */\n /* rotate if you want/need vertical loader */\n}\n\n.loader::after {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: var(--clr);\n z-index: 2;\n animation: loading var(--load-time) ease-in-out infinite;\n}\n\n@keyframes loading {\n 0% {\n width: 0%;\n }\n\n 100% {\n width: 100%;\n }\n}\n",
"component_name": "GalaxyFoolishSloth24"
},
"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": 861,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:41.051Z",
"updated_at": "2025-07-31T07:55:41.051Z"
}