galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
85 lines • 4.07 kB
JSON
{
"id": "alexruix_white-cat-50",
"name": "white-cat-50",
"category": "loaders",
"author": "alexruix",
"description": "white-cat-50 组件 (loader, animation)",
"tags": [
"loader",
"animation"
],
"original": {
"html": "<div class=\"loader\"></div>",
"css": "/* From Uiverse.io by alexruix - Tags: loader */\n.loader {\n width: 48px;\n height: 48px;\n margin: auto;\n position: relative;\n}\n\n.loader:before {\n content: '';\n width: 48px;\n height: 5px;\n background: #f0808050;\n position: absolute;\n top: 60px;\n left: 0;\n border-radius: 50%;\n animation: shadow324 0.5s linear infinite;\n}\n\n.loader:after {\n content: '';\n width: 100%;\n height: 100%;\n background: #f08080;\n position: absolute;\n top: 0;\n left: 0;\n border-radius: 4px;\n animation: jump7456 0.5s linear infinite;\n}\n\n@keyframes jump7456 {\n 15% {\n border-bottom-right-radius: 3px;\n }\n\n 25% {\n transform: translateY(9px) rotate(22.5deg);\n }\n\n 50% {\n transform: translateY(18px) scale(1, .9) rotate(45deg);\n border-bottom-right-radius: 40px;\n }\n\n 75% {\n transform: translateY(9px) rotate(67.5deg);\n }\n\n 100% {\n transform: translateY(0) rotate(90deg);\n }\n}\n\n@keyframes shadow324 {\n\n 0%,\n 100% {\n transform: scale(1, 1);\n }\n\n 50% {\n transform: scale(1.2, 1);\n }\n}",
"file_path": "/mnt/persist/workspace/loaders/alexruix_white-cat-50.html"
},
"uniapp": {
"template": "<view class=\"loader\"></view>",
"script": "export default {\n name: 'GalaxyWhiteCat50',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by alexruix - Tags: loader */\n.loader {\n width: 96rpx;\n height: 96rpx;\n margin: auto;\n position: relative;\n}\n\n.loader:before {\n content: '';\n width: 96rpx;\n height: 10rpx;\n background: #f0808050;\n position: absolute;\n top: 120rpx;\n left: 0;\n border-radius: 50%;\n animation: shadow324 0.5s linear infinite;\n}\n\n.loader:after {\n content: '';\n width: 100%;\n height: 100%;\n background: #f08080;\n position: absolute;\n top: 0;\n left: 0;\n border-radius: 8rpx;\n animation: jump7456 0.5s linear infinite;\n}\n\n@keyframes jump7456 {\n 15% {\n border-bottom-right-radius: 6rpx;\n }\n\n 25% {\n transform: translateY(18rpx) rotate(22.5deg);\n }\n\n 50% {\n transform: translateY(36rpx) scale(1, .9) rotate(45deg);\n border-bottom-right-radius: 80rpx;\n }\n\n 75% {\n transform: translateY(18rpx) rotate(67.5deg);\n }\n\n 100% {\n transform: translateY(0) rotate(90deg);\n }\n}\n\n@keyframes shadow324 {\n\n 0%,\n 100% {\n transform: scale(1, 1);\n }\n\n 50% {\n transform: scale(1.2, 1);\n }\n}\n",
"component_name": "GalaxyWhiteCat50"
},
"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": 1043,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:40.934Z",
"updated_at": "2025-07-31T07:55:40.934Z"
}