UNPKG

galaxy-uniapp-mcp-server

Version:

Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成

85 lines 7.21 kB
{ "id": "Z4drus_cowardly-deer-31", "name": "cowardly-deer-31", "category": "loaders", "author": "Z4drus", "description": "cowardly-deer-31 组件 (loader, animation)", "tags": [ "loader", "animation" ], "original": { "html": "<div class=\"loader\">\n <svg preserveAspectRatio=\"xMidYMid meet\" width=\"40\" height=\"40\" viewBox=\"0 0 40 40\" y=\"0px\" x=\"0px\" class=\"container\">\n <path d=\"M29.760000000000005 18.72 c0 7.28 -3.9200000000000004 13.600000000000001 -9.840000000000002 16.96 c -2.8800000000000003 1.6800000000000002 -6.24 2.64 -9.840000000000002 2.64 c -3.6 0 -6.88 -0.96 -9.76 -2.64 c0 -7.28 3.9200000000000004 -13.52 9.840000000000002 -16.96 c2.8800000000000003 -1.6800000000000002 6.24 -2.64 9.76 -2.64 S26.880000000000003 17.040000000000003 29.760000000000005 18.72 c5.84 3.3600000000000003 9.76 9.68 9.840000000000002 16.96 c -2.8800000000000003 1.6800000000000002 -6.24 2.64 -9.76 2.64 c -3.6 0 -6.88 -0.96 -9.840000000000002 -2.64 c -5.84 -3.3600000000000003 -9.76 -9.68 -9.76 -16.96 c0 -7.28 3.9200000000000004 -13.600000000000001 9.76 -16.96 C25.84 5.120000000000001 29.760000000000005 11.440000000000001 29.760000000000005 18.72z\" pathLength=\"100\" stroke-width=\"4\" fill=\"none\" class=\"track\"></path>\n <path d=\"M29.760000000000005 18.72 c0 7.28 -3.9200000000000004 13.600000000000001 -9.840000000000002 16.96 c -2.8800000000000003 1.6800000000000002 -6.24 2.64 -9.840000000000002 2.64 c -3.6 0 -6.88 -0.96 -9.76 -2.64 c0 -7.28 3.9200000000000004 -13.52 9.840000000000002 -16.96 c2.8800000000000003 -1.6800000000000002 6.24 -2.64 9.76 -2.64 S26.880000000000003 17.040000000000003 29.760000000000005 18.72 c5.84 3.3600000000000003 9.76 9.68 9.840000000000002 16.96 c -2.8800000000000003 1.6800000000000002 -6.24 2.64 -9.76 2.64 c -3.6 0 -6.88 -0.96 -9.840000000000002 -2.64 c -5.84 -3.3600000000000003 -9.76 -9.68 -9.76 -16.96 c0 -7.28 3.9200000000000004 -13.600000000000001 9.76 -16.96 C25.84 5.120000000000001 29.760000000000005 11.440000000000001 29.760000000000005 18.72z\" pathLength=\"100\" stroke-width=\"4\" fill=\"none\" class=\"car\"></path>\n </svg>\n</div>", "css": "/* From Uiverse.io by Z4drus - Tags: loader */\n.container {\n --uib-size: 100px;\n --uib-color: rgb(51, 172, 241);\n --uib-speed: 1.4s;\n --uib-bg-opacity: 0.1;\n height: var(--uib-size);\n width: var(--uib-size);\n transform-origin: center;\n overflow: visible;\n}\n\n.car {\n fill: none;\n stroke: var(--uib-color);\n stroke-dasharray: 15, 85;\n stroke-dashoffset: 0;\n stroke-linecap: round;\n animation: travel var(--uib-speed) linear infinite;\n will-change: stroke-dasharray, stroke-dashoffset;\n transition: stroke 0.5s ease;\n}\n\n.track {\n stroke: var(--uib-color);\n opacity: var(--uib-bg-opacity);\n transition: stroke 0.5s ease;\n}\n\n@keyframes travel {\n 0% {\n stroke-dashoffset: 0;\n }\n\n 100% {\n stroke-dashoffset: -100;\n }\n}", "file_path": "/mnt/persist/workspace/loaders/Z4drus_cowardly-deer-31.html" }, "uniapp": { "template": "<view class=\"loader\"></view>\n <view preserveAspectRatio=\"xMidYMid meet\" width=\"40\" height=\"40\" viewBox=\"0 0 40 40\" y=\"0px\" x=\"0px\" class=\"container\"></view>\n <path d=\"M29.760000000000005 18.72 c0 7.28 -3.9200000000000004 13.600000000000001 -9.840000000000002 16.96 c -2.8800000000000003 1.6800000000000002 -6.24 2.64 -9.840000000000002 2.64 c -3.6 0 -6.88 -0.96 -9.76 -2.64 c0 -7.28 3.9200000000000004 -13.52 9.840000000000002 -16.96 c2.8800000000000003 -1.6800000000000002 6.24 -2.64 9.76 -2.64 S26.880000000000003 17.040000000000003 29.760000000000005 18.72 c5.84 3.3600000000000003 9.76 9.68 9.840000000000002 16.96 c -2.8800000000000003 1.6800000000000002 -6.24 2.64 -9.76 2.64 c -3.6 0 -6.88 -0.96 -9.840000000000002 -2.64 c -5.84 -3.3600000000000003 -9.76 -9.68 -9.76 -16.96 c0 -7.28 3.9200000000000004 -13.600000000000001 9.76 -16.96 C25.84 5.120000000000001 29.760000000000005 11.440000000000001 29.760000000000005 18.72z\" pathLength=\"100\" stroke-width=\"4\" fill=\"none\" class=\"track\"></path>\n <path d=\"M29.760000000000005 18.72 c0 7.28 -3.9200000000000004 13.600000000000001 -9.840000000000002 16.96 c -2.8800000000000003 1.6800000000000002 -6.24 2.64 -9.840000000000002 2.64 c -3.6 0 -6.88 -0.96 -9.76 -2.64 c0 -7.28 3.9200000000000004 -13.52 9.840000000000002 -16.96 c2.8800000000000003 -1.6800000000000002 6.24 -2.64 9.76 -2.64 S26.880000000000003 17.040000000000003 29.760000000000005 18.72 c5.84 3.3600000000000003 9.76 9.68 9.840000000000002 16.96 c -2.8800000000000003 1.6800000000000002 -6.24 2.64 -9.76 2.64 c -3.6 0 -6.88 -0.96 -9.840000000000002 -2.64 c -5.84 -3.3600000000000003 -9.76 -9.68 -9.76 -16.96 c0 -7.28 3.9200000000000004 -13.600000000000001 9.76 -16.96 C25.84 5.120000000000001 29.760000000000005 11.440000000000001 29.760000000000005 18.72z\" pathLength=\"100\" stroke-width=\"4\" fill=\"none\" class=\"car\"></path>\n </svg>\n</div>", "script": "export default {\n name: 'GalaxyCowardlyDeer31',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by Z4drus - Tags: loader */\n.container {\n --uib-size: 200rpx;\n --uib-color: rgb(51, 172, 241);\n --uib-speed: 1.4s;\n --uib-bg-opacity: 0.1;\n height: var(--uib-size);\n width: var(--uib-size);\n transform-origin: center;\n overflow: visible;\n}\n\n.car {\n fill: none;\n stroke: var(--uib-color);\n stroke-dasharray: 15, 85;\n stroke-dashoffset: 0;\n stroke-linecap: round;\n animation: travel var(--uib-speed) linear infinite;\n will-change: stroke-dasharray, stroke-dashoffset;\n transition: stroke 0.5s ease;\n}\n\n.track {\n stroke: var(--uib-color);\n opacity: var(--uib-bg-opacity);\n transition: stroke 0.5s ease;\n}\n\n@keyframes travel {\n 0% {\n stroke-dashoffset: 0;\n }\n\n 100% {\n stroke-dashoffset: -100;\n }\n}\n\n", "component_name": "GalaxyCowardlyDeer31" }, "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": 2596, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:40.810Z", "updated_at": "2025-07-31T07:55:40.810Z" }