galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
88 lines • 3.62 kB
JSON
{
"id": "Yaya12085_short-swan-83",
"name": "short-swan-83",
"category": "loaders",
"author": "Yaya12085",
"description": "short-swan-83 组件 (loading, progress bar, loader, colorful, animation)",
"tags": [
"loading",
"progress bar",
"loader",
"colorful",
"animation"
],
"original": {
"html": "<div class=\"loader\"></div>",
"css": "/* From Uiverse.io by Yaya12085 - Tags: loading, progress bar, loader, colorful */\n.loader {\n box-sizing: border-box;\n position: relative;\n display: block;\n width: 60px;\n height: 22px;\n border: 2px solid;\n border-radius: 3px;\n margin-left: -3px\n}\n\n.loader::after,\n.loader::before {\n content: \"\";\n display: block;\n box-sizing: border-box;\n position: absolute;\n height: 12px;\n background: currentColor;\n top: 3px\n}\n\n.loader::before {\n right: -4px;\n border-radius: 3px;\n width: 4px\n}\n\n.loader::after {\n width: 1px;\n left: 3px;\n animation: full 2s ease-in-out infinite;\n}\n\n@keyframes full {\n 20% {\n background-color: red\n }\n\n 45% {\n background-color: yellow;\n }\n\n to {\n width: 50px;\n background-color: greenyellow;\n }\n}",
"file_path": "/mnt/persist/workspace/loaders/Yaya12085_short-swan-83.html"
},
"uniapp": {
"template": "<view class=\"loader\"></view>",
"script": "export default {\n name: 'GalaxyShortSwan83',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by Yaya12085 - Tags: loading, progress bar, loader, colorful */\n.loader {\n box-sizing: border-box;\n position: relative;\n display: block;\n width: 120rpx;\n height: 44rpx;\n border: 4rpx solid;\n border-radius: 6rpx;\n margin-left: -6rpx\n}\n\n.loader::after,\n.loader::before {\n content: \"\";\n display: block;\n box-sizing: border-box;\n position: absolute;\n height: 24rpx;\n background: currentColor;\n top: 6rpx\n}\n\n.loader::before {\n right: -8rpx;\n border-radius: 6rpx;\n width: 8rpx\n}\n\n.loader::after {\n width: 2rpx;\n left: 6rpx;\n animation: full 2s ease-in-out infinite;\n}\n\n@keyframes full {\n 20% {\n background-color: red\n }\n\n 45% {\n background-color: yellow;\n }\n\n to {\n width: 100rpx;\n background-color: greenyellow;\n }\n}\n",
"component_name": "GalaxyShortSwan83"
},
"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": 785,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:40.784Z",
"updated_at": "2025-07-31T07:55:40.784Z"
}