UNPKG

galaxy-uniapp-mcp-server

Version:

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

85 lines 3.15 kB
{ "id": "d4niz_bitter-seahorse-2", "name": "bitter-seahorse-2", "category": "loaders", "author": "d4niz", "description": "bitter-seahorse-2 组件 (loader, animation)", "tags": [ "loader", "animation" ], "original": { "html": "<div class=\"loader\"></div>", "css": "/* From Uiverse.io by d4niz - Tags: loader */\n.loader {\n width: 56px;\n height: 56px;\n display: grid;\n border: 4.6px solid #0000;\n border-radius: 100%;\n border-color: #008cff #0000;\n animation: spinner-e04l1k 1.5s infinite linear;\n}\n\n.loader::before, .loader::after {\n content: \"\";\n grid-area: 1/1;\n margin: 8px;\n border: inherit;\n border-radius: 50%;\n}\n\n.loader::before {\n border-color: #048be6 #0000;\n animation: inherit;\n animation-duration: 0.1s;\n}\n\n.loader::after {\n margin: 2.9px;\n}\n\n@keyframes spinner-e04l1k {\n 100% {\n transform: rotate(1turn);\n }\n}", "file_path": "/mnt/persist/workspace/loaders/d4niz_bitter-seahorse-2.html" }, "uniapp": { "template": "<view class=\"loader\"></view>", "script": "export default {\n name: 'GalaxyBitterSeahorse2',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by d4niz - Tags: loader */\n.loader {\n width: 112rpx;\n height: 112rpx;\n display: grid;\n border: 9.2rpx solid #0000;\n border-radius: 100%;\n border-color: #008cff #0000;\n animation: spinner-e04l1k 1.5s infinite linear;\n}\n\n.loader::before, .loader::after {\n content: \"\";\n grid-area: 1/1;\n margin: 16rpx;\n border: inherit;\n border-radius: 50%;\n}\n\n.loader::before {\n border-color: #048be6 #0000;\n animation: inherit;\n animation-duration: 0.1s;\n}\n\n.loader::after {\n margin: 5.8rpx;\n}\n\n@keyframes spinner-e04l1k {\n 100% {\n transform: rotate(1turn);\n }\n}\n", "component_name": "GalaxyBitterSeahorse2" }, "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": 608, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:41.216Z", "updated_at": "2025-07-31T07:55:41.216Z" }