galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
85 lines • 6.65 kB
JSON
{
"id": "DarrylNoakes_cuddly-falcon-18",
"name": "cuddly-falcon-18",
"category": "loaders",
"author": "DarrylNoakes",
"description": "cuddly-falcon-18 组件 (loader, animation)",
"tags": [
"loader",
"animation"
],
"original": {
"html": "<div class=\"loader\">\n <span class=\"icon\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" x=\"0\" y=\"0\" viewBox=\"0 0 100 100\">\n <ellipse transform=\"rotate(-21.283 49.994 75.642)\" cx=\"50\" cy=\"75.651\" rx=\"19.347\" ry=\"16.432\" fill=\"currentColor\"></ellipse>\n <path fill=\"currentColor\" d=\"M58.474 7.5h10.258v63.568H58.474z\"></path>\n </svg>\n </span>\n <span class=\"icon\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" x=\"0\" y=\"0\" viewBox=\"0 0 100 100\">\n <ellipse transform=\"rotate(-21.283 49.994 75.642)\" cx=\"50\" cy=\"75.651\" rx=\"19.347\" ry=\"16.432\" fill=\"currentColor\"></ellipse>\n <path fill=\"currentColor\" d=\"M58.474 7.5h10.258v63.568H58.474z\"></path>\n </svg>\n </span>\n <span class=\"icon\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" x=\"0\" y=\"0\" viewBox=\"0 0 100 100\">\n <ellipse transform=\"rotate(-21.283 49.994 75.642)\" cx=\"50\" cy=\"75.651\" rx=\"19.347\" ry=\"16.432\" fill=\"currentColor\"></ellipse>\n <path fill=\"currentColor\" d=\"M58.474 7.5h10.258v63.568H58.474z\"></path>\n </svg>\n </span>\n</div>",
"css": "/* From Uiverse.io by DarrylNoakes - Tags: loader */\n.loader {\n --icon-count: 3;\n --inner-height: 4em;\n --ratio: 2/3;\n /* Customizable */\n --period: 1s;\n /* Customizable */\n display: flex;\n align-items: center;\n justify-content: center;\n height: var(--inner-height);\n width: calc(var(--inner-height) * var(--ratio) * var(--icon-count));\n}\n\n.loader .icon {\n width: calc(100% / var(--icon-count));\n height: calc(100% * var(--ratio));\n animation: loader-bounce02 var(--period) infinite linear;\n}\n\n/*\n * animation delay = (n - 1) / steps * period\n */\n\n.loader .icon:nth-of-type(2) {\n animation-delay: calc(1 / 5 * var(--period));\n}\n\n.loader .icon:nth-of-type(3) {\n animation-delay: calc(2 / 5 * var(--period));\n}\n\n@keyframes loader-bounce02 {\n 20% {\n /* Raise */\n transform: translateY(calc(-50% * (1 - var(--ratio))));\n }\n\n 40% {\n /* Lower */\n transform: translateY(calc(50% * (1 - var(--ratio))));\n }\n\n 60% {\n /* Keep centered */\n transform: translateY(0);\n }\n\n 80% {\n /* Keep centered */\n transform: translateY(0);\n }\n}",
"file_path": "/mnt/persist/workspace/loaders/DarrylNoakes_cuddly-falcon-18.html"
},
"uniapp": {
"template": "<view class=\"loader\"></view>\n <text class=\"icon\"></text>\n <view xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" x=\"0\" y=\"0\" viewBox=\"0 0 100 100\"></view>\n <ellipse transform=\"rotate(-21.283 49.994 75.642)\" cx=\"50\" cy=\"75.651\" rx=\"19.347\" ry=\"16.432\" fill=\"currentColor\"></ellipse>\n <path fill=\"currentColor\" d=\"M58.474 7.5h10.258v63.568H58.474z\"></path>\n </svg>\n </span>\n <text class=\"icon\"></text>\n <view xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" x=\"0\" y=\"0\" viewBox=\"0 0 100 100\"></view>\n <ellipse transform=\"rotate(-21.283 49.994 75.642)\" cx=\"50\" cy=\"75.651\" rx=\"19.347\" ry=\"16.432\" fill=\"currentColor\"></ellipse>\n <path fill=\"currentColor\" d=\"M58.474 7.5h10.258v63.568H58.474z\"></path>\n </svg>\n </span>\n <text class=\"icon\"></text>\n <view xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" x=\"0\" y=\"0\" viewBox=\"0 0 100 100\"></view>\n <ellipse transform=\"rotate(-21.283 49.994 75.642)\" cx=\"50\" cy=\"75.651\" rx=\"19.347\" ry=\"16.432\" fill=\"currentColor\"></ellipse>\n <path fill=\"currentColor\" d=\"M58.474 7.5h10.258v63.568H58.474z\"></path>\n </svg>\n </span>\n</div>",
"script": "export default {\n name: 'GalaxyCuddlyFalcon18',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by DarrylNoakes - Tags: loader */\n.loader {\n --icon-count: 3;\n --inner-height: 4em;\n --ratio: 2/3;\n /* Customizable */\n --period: 1s;\n /* Customizable */\n display: flex;\n align-items: center;\n justify-content: center;\n height: var(--inner-height);\n width: calc(var(--inner-height) * var(--ratio) * var(--icon-count));\n}\n\n.loader .icon {\n width: calc(100% / var(--icon-count));\n height: calc(100% * var(--ratio));\n animation: loader-bounce02 var(--period) infinite linear;\n}\n\n/*\n * animation delay = (n - 1) / steps * period\n */\n\n.loader .icon:nth-of-type(2) {\n animation-delay: calc(1 / 5 * var(--period));\n}\n\n.loader .icon:nth-of-type(3) {\n animation-delay: calc(2 / 5 * var(--period));\n}\n\n@keyframes loader-bounce02 {\n 20% {\n /* Raise */\n transform: translateY(calc(-50% * (1 - var(--ratio))));\n }\n\n 40% {\n /* Lower */\n transform: translateY(calc(50% * (1 - var(--ratio))));\n }\n\n 60% {\n /* Keep centered */\n transform: translateY(0);\n }\n\n 80% {\n /* Keep centered */\n transform: translateY(0);\n }\n}\n",
"component_name": "GalaxyCuddlyFalcon18"
},
"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": 2205,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:39.150Z",
"updated_at": "2025-07-31T07:55:39.150Z"
}