UNPKG

galaxy-uniapp-mcp-server

Version:

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

87 lines 9.03 kB
{ "id": "aadium_purple-panda-57", "name": "purple-panda-57", "category": "loaders", "author": "aadium", "description": "purple-panda-57 组件 (loader, wheel, car, animation)", "tags": [ "loader", "wheel", "car", "animation" ], "original": { "html": "<div class=\"loader\">\n\t<svg class=\"wheel\" version=\"1.1\" id=\"Capa_1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 254.532 254.532\" xml:space=\"preserve\">\n\t\t<g>\n\t\t\t<path id=\"tire\" d=\"M127.267,0C57.092,0,0,57.091,0,127.266s57.092,127.266,127.267,127.266c70.174,0,127.266-57.091,127.266-127.266\n\t\t\t\tS197.44,0,127.267,0z M127.267,217.656c-49.922,0-90.391-40.468-90.391-90.39s40.469-90.39,90.391-90.39\n\t\t\t\tc49.92,0,90.39,40.468,90.39,90.39S177.186,217.656,127.267,217.656z\"></path>\n\t\t\t<path id=\"rim\" d=\"M127.267,48.578c-43.39,0-78.689,35.299-78.689,78.688c0,43.389,35.3,78.688,78.689,78.688\n\t\t\t\tc43.389,0,78.688-35.299,78.688-78.688C205.955,83.877,170.655,48.578,127.267,48.578z M195.878,122.249h-38.18\n\t\t\t\tc-0.78-4.825-2.686-9.275-5.435-13.079l26.954-26.954C188.679,93.112,194.771,106.996,195.878,122.249z M132.204,58.648\n\t\t\t\tc15.244,1.087,29.123,7.156,40.025,16.591l-26.948,26.949c-3.804-2.748-8.253-4.653-13.077-5.433V58.648z M122.329,58.648v38.106\n\t\t\t\tc-4.824,0.78-9.274,2.685-13.078,5.434L82.302,75.24C93.204,65.805,107.085,59.735,122.329,58.648z M75.313,82.217l26.955,26.954\n\t\t\t\tc-2.749,3.803-4.654,8.253-5.434,13.077h-38.18C59.761,106.996,65.853,93.113,75.313,82.217z M58.643,132.123h38.192\n\t\t\t\tc0.779,4.824,2.685,9.274,5.434,13.078l-27.029,27.029C65.788,161.308,59.714,147.398,58.643,132.123z M122.329,195.884\n\t\t\t\tc-15.285-1.09-29.197-7.188-40.113-16.666l27.035-27.035c3.804,2.749,8.254,4.654,13.078,5.434V195.884z M122.329,147.459v0.072\n\t\t\t\tc-2.131-0.518-4.131-1.36-5.953-2.474l0.047-0.047c-2.85-1.738-5.244-4.132-6.982-6.983l-0.046,0.046\n\t\t\t\tc-1.114-1.822-1.956-3.821-2.474-5.952h0.071c-0.385-1.585-0.611-3.233-0.611-4.937c0-1.704,0.227-3.352,0.611-4.937h-0.071\n\t\t\t\tc0.518-2.13,1.359-4.129,2.474-5.951l0.046,0.046c1.738-2.85,4.133-5.245,6.982-6.982l-0.047-0.047\n\t\t\t\tc1.822-1.114,3.822-1.957,5.953-2.474v0.072c1.586-0.385,3.233-0.612,4.938-0.612s3.352,0.227,4.938,0.612v-0.072\n\t\t\t\tc2.131,0.518,4.13,1.359,5.951,2.473l-0.047,0.047c2.851,1.737,5.245,4.132,6.983,6.982l0.046-0.046\n\t\t\t\tc1.115,1.822,1.957,3.822,2.475,5.953h-0.071c0.385,1.585,0.611,3.233,0.611,4.937c0,1.704-0.227,3.352-0.611,4.937h0.071\n\t\t\t\tc-0.518,2.131-1.359,4.131-2.475,5.953l-0.046-0.046c-1.738,2.85-4.133,5.244-6.983,6.982l0.047,0.046\n\t\t\t\tc-1.821,1.114-3.82,1.956-5.951,2.474v-0.072c-1.586,0.385-3.233,0.612-4.938,0.612S123.915,147.845,122.329,147.459z\n\t\t\t\tM132.204,195.884v-38.267c4.824-0.78,9.273-2.685,13.077-5.433l27.034,27.034C161.4,188.696,147.488,194.794,132.204,195.884z\n\t\t\t\tM179.292,172.23l-27.028-27.028c2.749-3.804,4.654-8.254,5.435-13.079h38.191C194.818,147.398,188.745,161.308,179.292,172.23z\"></path>\n\t\t</g>\n\t\t</svg>\n\t<div class=\"road\"></div>\n</div>", "css": "/* From Uiverse.io by aadium - Tags: loader, wheel, car */\n.loader {\n}\n\n.wheel {\n fill: rgb(128, 128, 128);\n font-size: 100px;\n width: 100px;\n height: 100px;\n border-radius: 6em;\n text-align: center;\n animation: rolling 1s linear infinite;\n}\n\n#rim {\n fill: rgb(126, 126, 126);\n}\n\n#tire {\n fill: rgb(55, 55, 55);\n}\n\n.road {\n position: absolute;\n margin-top: -4px;\n width: 100%;\n height: 10px;\n border-radius: 5em;\n background-color: rgb(55, 55, 55);\n animation: road-move 2s linear infinite;\n}\n\n@keyframes rolling {\n to {\n transform: rotate(-360deg);\n }\n}\n\n@keyframes road-move {\n from {\n transform: translateX(-140%);\n }\n\n to {\n transform: translateX(100%);\n }\n}", "file_path": "/mnt/persist/workspace/loaders/aadium_purple-panda-57.html" }, "uniapp": { "template": "<view class=\"loader\"></view>\n\t<view class=\"wheel\" version=\"1.1\" id=\"Capa_1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 254.532 254.532\" xml:space=\"preserve\"></view>\n\t\t<g>\n\t\t\t<path id=\"tire\" d=\"M127.267,0C57.092,0,0,57.091,0,127.266s57.092,127.266,127.267,127.266c70.174,0,127.266-57.091,127.266-127.266\n\t\t\t\tS197.44,0,127.267,0z M127.267,217.656c-49.922,0-90.391-40.468-90.391-90.39s40.469-90.39,90.391-90.39\n\t\t\t\tc49.92,0,90.39,40.468,90.39,90.39S177.186,217.656,127.267,217.656z\"></path>\n\t\t\t<path id=\"rim\" d=\"M127.267,48.578c-43.39,0-78.689,35.299-78.689,78.688c0,43.389,35.3,78.688,78.689,78.688\n\t\t\t\tc43.389,0,78.688-35.299,78.688-78.688C205.955,83.877,170.655,48.578,127.267,48.578z M195.878,122.249h-38.18\n\t\t\t\tc-0.78-4.825-2.686-9.275-5.435-13.079l26.954-26.954C188.679,93.112,194.771,106.996,195.878,122.249z M132.204,58.648\n\t\t\t\tc15.244,1.087,29.123,7.156,40.025,16.591l-26.948,26.949c-3.804-2.748-8.253-4.653-13.077-5.433V58.648z M122.329,58.648v38.106\n\t\t\t\tc-4.824,0.78-9.274,2.685-13.078,5.434L82.302,75.24C93.204,65.805,107.085,59.735,122.329,58.648z M75.313,82.217l26.955,26.954\n\t\t\t\tc-2.749,3.803-4.654,8.253-5.434,13.077h-38.18C59.761,106.996,65.853,93.113,75.313,82.217z M58.643,132.123h38.192\n\t\t\t\tc0.779,4.824,2.685,9.274,5.434,13.078l-27.029,27.029C65.788,161.308,59.714,147.398,58.643,132.123z M122.329,195.884\n\t\t\t\tc-15.285-1.09-29.197-7.188-40.113-16.666l27.035-27.035c3.804,2.749,8.254,4.654,13.078,5.434V195.884z M122.329,147.459v0.072\n\t\t\t\tc-2.131-0.518-4.131-1.36-5.953-2.474l0.047-0.047c-2.85-1.738-5.244-4.132-6.982-6.983l-0.046,0.046\n\t\t\t\tc-1.114-1.822-1.956-3.821-2.474-5.952h0.071c-0.385-1.585-0.611-3.233-0.611-4.937c0-1.704,0.227-3.352,0.611-4.937h-0.071\n\t\t\t\tc0.518-2.13,1.359-4.129,2.474-5.951l0.046,0.046c1.738-2.85,4.133-5.245,6.982-6.982l-0.047-0.047\n\t\t\t\tc1.822-1.114,3.822-1.957,5.953-2.474v0.072c1.586-0.385,3.233-0.612,4.938-0.612s3.352,0.227,4.938,0.612v-0.072\n\t\t\t\tc2.131,0.518,4.13,1.359,5.951,2.473l-0.047,0.047c2.851,1.737,5.245,4.132,6.983,6.982l0.046-0.046\n\t\t\t\tc1.115,1.822,1.957,3.822,2.475,5.953h-0.071c0.385,1.585,0.611,3.233,0.611,4.937c0,1.704-0.227,3.352-0.611,4.937h0.071\n\t\t\t\tc-0.518,2.131-1.359,4.131-2.475,5.953l-0.046-0.046c-1.738,2.85-4.133,5.244-6.983,6.982l0.047,0.046\n\t\t\t\tc-1.821,1.114-3.82,1.956-5.951,2.474v-0.072c-1.586,0.385-3.233,0.612-4.938,0.612S123.915,147.845,122.329,147.459z\n\t\t\t\tM132.204,195.884v-38.267c4.824-0.78,9.273-2.685,13.077-5.433l27.034,27.034C161.4,188.696,147.488,194.794,132.204,195.884z\n\t\t\t\tM179.292,172.23l-27.028-27.028c2.749-3.804,4.654-8.254,5.435-13.079h38.191C194.818,147.398,188.745,161.308,179.292,172.23z\"></path>\n\t\t</g>\n\t\t</svg>\n\t<view class=\"road\"></view>\n</div>", "script": "export default {\n name: 'GalaxyPurplePanda57',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by aadium - Tags: loader, wheel, car */\n.loader {\n}\n\n.wheel {\n fill: rgb(128, 128, 128);\n font-size: 200rpx;\n width: 200rpx;\n height: 200rpx;\n border-radius: 6em;\n text-align: center;\n animation: rolling 1s linear infinite;\n}\n\n#rim {\n fill: rgb(126, 126, 126);\n}\n\n#tire {\n fill: rgb(55, 55, 55);\n}\n\n.road {\n position: absolute;\n margin-top: -8rpx;\n width: 100%;\n height: 20rpx;\n border-radius: 5em;\n background-color: rgb(55, 55, 55);\n animation: road-move 2s linear infinite;\n}\n\n@keyframes rolling {\n to {\n transform: rotate(-360deg);\n }\n}\n\n@keyframes road-move {\n from {\n transform: translateX(-140%);\n }\n\n to {\n transform: translateX(100%);\n }\n}\n", "component_name": "GalaxyPurplePanda57" }, "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": 3375, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:40.856Z", "updated_at": "2025-07-31T07:55:40.856Z" }