UNPKG

galaxy-uniapp-mcp-server

Version:

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

86 lines 15.7 kB
{ "id": "Nawsome_ancient-yak-42", "name": "ancient-yak-42", "category": "loaders", "author": "Nawsome", "description": "ancient-yak-42 组件 (loader, compass, animation)", "tags": [ "loader", "compass", "animation" ], "original": { "html": "<svg class=\"pl\" viewBox=\"0 0 160 160\" width=\"160px\" height=\"160px\" xmlns=\"http://www.w3.org/2000/svg\">\n\t\t\t<defs>\n\t\t\t\t<linearGradient id=\"grad\" x1=\"0\" y1=\"0\" x2=\"0\" y2=\"1\">\n\t\t\t\t\t<stop offset=\"0%\" stop-color=\"#000\"></stop>\n\t\t\t\t\t<stop offset=\"100%\" stop-color=\"#fff\"></stop>\n\t\t\t\t</linearGradient>\n\t\t\t\t<mask id=\"mask1\">\n\t\t\t\t\t<rect x=\"0\" y=\"0\" width=\"160\" height=\"160\" fill=\"url(#grad)\"></rect>\n\t\t\t\t</mask>\n\t\t\t\t<mask id=\"mask2\">\n\t\t\t\t\t<rect x=\"28\" y=\"28\" width=\"104\" height=\"104\" fill=\"url(#grad)\"></rect>\n\t\t\t\t</mask>\n\t\t\t</defs>\n\t\t\t\n\t\t\t<g>\n\t\t\t\t<g class=\"pl__ring-rotate\">\n\t\t\t\t\t<circle class=\"pl__ring-stroke\" cx=\"80\" cy=\"80\" r=\"72\" fill=\"none\" stroke=\"hsl(223,90%,55%)\" stroke-width=\"16\" stroke-dasharray=\"452.39 452.39\" stroke-dashoffset=\"452\" stroke-linecap=\"round\" transform=\"rotate(-45,80,80)\"></circle>\n\t\t\t\t</g>\n\t\t\t</g>\n\t\t\t<g mask=\"url(#mask1)\">\n\t\t\t\t<g class=\"pl__ring-rotate\">\n\t\t\t\t\t<circle class=\"pl__ring-stroke\" cx=\"80\" cy=\"80\" r=\"72\" fill=\"none\" stroke=\"hsl(193,90%,55%)\" stroke-width=\"16\" stroke-dasharray=\"452.39 452.39\" stroke-dashoffset=\"452\" stroke-linecap=\"round\" transform=\"rotate(-45,80,80)\"></circle>\n\t\t\t\t</g>\n\t\t\t</g>\n\t\t\t\n\t\t\t<g>\n\t\t\t\t<g stroke-width=\"4\" stroke-dasharray=\"12 12\" stroke-dashoffset=\"12\" stroke-linecap=\"round\" transform=\"translate(80,80)\">\n\t\t\t\t\t<polyline class=\"pl__tick\" stroke=\"hsl(223,10%,90%)\" points=\"0,2 0,14\" transform=\"rotate(-135,0,0) translate(0,40)\"></polyline>\n\t\t\t\t\t<polyline class=\"pl__tick\" stroke=\"hsl(223,10%,90%)\" points=\"0,2 0,14\" transform=\"rotate(-90,0,0) translate(0,40)\"></polyline>\n\t\t\t\t\t<polyline class=\"pl__tick\" stroke=\"hsl(223,10%,90%)\" points=\"0,2 0,14\" transform=\"rotate(-45,0,0) translate(0,40)\"></polyline>\n\t\t\t\t\t<polyline class=\"pl__tick\" stroke=\"hsl(223,10%,90%)\" points=\"0,2 0,14\" transform=\"rotate(0,0,0) translate(0,40)\"></polyline>\n\t\t\t\t\t<polyline class=\"pl__tick\" stroke=\"hsl(223,10%,90%)\" points=\"0,2 0,14\" transform=\"rotate(45,0,0) translate(0,40)\"></polyline>\n\t\t\t\t\t<polyline class=\"pl__tick\" stroke=\"hsl(223,10%,90%)\" points=\"0,2 0,14\" transform=\"rotate(90,0,0) translate(0,40)\"></polyline>\n\t\t\t\t\t<polyline class=\"pl__tick\" stroke=\"hsl(223,10%,90%)\" points=\"0,2 0,14\" transform=\"rotate(135,0,0) translate(0,40)\"></polyline>\n\t\t\t\t\t<polyline class=\"pl__tick\" stroke=\"hsl(223,10%,90%)\" points=\"0,2 0,14\" transform=\"rotate(180,0,0) translate(0,40)\"></polyline>\n\t\t\t\t</g>\n\t\t\t</g>\n\t\t\t<g mask=\"url(#mask1)\">\n\t\t\t\t<g stroke-width=\"4\" stroke-dasharray=\"12 12\" stroke-dashoffset=\"12\" stroke-linecap=\"round\" transform=\"translate(80,80)\">\n\t\t\t\t\t<polyline class=\"pl__tick\" stroke=\"hsl(223,90%,80%)\" points=\"0,2 0,14\" transform=\"rotate(-135,0,0) translate(0,40)\"></polyline>\n\t\t\t\t\t<polyline class=\"pl__tick\" stroke=\"hsl(223,90%,80%)\" points=\"0,2 0,14\" transform=\"rotate(-90,0,0) translate(0,40)\"></polyline>\n\t\t\t\t\t<polyline class=\"pl__tick\" stroke=\"hsl(223,90%,80%)\" points=\"0,2 0,14\" transform=\"rotate(-45,0,0) translate(0,40)\"></polyline>\n\t\t\t\t\t<polyline class=\"pl__tick\" stroke=\"hsl(223,90%,80%)\" points=\"0,2 0,14\" transform=\"rotate(0,0,0) translate(0,40)\"></polyline>\n\t\t\t\t\t<polyline class=\"pl__tick\" stroke=\"hsl(223,90%,80%)\" points=\"0,2 0,14\" transform=\"rotate(45,0,0) translate(0,40)\"></polyline>\n\t\t\t\t\t<polyline class=\"pl__tick\" stroke=\"hsl(223,90%,80%)\" points=\"0,2 0,14\" transform=\"rotate(90,0,0) translate(0,40)\"></polyline>\n\t\t\t\t\t<polyline class=\"pl__tick\" stroke=\"hsl(223,90%,80%)\" points=\"0,2 0,14\" transform=\"rotate(135,0,0) translate(0,40)\"></polyline>\n\t\t\t\t\t<polyline class=\"pl__tick\" stroke=\"hsl(223,90%,80%)\" points=\"0,2 0,14\" transform=\"rotate(180,0,0) translate(0,40)\"></polyline>\n\t\t\t\t</g>\n\t\t\t</g>\n\t\t\t\n\t\t\t<g>\n\t\t\t\t<g transform=\"translate(64,28)\">\n\t\t\t\t\t<g class=\"pl__arrows\" transform=\"rotate(45,16,52)\">\n\t\t\t\t\t\t<path fill=\"hsl(3,90%,55%)\" d=\"M17.998,1.506l13.892,43.594c.455,1.426-.56,2.899-1.998,2.899H2.108c-1.437,0-2.452-1.473-1.998-2.899L14.002,1.506c.64-2.008,3.356-2.008,3.996,0Z\"></path>\n\t\t\t\t\t\t<path fill=\"hsl(223,10%,90%)\" d=\"M14.009,102.499L.109,58.889c-.453-1.421,.559-2.889,1.991-2.889H29.899c1.433,0,2.444,1.468,1.991,2.889l-13.899,43.61c-.638,2.001-3.345,2.001-3.983,0Z\"></path>\n\t\t\t\t\t</g>\n\t\t\t\t</g>\n\t\t\t</g>\n\t\t\t<g mask=\"url(#mask2)\">\n\t\t\t\t<g transform=\"translate(64,28)\">\n\t\t\t\t\t<g class=\"pl__arrows\" transform=\"rotate(45,16,52)\">\n\t\t\t\t\t\t<path fill=\"hsl(333,90%,55%)\" d=\"M17.998,1.506l13.892,43.594c.455,1.426-.56,2.899-1.998,2.899H2.108c-1.437,0-2.452-1.473-1.998-2.899L14.002,1.506c.64-2.008,3.356-2.008,3.996,0Z\"></path>\n\t\t\t\t\t\t<path fill=\"hsl(223,90%,80%)\" d=\"M14.009,102.499L.109,58.889c-.453-1.421,.559-2.889,1.991-2.889H29.899c1.433,0,2.444,1.468,1.991,2.889l-13.899,43.61c-.638,2.001-3.345,2.001-3.983,0Z\"></path>\n\t\t\t\t\t</g>\n\t\t\t\t</g>\n\t\t\t</g>\n\t\t</svg>", "css": "/* From Uiverse.io by Nawsome - Tags: loader, compass */\n.pl {\n display: block;\n width: 9.375em;\n height: 9.375em;\n}\n\n.pl__arrows,\n.pl__ring-rotate,\n.pl__ring-stroke,\n.pl__tick {\n animation-duration: 2s;\n animation-timing-function: linear;\n animation-iteration-count: infinite;\n}\n\n.pl__arrows {\n animation-name: arrows42;\n transform: rotate(45deg);\n transform-origin: 16px 52px;\n}\n\n.pl__ring-rotate,\n.pl__ring-stroke {\n transform-origin: 80px 80px;\n}\n\n.pl__ring-rotate {\n animation-name: ringRotate42;\n}\n\n.pl__ring-stroke {\n animation-name: ringStroke42;\n transform: rotate(-45deg);\n}\n\n.pl__tick {\n animation-name: tick42;\n}\n\n.pl__tick:nth-child(2) {\n animation-delay: -1.75s;\n}\n\n.pl__tick:nth-child(3) {\n animation-delay: -1.5s;\n}\n\n.pl__tick:nth-child(4) {\n animation-delay: -1.25s;\n}\n\n.pl__tick:nth-child(5) {\n animation-delay: -1s;\n}\n\n.pl__tick:nth-child(6) {\n animation-delay: -0.75s;\n}\n\n.pl__tick:nth-child(7) {\n animation-delay: -0.5s;\n}\n\n.pl__tick:nth-child(8) {\n animation-delay: -0.25s;\n}\n\n/* Animations */\n@keyframes arrows42 {\n from {\n transform: rotate(45deg);\n }\n\n to {\n transform: rotate(405deg);\n }\n}\n\n@keyframes ringRotate42 {\n from {\n transform: rotate(0);\n }\n\n to {\n transform: rotate(720deg);\n }\n}\n\n@keyframes ringStroke42 {\n from,\n\tto {\n stroke-dashoffset: 452;\n transform: rotate(-45deg);\n }\n\n 50% {\n stroke-dashoffset: 169.5;\n transform: rotate(-180deg);\n }\n}\n\n@keyframes tick42 {\n from,\n\t3%,\n\t47%,\n\tto {\n stroke-dashoffset: -12;\n }\n\n 14%,\n\t36% {\n stroke-dashoffset: 0;\n }\n}", "file_path": "/mnt/persist/workspace/loaders/Nawsome_ancient-yak-42.html" }, "uniapp": { "template": "<view class=\"pl\" viewBox=\"0 0 160 160\" width=\"160px\" height=\"160px\" xmlns=\"http://www.w3.org/2000/svg\"></view>\n\t\t\t<defs>\n\t\t\t\t<linearGradient id=\"grad\" x1=\"0\" y1=\"0\" x2=\"0\" y2=\"1\">\n\t\t\t\t\t<stop offset=\"0%\" stop-color=\"#000\"></stop>\n\t\t\t\t\t<stop offset=\"100%\" stop-color=\"#fff\"></stop>\n\t\t\t\t</linearGradient>\n\t\t\t\t<mask id=\"mask1\">\n\t\t\t\t\t<rect x=\"0\" y=\"0\" width=\"160\" height=\"160\" fill=\"url(#grad)\"></rect>\n\t\t\t\t</mask>\n\t\t\t\t<mask id=\"mask2\">\n\t\t\t\t\t<rect x=\"28\" y=\"28\" width=\"104\" height=\"104\" fill=\"url(#grad)\"></rect>\n\t\t\t\t</mask>\n\t\t\t</defs>\n\t\t\t\n\t\t\t<g>\n\t\t\t\t<g class=\"pl__ring-rotate\">\n\t\t\t\t\t<circle class=\"pl__ring-stroke\" cx=\"80\" cy=\"80\" r=\"72\" fill=\"none\" stroke=\"hsl(223,90%,55%)\" stroke-width=\"16\" stroke-dasharray=\"452.39 452.39\" stroke-dashoffset=\"452\" stroke-linecap=\"round\" transform=\"rotate(-45,80,80)\"></circle>\n\t\t\t\t</g>\n\t\t\t</g>\n\t\t\t<g mask=\"url(#mask1)\">\n\t\t\t\t<g class=\"pl__ring-rotate\">\n\t\t\t\t\t<circle class=\"pl__ring-stroke\" cx=\"80\" cy=\"80\" r=\"72\" fill=\"none\" stroke=\"hsl(193,90%,55%)\" stroke-width=\"16\" stroke-dasharray=\"452.39 452.39\" stroke-dashoffset=\"452\" stroke-linecap=\"round\" transform=\"rotate(-45,80,80)\"></circle>\n\t\t\t\t</g>\n\t\t\t</g>\n\t\t\t\n\t\t\t<g>\n\t\t\t\t<g stroke-width=\"4\" stroke-dasharray=\"12 12\" stroke-dashoffset=\"12\" stroke-linecap=\"round\" transform=\"translate(80,80)\">\n\t\t\t\t\t<polyline class=\"pl__tick\" stroke=\"hsl(223,10%,90%)\" points=\"0,2 0,14\" transform=\"rotate(-135,0,0) translate(0,40)\"></polyline>\n\t\t\t\t\t<polyline class=\"pl__tick\" stroke=\"hsl(223,10%,90%)\" points=\"0,2 0,14\" transform=\"rotate(-90,0,0) translate(0,40)\"></polyline>\n\t\t\t\t\t<polyline class=\"pl__tick\" stroke=\"hsl(223,10%,90%)\" points=\"0,2 0,14\" transform=\"rotate(-45,0,0) translate(0,40)\"></polyline>\n\t\t\t\t\t<polyline class=\"pl__tick\" stroke=\"hsl(223,10%,90%)\" points=\"0,2 0,14\" transform=\"rotate(0,0,0) translate(0,40)\"></polyline>\n\t\t\t\t\t<polyline class=\"pl__tick\" stroke=\"hsl(223,10%,90%)\" points=\"0,2 0,14\" transform=\"rotate(45,0,0) translate(0,40)\"></polyline>\n\t\t\t\t\t<polyline class=\"pl__tick\" stroke=\"hsl(223,10%,90%)\" points=\"0,2 0,14\" transform=\"rotate(90,0,0) translate(0,40)\"></polyline>\n\t\t\t\t\t<polyline class=\"pl__tick\" stroke=\"hsl(223,10%,90%)\" points=\"0,2 0,14\" transform=\"rotate(135,0,0) translate(0,40)\"></polyline>\n\t\t\t\t\t<polyline class=\"pl__tick\" stroke=\"hsl(223,10%,90%)\" points=\"0,2 0,14\" transform=\"rotate(180,0,0) translate(0,40)\"></polyline>\n\t\t\t\t</g>\n\t\t\t</g>\n\t\t\t<g mask=\"url(#mask1)\">\n\t\t\t\t<g stroke-width=\"4\" stroke-dasharray=\"12 12\" stroke-dashoffset=\"12\" stroke-linecap=\"round\" transform=\"translate(80,80)\">\n\t\t\t\t\t<polyline class=\"pl__tick\" stroke=\"hsl(223,90%,80%)\" points=\"0,2 0,14\" transform=\"rotate(-135,0,0) translate(0,40)\"></polyline>\n\t\t\t\t\t<polyline class=\"pl__tick\" stroke=\"hsl(223,90%,80%)\" points=\"0,2 0,14\" transform=\"rotate(-90,0,0) translate(0,40)\"></polyline>\n\t\t\t\t\t<polyline class=\"pl__tick\" stroke=\"hsl(223,90%,80%)\" points=\"0,2 0,14\" transform=\"rotate(-45,0,0) translate(0,40)\"></polyline>\n\t\t\t\t\t<polyline class=\"pl__tick\" stroke=\"hsl(223,90%,80%)\" points=\"0,2 0,14\" transform=\"rotate(0,0,0) translate(0,40)\"></polyline>\n\t\t\t\t\t<polyline class=\"pl__tick\" stroke=\"hsl(223,90%,80%)\" points=\"0,2 0,14\" transform=\"rotate(45,0,0) translate(0,40)\"></polyline>\n\t\t\t\t\t<polyline class=\"pl__tick\" stroke=\"hsl(223,90%,80%)\" points=\"0,2 0,14\" transform=\"rotate(90,0,0) translate(0,40)\"></polyline>\n\t\t\t\t\t<polyline class=\"pl__tick\" stroke=\"hsl(223,90%,80%)\" points=\"0,2 0,14\" transform=\"rotate(135,0,0) translate(0,40)\"></polyline>\n\t\t\t\t\t<polyline class=\"pl__tick\" stroke=\"hsl(223,90%,80%)\" points=\"0,2 0,14\" transform=\"rotate(180,0,0) translate(0,40)\"></polyline>\n\t\t\t\t</g>\n\t\t\t</g>\n\t\t\t\n\t\t\t<g>\n\t\t\t\t<g transform=\"translate(64,28)\">\n\t\t\t\t\t<g class=\"pl__arrows\" transform=\"rotate(45,16,52)\">\n\t\t\t\t\t\t<path fill=\"hsl(3,90%,55%)\" d=\"M17.998,1.506l13.892,43.594c.455,1.426-.56,2.899-1.998,2.899H2.108c-1.437,0-2.452-1.473-1.998-2.899L14.002,1.506c.64-2.008,3.356-2.008,3.996,0Z\"></path>\n\t\t\t\t\t\t<path fill=\"hsl(223,10%,90%)\" d=\"M14.009,102.499L.109,58.889c-.453-1.421,.559-2.889,1.991-2.889H29.899c1.433,0,2.444,1.468,1.991,2.889l-13.899,43.61c-.638,2.001-3.345,2.001-3.983,0Z\"></path>\n\t\t\t\t\t</g>\n\t\t\t\t</g>\n\t\t\t</g>\n\t\t\t<g mask=\"url(#mask2)\">\n\t\t\t\t<g transform=\"translate(64,28)\">\n\t\t\t\t\t<g class=\"pl__arrows\" transform=\"rotate(45,16,52)\">\n\t\t\t\t\t\t<path fill=\"hsl(333,90%,55%)\" d=\"M17.998,1.506l13.892,43.594c.455,1.426-.56,2.899-1.998,2.899H2.108c-1.437,0-2.452-1.473-1.998-2.899L14.002,1.506c.64-2.008,3.356-2.008,3.996,0Z\"></path>\n\t\t\t\t\t\t<path fill=\"hsl(223,90%,80%)\" d=\"M14.009,102.499L.109,58.889c-.453-1.421,.559-2.889,1.991-2.889H29.899c1.433,0,2.444,1.468,1.991,2.889l-13.899,43.61c-.638,2.001-3.345,2.001-3.983,0Z\"></path>\n\t\t\t\t\t</g>\n\t\t\t\t</g>\n\t\t\t</g>\n\t\t</svg>", "script": "export default {\n name: 'GalaxyAncientYak42',\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, compass */\n.pl {\n display: block;\n width: 9.375em;\n height: 9.375em;\n}\n\n.pl__arrows,\n.pl__ring-rotate,\n.pl__ring-stroke,\n.pl__tick {\n animation-duration: 2s;\n animation-timing-function: linear;\n animation-iteration-count: infinite;\n}\n\n.pl__arrows {\n animation-name: arrows42;\n transform: rotate(45deg);\n transform-origin: 32rpx 104rpx;\n}\n\n.pl__ring-rotate,\n.pl__ring-stroke {\n transform-origin: 160rpx 160rpx;\n}\n\n.pl__ring-rotate {\n animation-name: ringRotate42;\n}\n\n.pl__ring-stroke {\n animation-name: ringStroke42;\n transform: rotate(-45deg);\n}\n\n.pl__tick {\n animation-name: tick42;\n}\n\n.pl__tick:nth-child(2) {\n animation-delay: -1.75s;\n}\n\n.pl__tick:nth-child(3) {\n animation-delay: -1.5s;\n}\n\n.pl__tick:nth-child(4) {\n animation-delay: -1.25s;\n}\n\n.pl__tick:nth-child(5) {\n animation-delay: -1s;\n}\n\n.pl__tick:nth-child(6) {\n animation-delay: -0.75s;\n}\n\n.pl__tick:nth-child(7) {\n animation-delay: -0.5s;\n}\n\n.pl__tick:nth-child(8) {\n animation-delay: -0.25s;\n}\n\n/* Animations */\n@keyframes arrows42 {\n from {\n transform: rotate(45deg);\n }\n\n to {\n transform: rotate(405deg);\n }\n}\n\n@keyframes ringRotate42 {\n from {\n transform: rotate(0);\n }\n\n to {\n transform: rotate(720deg);\n }\n}\n\n@keyframes ringStroke42 {\n from,\n\tto {\n stroke-dashoffset: 452;\n transform: rotate(-45deg);\n }\n\n 50% {\n stroke-dashoffset: 169.5;\n transform: rotate(-180deg);\n }\n}\n\n@keyframes tick42 {\n from,\n\t3%,\n\t47%,\n\tto {\n stroke-dashoffset: -12;\n }\n\n 14%,\n\t36% {\n stroke-dashoffset: 0;\n }\n}\n", "component_name": "GalaxyAncientYak42" }, "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": 6187, "render_cost": "high", "memory_usage": "high" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:39.731Z", "updated_at": "2025-07-31T07:55:39.731Z" }