galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
85 lines • 4.88 kB
JSON
{
"id": "Nawsome_friendly-parrot-96",
"name": "friendly-parrot-96",
"category": "loaders",
"author": "Nawsome",
"description": "friendly-parrot-96 组件 (loader, animation)",
"tags": [
"loader",
"animation"
],
"original": {
"html": "<div class=\"container\">\n <div class=\"ball\"></div>\n <div class=\"ball\"></div>\n <div class=\"ball\"></div>\n <div class=\"ball\"></div>\n <div class=\"ball\"></div>\n <div class=\"ball\"></div>\n <div class=\"ball\"></div>\n</div>",
"css": "/* From Uiverse.io by Nawsome - Tags: loader */\n.container {\n width: 200px;\n height: 150px;\n margin: 0 auto;\n}\n\n.ball {\n width: 10px;\n height: 10px;\n margin: 10px auto;\n border-radius: 50px;\n}\n\n.ball:nth-child(1) {\n background: #ffffff;\n animation: right2 1s infinite ease-in-out;\n}\n\n.ball:nth-child(2) {\n background: #ffffff;\n animation: left2 1.1s infinite ease-in-out;\n}\n\n.ball:nth-child(3) {\n background: #ffffff;\n animation: right2 1.05s infinite ease-in-out;\n}\n\n.ball:nth-child(4) {\n background: #ffffff;\n animation: left2 1.15s infinite ease-in-out;\n}\n\n.ball:nth-child(5) {\n background: #ffffff;\n animation: right2 1.1s infinite ease-in-out;\n}\n\n.ball:nth-child(6) {\n background: #ffffff;\n animation: left2 1.05s infinite ease-in-out;\n}\n\n.ball:nth-child(7) {\n background: #ffffff;\n animation: right2 1s infinite ease-in-out;\n}\n\n@keyframes right2 {\n 0% {\n transform: translate(-15px);\n }\n\n 50% {\n transform: translate(15px);\n }\n\n 100% {\n transform: translate(-15px);\n }\n}\n\n@keyframes left2 {\n 0% {\n transform: translate(15px);\n }\n\n 50% {\n transform: translate(-15px);\n }\n\n 100% {\n transform: translate(15px);\n }\n}",
"file_path": "/mnt/persist/workspace/loaders/Nawsome_friendly-parrot-96.html"
},
"uniapp": {
"template": "<view class=\"container\"></view>\n <view class=\"ball\"></view>\n <view class=\"ball\"></view>\n <view class=\"ball\"></view>\n <view class=\"ball\"></view>\n <view class=\"ball\"></view>\n <view class=\"ball\"></view>\n <view class=\"ball\"></view>\n</div>",
"script": "export default {\n name: 'GalaxyFriendlyParrot96',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by Nawsome - Tags: loader */\n.container {\n width: 400rpx;\n height: 300rpx;\n margin: 0 auto;\n}\n\n.ball {\n width: 20rpx;\n height: 20rpx;\n margin: 20rpx auto;\n border-radius: 100rpx;\n}\n\n.ball:nth-child(1) {\n background: #ffffff;\n animation: right2 1s infinite ease-in-out;\n}\n\n.ball:nth-child(2) {\n background: #ffffff;\n animation: left2 1.1s infinite ease-in-out;\n}\n\n.ball:nth-child(3) {\n background: #ffffff;\n animation: right2 1.05s infinite ease-in-out;\n}\n\n.ball:nth-child(4) {\n background: #ffffff;\n animation: left2 1.15s infinite ease-in-out;\n}\n\n.ball:nth-child(5) {\n background: #ffffff;\n animation: right2 1.1s infinite ease-in-out;\n}\n\n.ball:nth-child(6) {\n background: #ffffff;\n animation: left2 1.05s infinite ease-in-out;\n}\n\n.ball:nth-child(7) {\n background: #ffffff;\n animation: right2 1s infinite ease-in-out;\n}\n\n@keyframes right2 {\n 0% {\n transform: translate(-30rpx);\n }\n\n 50% {\n transform: translate(30rpx);\n }\n\n 100% {\n transform: translate(-30rpx);\n }\n}\n\n@keyframes left2 {\n 0% {\n transform: translate(30rpx);\n }\n\n 50% {\n transform: translate(-30rpx);\n }\n\n 100% {\n transform: translate(30rpx);\n }\n}\n",
"component_name": "GalaxyFriendlyParrot96"
},
"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": 1392,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:39.793Z",
"updated_at": "2025-07-31T07:55:39.793Z"
}