UNPKG

galaxy-uniapp-mcp-server

Version:

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

85 lines 4.27 kB
{ "id": "G4b413l_light-bobcat-34", "name": "light-bobcat-34", "category": "loaders", "author": "G4b413l", "description": "light-bobcat-34 组件 (loader, animation)", "tags": [ "loader", "animation" ], "original": { "html": "<div class=\"momentum\"></div>", "css": "/* From Uiverse.io by G4b413l - Tags: loader */\n.momentum {\n --uib-size: 40px;\n --uib-speed: 1s;\n --uib-color: rgb(221, 255, 242);\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n height: var(--uib-size);\n width: var(--uib-size);\n animation: rotate01561 var(--uib-speed) linear infinite;\n}\n\n.momentum::before,\n.momentum::after {\n content: '';\n height: 25%;\n width: 25%;\n border-radius: 50%;\n background-color: var(--uib-color);\n}\n\n.momentum::before {\n animation: wobble290123 calc(var(--uib-speed) * 1.25) ease-in-out infinite;\n}\n\n.momentum::after {\n animation: wobble9123 calc(var(--uib-speed) * 1.25) ease-in-out infinite;\n}\n\n.momentum::before {\n margin-right: 10%;\n}\n\n@keyframes wobble9123 {\n 0%,\n 100% {\n transform: translateX(0);\n }\n\n 50% {\n transform: translateX(calc(var(--uib-size) * 0.2)) scale(1.1);\n }\n}\n\n@keyframes wobble290123 {\n 0%,\n 100% {\n transform: translateX(0);\n }\n\n 50% {\n transform: translateX(calc(var(--uib-size) * -0.2)) scale(1.1);\n }\n}\n\n@keyframes rotate01561 {\n 0% {\n transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n}", "file_path": "/mnt/persist/workspace/loaders/G4b413l_light-bobcat-34.html" }, "uniapp": { "template": "<view class=\"momentum\"></view>", "script": "export default {\n name: 'GalaxyLightBobcat34',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by G4b413l - Tags: loader */\n.momentum {\n --uib-size: 80rpx;\n --uib-speed: 1s;\n --uib-color: rgb(221, 255, 242);\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n height: var(--uib-size);\n width: var(--uib-size);\n animation: rotate01561 var(--uib-speed) linear infinite;\n}\n\n.momentum::before,\n.momentum::after {\n content: '';\n height: 25%;\n width: 25%;\n border-radius: 50%;\n background-color: var(--uib-color);\n}\n\n.momentum::before {\n animation: wobble290123 calc(var(--uib-speed) * 1.25) ease-in-out infinite;\n}\n\n.momentum::after {\n animation: wobble9123 calc(var(--uib-speed) * 1.25) ease-in-out infinite;\n}\n\n.momentum::before {\n margin-right: 10%;\n}\n\n@keyframes wobble9123 {\n 0%,\n 100% {\n transform: translateX(0);\n }\n\n 50% {\n transform: translateX(calc(var(--uib-size) * 0.2)) scale(1.1);\n }\n}\n\n@keyframes wobble290123 {\n 0%,\n 100% {\n transform: translateX(0);\n }\n\n 50% {\n transform: translateX(calc(var(--uib-size) * -0.2)) scale(1.1);\n }\n}\n\n@keyframes rotate01561 {\n 0% {\n transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n}\n\n", "component_name": "GalaxyLightBobcat34" }, "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": 1143, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:39.293Z", "updated_at": "2025-07-31T07:55:39.293Z" }