galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
85 lines • 4.18 kB
JSON
{
"id": "edwardytb_serious-cat-43",
"name": "serious-cat-43",
"category": "loaders",
"author": "edwardytb",
"description": "serious-cat-43 组件 (loader, animation)",
"tags": [
"loader",
"animation"
],
"original": {
"html": "<div class=\"loader\">\n <div class=\"box\"></div>\n <div class=\"circle\"></div>\n <div class=\"triangle\"></div>\n</div>",
"css": "/* From Uiverse.io by edwardytb - Tags: loader */\n.loader {\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n}\n\n.box {\n width: 50px;\n height: 50px;\n border: 4px solid #3498db;\n animation: box-expand 1s ease-in-out infinite alternate;\n}\n\n.circle {\n width: 30px;\n height: 30px;\n border-radius: 50%;\n border: 4px solid transparent;\n border-top-color: #f1c40f;\n animation: circle-rotate 1s linear infinite;\n}\n\n.triangle {\n width: 0;\n height: 0;\n border-left: 15px solid transparent;\n border-right: 15px solid transparent;\n border-bottom: 30px solid #e74c3c;\n animation: triangle-expand 1s ease-in-out infinite alternate;\n}\n\n@keyframes box-expand {\n 0% {\n transform: scale(1);\n }\n\n 100% {\n transform: scale(1.2);\n }\n}\n\n@keyframes circle-rotate {\n to {\n transform: rotate(360deg);\n }\n}\n\n@keyframes triangle-expand {\n 0% {\n width: 0;\n height: 0;\n }\n\n 100% {\n width: 30px;\n height: 60px;\n }\n}",
"file_path": "/mnt/persist/workspace/loaders/edwardytb_serious-cat-43.html"
},
"uniapp": {
"template": "<view class=\"loader\"></view>\n <view class=\"box\"></view>\n <view class=\"circle\"></view>\n <view class=\"triangle\"></view>\n</div>",
"script": "export default {\n name: 'GalaxySeriousCat43',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by edwardytb - Tags: loader */\n.loader {\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n}\n\n.box {\n width: 100rpx;\n height: 100rpx;\n border: 8rpx solid #3498db;\n animation: box-expand 1s ease-in-out infinite alternate;\n}\n\n.circle {\n width: 60rpx;\n height: 60rpx;\n border-radius: 50%;\n border: 8rpx solid transparent;\n border-top-color: #f1c40f;\n animation: circle-rotate 1s linear infinite;\n}\n\n.triangle {\n width: 0;\n height: 0;\n border-left: 30rpx solid transparent;\n border-right: 30rpx solid transparent;\n border-bottom: 60rpx solid #e74c3c;\n animation: triangle-expand 1s ease-in-out infinite alternate;\n}\n\n@keyframes box-expand {\n 0% {\n transform: scale(1);\n }\n\n 100% {\n transform: scale(1.2);\n }\n}\n\n@keyframes circle-rotate {\n to {\n transform: rotate(360deg);\n }\n}\n\n@keyframes triangle-expand {\n 0% {\n width: 0;\n height: 0;\n }\n\n 100% {\n width: 60rpx;\n height: 120rpx;\n }\n}\n\n",
"component_name": "GalaxySeriousCat43"
},
"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": 1086,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:41.341Z",
"updated_at": "2025-07-31T07:55:41.341Z"
}