galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
88 lines • 11.4 kB
JSON
{
"id": "lesimpleliott_purple-dragon-56",
"name": "purple-dragon-56",
"category": "loaders",
"author": "lesimpleliott",
"description": "purple-dragon-56 组件 (loader, ball, funny, jump, animation)",
"tags": [
"loader",
"ball",
"funny",
"jump",
"animation"
],
"original": {
"html": "<div class=\"loader\">\n <div class=\"loader__balls\">\n <div class=\"loader__balls__group\">\n <div class=\"ball item1\"></div>\n <div class=\"ball item1\"></div>\n <div class=\"ball item1\"></div>\n </div>\n <div class=\"loader__balls__group\">\n <div class=\"ball item2\"></div>\n <div class=\"ball item2\"></div>\n <div class=\"ball item2\"></div>\n </div>\n <div class=\"loader__balls__group\">\n <div class=\"ball item3\"></div>\n <div class=\"ball item3\"></div>\n <div class=\"ball item3\"></div>\n </div>\n </div>\n</div>",
"css": "/* From Uiverse.io by lesimpleliott - Tags: loader, ball, funny, jump */\n.loader__balls {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n gap: 15px;\n}\n.loader__balls__group {\n display: flex;\n flex-direction: column;\n justify-content: flex-end;\n align-items: center;\n position: relative;\n height: 100px;\n width: 40px;\n}\n.ball {\n height: 30px;\n width: 30px;\n border-radius: 15px;\n position: absolute;\n transform-origin: bottom;\n}\n\n/* ANIMATION BALL 1*/\n.loader__balls__group :nth-child(1) {\n background-color: #99e2d0;\n animation-name: jumpinBallAnimation1;\n animation-duration: 1000ms;\n animation-iteration-count: infinite;\n}\n@keyframes jumpinBallAnimation1 {\n 0% {\n transform: translateY(0) scale(1, 1);\n }\n 10% {\n transform: translateY(0) scale(1.3, 0.8);\n }\n 11% {\n transform: translateY(0) scale(0.7, 1.2);\n animation-timing-function: cubic-bezier(0, 0, 0.5, 1);\n }\n 39% {\n transform: translateY(-75px) scale(1);\n animation-timing-function: cubic-bezier(0, 0, 0.5, 1);\n }\n 40% {\n transform: translateY(-75px) scale(1);\n }\n 41% {\n transform: translateY(-75px) scale(1);\n animation-timing-function: cubic-bezier(1, 0, 1, 0);\n }\n 69% {\n transform: translateY(0px) scale(1, 1);\n animation-timing-function: cubic-bezier(1, 0, 1, 0);\n }\n 70% {\n transform: translateY(0) scale(1.5, 0.4);\n }\n 80% {\n transform: translateY(0) scale(0.8, 1.2);\n }\n 90% {\n transform: translateY(0) scale(1.1, 0.8);\n }\n 100% {\n transform: translateY(0) scale(1, 1);\n }\n}\n\n/* ANIMATION BALL 2*/\n.loader__balls__group :nth-child(2) {\n background-color: #ff79da;\n animation-name: jumpinBallAnimation2;\n animation-duration: 1000ms;\n animation-iteration-count: infinite;\n}\n@keyframes jumpinBallAnimation2 {\n 0% {\n transform: translateY(0) scale(1, 1);\n }\n 10% {\n transform: translateY(0) scale(1.3, 0.8);\n }\n 11% {\n transform: translateY(0) scale(0.7, 1.2);\n animation-timing-function: cubic-bezier(0, 0.5, 0.5, 1);\n }\n 39% {\n transform: translateY(-75px) scale(1);\n animation-timing-function: cubic-bezier(0, 0.5, 0.5, 1);\n }\n 40% {\n transform: translateY(-75px) scale(1);\n }\n 41% {\n transform: translateY(-75px) scale(1);\n animation-timing-function: cubic-bezier(1, 0, 1, 0.5);\n }\n 69% {\n transform: translateY(0px) scale(1, 1);\n animation-timing-function: cubic-bezier(1, 0, 1, 0.5);\n }\n 70% {\n transform: translateY(0) scale(1.5, 0.4);\n }\n 80% {\n transform: translateY(0) scale(0.8, 1.2);\n }\n 90% {\n transform: translateY(0) scale(1.1, 0.8);\n }\n 100% {\n transform: translateY(0) scale(1, 1);\n }\n}\n\n/* ANIMATION BALL 3*/\n.loader__balls__group :nth-child(3) {\n background-color: #9356dc;\n animation-name: jumpinBallAnimation3;\n animation-duration: 1000ms;\n animation-iteration-count: infinite;\n}\n@keyframes jumpinBallAnimation3 {\n 0% {\n transform: translateY(0) scale(1, 1);\n }\n 10% {\n transform: translateY(0) scale(1.3, 0.8);\n }\n 11% {\n transform: translateY(0) scale(0.7, 1.2);\n animation-timing-function: cubic-bezier(0, 1, 0.5, 1);\n }\n 39% {\n transform: translateY(-75px) scale(1);\n animation-timing-function: cubic-bezier(0, 1, 0.5, 1);\n }\n 40% {\n transform: translateY(-75px) scale(1);\n }\n 41% {\n transform: translateY(-75px) scale(1);\n animation-timing-function: cubic-bezier(1, 0, 1, 1);\n }\n 69% {\n transform: translateY(0px) scale(1, 1);\n animation-timing-function: cubic-bezier(1, 0, 1, 1);\n }\n 70% {\n transform: translateY(0) scale(1.5, 0.4);\n }\n 80% {\n transform: translateY(0) scale(0.8, 1.2);\n }\n 90% {\n transform: translateY(0) scale(1.1, 0.8);\n }\n 100% {\n transform: translateY(0) scale(1, 1);\n }\n}\n.loader__balls__group .item1 {\n animation-delay: 0ms;\n}\n.loader__balls__group .item2 {\n animation-delay: 100ms;\n}\n.loader__balls__group .item3 {\n animation-delay: 200ms;\n}",
"file_path": "/mnt/persist/workspace/loaders/lesimpleliott_purple-dragon-56.html"
},
"uniapp": {
"template": "<view class=\"loader\"></view>\n <view class=\"loader__balls\"></view>\n <view class=\"loader__balls__group\"></view>\n <view class=\"ball item1\"></view>\n <view class=\"ball item1\"></view>\n <view class=\"ball item1\"></view>\n </div>\n <view class=\"loader__balls__group\"></view>\n <view class=\"ball item2\"></view>\n <view class=\"ball item2\"></view>\n <view class=\"ball item2\"></view>\n </div>\n <view class=\"loader__balls__group\"></view>\n <view class=\"ball item3\"></view>\n <view class=\"ball item3\"></view>\n <view class=\"ball item3\"></view>\n </div>\n </div>\n</div>",
"script": "export default {\n name: 'GalaxyPurpleDragon56',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by lesimpleliott - Tags: loader, ball, funny, jump */\n.loader__balls {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n gap: 30rpx;\n}\n.loader__balls__group {\n display: flex;\n flex-direction: column;\n justify-content: flex-end;\n align-items: center;\n position: relative;\n height: 200rpx;\n width: 80rpx;\n}\n.ball {\n height: 60rpx;\n width: 60rpx;\n border-radius: 30rpx;\n position: absolute;\n transform-origin: bottom;\n}\n\n/* ANIMATION BALL 1*/\n.loader__balls__group :nth-child(1) {\n background-color: #99e2d0;\n animation-name: jumpinBallAnimation1;\n animation-duration: 1000ms;\n animation-iteration-count: infinite;\n}\n@keyframes jumpinBallAnimation1 {\n 0% {\n transform: translateY(0) scale(1, 1);\n }\n 10% {\n transform: translateY(0) scale(1.3, 0.8);\n }\n 11% {\n transform: translateY(0) scale(0.7, 1.2);\n animation-timing-function: cubic-bezier(0, 0, 0.5, 1);\n }\n 39% {\n transform: translateY(-150rpx) scale(1);\n animation-timing-function: cubic-bezier(0, 0, 0.5, 1);\n }\n 40% {\n transform: translateY(-150rpx) scale(1);\n }\n 41% {\n transform: translateY(-150rpx) scale(1);\n animation-timing-function: cubic-bezier(1, 0, 1, 0);\n }\n 69% {\n transform: translateY(0rpx) scale(1, 1);\n animation-timing-function: cubic-bezier(1, 0, 1, 0);\n }\n 70% {\n transform: translateY(0) scale(1.5, 0.4);\n }\n 80% {\n transform: translateY(0) scale(0.8, 1.2);\n }\n 90% {\n transform: translateY(0) scale(1.1, 0.8);\n }\n 100% {\n transform: translateY(0) scale(1, 1);\n }\n}\n\n/* ANIMATION BALL 2*/\n.loader__balls__group :nth-child(2) {\n background-color: #ff79da;\n animation-name: jumpinBallAnimation2;\n animation-duration: 1000ms;\n animation-iteration-count: infinite;\n}\n@keyframes jumpinBallAnimation2 {\n 0% {\n transform: translateY(0) scale(1, 1);\n }\n 10% {\n transform: translateY(0) scale(1.3, 0.8);\n }\n 11% {\n transform: translateY(0) scale(0.7, 1.2);\n animation-timing-function: cubic-bezier(0, 0.5, 0.5, 1);\n }\n 39% {\n transform: translateY(-150rpx) scale(1);\n animation-timing-function: cubic-bezier(0, 0.5, 0.5, 1);\n }\n 40% {\n transform: translateY(-150rpx) scale(1);\n }\n 41% {\n transform: translateY(-150rpx) scale(1);\n animation-timing-function: cubic-bezier(1, 0, 1, 0.5);\n }\n 69% {\n transform: translateY(0rpx) scale(1, 1);\n animation-timing-function: cubic-bezier(1, 0, 1, 0.5);\n }\n 70% {\n transform: translateY(0) scale(1.5, 0.4);\n }\n 80% {\n transform: translateY(0) scale(0.8, 1.2);\n }\n 90% {\n transform: translateY(0) scale(1.1, 0.8);\n }\n 100% {\n transform: translateY(0) scale(1, 1);\n }\n}\n\n/* ANIMATION BALL 3*/\n.loader__balls__group :nth-child(3) {\n background-color: #9356dc;\n animation-name: jumpinBallAnimation3;\n animation-duration: 1000ms;\n animation-iteration-count: infinite;\n}\n@keyframes jumpinBallAnimation3 {\n 0% {\n transform: translateY(0) scale(1, 1);\n }\n 10% {\n transform: translateY(0) scale(1.3, 0.8);\n }\n 11% {\n transform: translateY(0) scale(0.7, 1.2);\n animation-timing-function: cubic-bezier(0, 1, 0.5, 1);\n }\n 39% {\n transform: translateY(-150rpx) scale(1);\n animation-timing-function: cubic-bezier(0, 1, 0.5, 1);\n }\n 40% {\n transform: translateY(-150rpx) scale(1);\n }\n 41% {\n transform: translateY(-150rpx) scale(1);\n animation-timing-function: cubic-bezier(1, 0, 1, 1);\n }\n 69% {\n transform: translateY(0rpx) scale(1, 1);\n animation-timing-function: cubic-bezier(1, 0, 1, 1);\n }\n 70% {\n transform: translateY(0) scale(1.5, 0.4);\n }\n 80% {\n transform: translateY(0) scale(0.8, 1.2);\n }\n 90% {\n transform: translateY(0) scale(1.1, 0.8);\n }\n 100% {\n transform: translateY(0) scale(1, 1);\n }\n}\n.loader__balls__group .item1 {\n animation-delay: 0ms;\n}\n.loader__balls__group .item2 {\n animation-delay: 100ms;\n}\n.loader__balls__group .item3 {\n animation-delay: 200ms;\n}\n\n",
"component_name": "GalaxyPurpleDragon56"
},
"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": "high",
"bundle_size": 4490,
"render_cost": "high",
"memory_usage": "high"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:42.308Z",
"updated_at": "2025-07-31T07:55:42.308Z"
}