UNPKG

galaxy-uniapp-mcp-server

Version:

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

85 lines 3.84 kB
{ "id": "G4b413l_brave-wasp-99", "name": "brave-wasp-99", "category": "loaders", "author": "G4b413l", "description": "brave-wasp-99 组件 (loader, animation)", "tags": [ "loader", "animation" ], "original": { "html": "<div class=\"line-wobble\"></div>", "css": "/* From Uiverse.io by G4b413l - Tags: loader */\n.line-wobble {\n --uib-size: 80px;\n --uib-speed: 1.55s;\n --uib-color: black;\n --uib-line-weight: 5px;\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n height: var(--uib-line-weight);\n width: var(--uib-size);\n border-radius: calc(var(--uib-line-weight) / 2);\n overflow: hidden;\n transform: translate3d(0, 0, 0);\n}\n\n.line-wobble::before {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n width: 100%;\n background-color: var(--uib-color);\n opacity: 0.1;\n}\n\n.line-wobble::after {\n content: '';\n height: 100%;\n width: 100%;\n border-radius: calc(var(--uib-line-weight) / 2);\n animation: wobble var(--uib-speed) ease-in-out infinite;\n transform: translateX(-90%);\n background-color: var(--uib-color);\n}\n\n@keyframes wobble {\n 0%,\n 100% {\n transform: translateX(-90%);\n }\n\n 50% {\n transform: translateX(90%);\n }\n}", "file_path": "/mnt/persist/workspace/loaders/G4b413l_brave-wasp-99.html" }, "uniapp": { "template": "<view class=\"line-wobble\"></view>", "script": "export default {\n name: 'GalaxyBraveWasp99',\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.line-wobble {\n --uib-size: 160rpx;\n --uib-speed: 1.55s;\n --uib-color: black;\n --uib-line-weight: 10rpx;\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n height: var(--uib-line-weight);\n width: var(--uib-size);\n border-radius: calc(var(--uib-line-weight) / 2);\n overflow: hidden;\n transform: translate3d(0, 0, 0);\n}\n\n.line-wobble::before {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n width: 100%;\n background-color: var(--uib-color);\n opacity: 0.1;\n}\n\n.line-wobble::after {\n content: '';\n height: 100%;\n width: 100%;\n border-radius: calc(var(--uib-line-weight) / 2);\n animation: wobble var(--uib-speed) ease-in-out infinite;\n transform: translateX(-90%);\n background-color: var(--uib-color);\n}\n\n@keyframes wobble {\n 0%,\n 100% {\n transform: translateX(-90%);\n }\n\n 50% {\n transform: translateX(90%);\n }\n}\n\n", "component_name": "GalaxyBraveWasp99" }, "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": 948, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:39.265Z", "updated_at": "2025-07-31T07:55:39.265Z" }