UNPKG

galaxy-uniapp-mcp-server

Version:

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

85 lines 4.59 kB
{ "id": "Charly-T_swift-bulldog-26", "name": "swift-bulldog-26", "category": "loaders", "author": "Charly-T", "description": "swift-bulldog-26 组件 (loader, animation)", "tags": [ "loader", "animation" ], "original": { "html": "<svg class=\"loader\" viewBox=\"0 0 100 100\">\n <circle class=\"moon moon-back\"></circle>\n <circle class=\"planet\"></circle>\n <circle class=\"moon moon-front\"></circle>\n</svg>", "css": "/* From Uiverse.io by Charly-T - Tags: loader */\n.loader {\n --moon-r: 0.7em;\n --planet-r: 1.75em;\n --planet-stroke-width: 4;\n --center: 50;\n --moon-max: 80;\n --moon-min: 20;\n --animation-duration: 4000ms;\n --planet-stroke: black;\n --planet-fill: white;\n --moon-fill: #fecb00;\n width: 7em;\n}\n\n.planet {\n cx: var(--center);\n cy: var(--center);\n r: var(--planet-r);\n fill: var(--planet-fill);\n stroke: var(--planet-stroke);\n stroke-width: var(--planet-stroke-width);\n}\n\n.moon {\n fill: var(--moon-fill);\n r: var(--moon-r);\n}\n\n.moon-front {\n animation: orbit0234 var(--animation-duration) ease-in-out infinite,\n orbit-front var(--animation-duration) linear infinite;\n}\n\n.moon-back {\n animation: orbit0234 var(--animation-duration) ease-in-out infinite;\n}\n\n@keyframes orbit0234 {\n 0% {\n cx: var(--moon-max);\n cy: var(--moon-min);\n }\n\n 50% {\n cx: var(--moon-min);\n cy: var(--moon-max);\n }\n\n 100% {\n cx: var(--moon-max);\n cy: var(--moon-min);\n }\n}\n\n@keyframes orbit-front {\n 0% {\n opacity: 0;\n }\n\n 49% {\n opacity: 0;\n }\n\n 50% {\n opacity: 1;\n }\n}", "file_path": "/mnt/persist/workspace/loaders/Charly-T_swift-bulldog-26.html" }, "uniapp": { "template": "<view class=\"loader\" viewBox=\"0 0 100 100\"></view>\n <circle class=\"moon moon-back\"></circle>\n <circle class=\"planet\"></circle>\n <circle class=\"moon moon-front\"></circle>\n</svg>", "script": "export default {\n name: 'GalaxySwiftBulldog26',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by Charly-T - Tags: loader */\n.loader {\n --moon-r: 0.7em;\n --planet-r: 1.75em;\n --planet-stroke-width: 4;\n --center: 50;\n --moon-max: 80;\n --moon-min: 20;\n --animation-duration: 4000ms;\n --planet-stroke: black;\n --planet-fill: white;\n --moon-fill: #fecb00;\n width: 7em;\n}\n\n.planet {\n cx: var(--center);\n cy: var(--center);\n r: var(--planet-r);\n fill: var(--planet-fill);\n stroke: var(--planet-stroke);\n stroke-width: var(--planet-stroke-width);\n}\n\n.moon {\n fill: var(--moon-fill);\n r: var(--moon-r);\n}\n\n.moon-front {\n animation: orbit0234 var(--animation-duration) ease-in-out infinite,\n orbit-front var(--animation-duration) linear infinite;\n}\n\n.moon-back {\n animation: orbit0234 var(--animation-duration) ease-in-out infinite;\n}\n\n@keyframes orbit0234 {\n 0% {\n cx: var(--moon-max);\n cy: var(--moon-min);\n }\n\n 50% {\n cx: var(--moon-min);\n cy: var(--moon-max);\n }\n\n 100% {\n cx: var(--moon-max);\n cy: var(--moon-min);\n }\n}\n\n@keyframes orbit-front {\n 0% {\n opacity: 0;\n }\n\n 49% {\n opacity: 0;\n }\n\n 50% {\n opacity: 1;\n }\n}\n\n", "component_name": "GalaxySwiftBulldog26" }, "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": 1282, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:39.035Z", "updated_at": "2025-07-31T07:55:39.035Z" }