galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
87 lines • 4.22 kB
JSON
{
"id": "catraco_strong-bat-45",
"name": "strong-bat-45",
"category": "loaders",
"author": "catraco",
"description": "strong-bat-45 组件 (loader, circle, animated, animation)",
"tags": [
"loader",
"circle",
"animated",
"animation"
],
"original": {
"html": "<div class=\"loader\">\n <span></span>\n</div>",
"css": "/* From Uiverse.io by catraco - Tags: loader, circle, animated */\n.loader {\n --eye: #212121;\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.loader::before {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n transform: translate(-50%, -50%);\n border: 5px solid var(--eye);\n border-radius: 100%;\n animation: translate-keyframes 2s infinite linear;\n}\n\n.loader span {\n position: absolute;\n width: 40px;\n height: 40px;\n border-radius: 100%;\n border-top: 12px solid var(--eye);\n border-bottom: 5px solid var(--eye);\n outline: 2px solid var(--eye);\n}\n\n.loader span {\n animation: rotate-keyframes 2s infinite linear;\n}\n\n@keyframes translate-keyframes {\n 0% {\n transform: translate(-100%, -50%);\n }\n\n 95% {\n transform: translate(50%, -50%);\n }\n\n 96% {\n transform: translate(-50%, -50%);\n }\n\n 100% {\n transform: translate(-100%, -50%);\n }\n}\n\n@keyframes rotate-keyframes {\n 90% {\n height: 40px;\n }\n\n 95% {\n height: 0px;\n }\n\n 100% {\n height: 40px;\n }\n}",
"file_path": "/mnt/persist/workspace/loaders/catraco_strong-bat-45.html"
},
"uniapp": {
"template": "<view class=\"loader\"></view>\n <text></text>\n</div>",
"script": "export default {\n name: 'GalaxyStrongBat45',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by catraco - Tags: loader, circle, animated */\n.loader {\n --eye: #212121;\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.loader::before {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n transform: translate(-50%, -50%);\n border: 10rpx solid var(--eye);\n border-radius: 100%;\n animation: translate-keyframes 2s infinite linear;\n}\n\n.loader span {\n position: absolute;\n width: 80rpx;\n height: 80rpx;\n border-radius: 100%;\n border-top: 24rpx solid var(--eye);\n border-bottom: 10rpx solid var(--eye);\n outline: 4rpx solid var(--eye);\n}\n\n.loader span {\n animation: rotate-keyframes 2s infinite linear;\n}\n\n@keyframes translate-keyframes {\n 0% {\n transform: translate(-100%, -50%);\n }\n\n 95% {\n transform: translate(50%, -50%);\n }\n\n 96% {\n transform: translate(-50%, -50%);\n }\n\n 100% {\n transform: translate(-100%, -50%);\n }\n}\n\n@keyframes rotate-keyframes {\n 90% {\n height: 80rpx;\n }\n\n 95% {\n height: 0rpx;\n }\n\n 100% {\n height: 80rpx;\n }\n}\n",
"component_name": "GalaxyStrongBat45"
},
"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": 1090,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:41.097Z",
"updated_at": "2025-07-31T07:55:41.097Z"
}