UNPKG

galaxy-uniapp-mcp-server

Version:

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

85 lines 3.07 kB
{ "id": "gagan-gv_stupid-walrus-23", "name": "stupid-walrus-23", "category": "loaders", "author": "gagan-gv", "description": "stupid-walrus-23 组件 (loader, animation)", "tags": [ "loader", "animation" ], "original": { "html": "<div class=\"loader\"></div>", "css": "/* From Uiverse.io by gagan-gv - Tags: loader */\n.loader {\n border: 0 solid transparent;\n border-radius: 50%;\n width: 100px;\n height: 100px;\n}\n\n.loader::before,\n.loader::after {\n content: '';\n border: 7px solid #ccc;\n border-radius: 50%;\n width: inherit;\n height: inherit;\n position: absolute;\n animation: loader 2s linear infinite;\n opacity: 0;\n}\n\n.loader::before {\n animation-delay: 1s;\n}\n\n@keyframes loader {\n 0% {\n transform: scale(1);\n opacity: 0;\n }\n\n 50% {\n opacity: 1;\n }\n\n 100% {\n transform: scale(0);\n opacity: 0;\n }\n}", "file_path": "/mnt/persist/workspace/loaders/gagan-gv_stupid-walrus-23.html" }, "uniapp": { "template": "<view class=\"loader\"></view>", "script": "export default {\n name: 'GalaxyStupidWalrus23',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by gagan-gv - Tags: loader */\n.loader {\n border: 0 solid transparent;\n border-radius: 50%;\n width: 200rpx;\n height: 200rpx;\n}\n\n.loader::before,\n.loader::after {\n content: '';\n border: 14rpx solid #ccc;\n border-radius: 50%;\n width: inherit;\n height: inherit;\n position: absolute;\n animation: loader 2s linear infinite;\n opacity: 0;\n}\n\n.loader::before {\n animation-delay: 1s;\n}\n\n@keyframes loader {\n 0% {\n transform: scale(1);\n opacity: 0;\n }\n\n 50% {\n opacity: 1;\n }\n\n 100% {\n transform: scale(0);\n opacity: 0;\n }\n}\n", "component_name": "GalaxyStupidWalrus23" }, "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": 563, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:42.139Z", "updated_at": "2025-07-31T07:55:42.139Z" }