UNPKG

galaxy-uniapp-mcp-server

Version:

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

85 lines 3.6 kB
{ "id": "Shoh2008_bitter-moth-36", "name": "bitter-moth-36", "category": "loaders", "author": "Shoh2008", "description": "bitter-moth-36 组件 (loader, animation)", "tags": [ "loader", "animation" ], "original": { "html": "<span class=\"loader\"></span>", "css": "/* From Uiverse.io by Shoh2008 - Tags: loader */\n.loader {\n width: 48px;\n height: 48px;\n display: block;\n margin: 15px auto;\n position: relative;\n color: #FFF;\n box-sizing: border-box;\n animation: rotation_19 1s linear infinite;\n}\n\n.loader::after,\n.loader::before {\n content: '';\n box-sizing: border-box;\n position: absolute;\n width: 24px;\n height: 24px;\n top: 0;\n background-color: #FFF;\n border-radius: 50%;\n animation: scale50 1s infinite ease-in-out;\n}\n\n.loader::before {\n top: auto;\n bottom: 0;\n background-color: #FF3D00;\n animation-delay: 0.5s;\n}\n\n@keyframes rotation_19 {\n 0% {\n transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n}\n\n@keyframes scale50 {\n 0%, 100% {\n transform: scale(0);\n }\n\n 50% {\n transform: scale(1);\n }\n}", "file_path": "/mnt/persist/workspace/loaders/Shoh2008_bitter-moth-36.html" }, "uniapp": { "template": "<text class=\"loader\"></text>", "script": "export default {\n name: 'GalaxyBitterMoth36',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by Shoh2008 - Tags: loader */\n.loader {\n width: 96rpx;\n height: 96rpx;\n display: block;\n margin: 30rpx auto;\n position: relative;\n color: #FFF;\n box-sizing: border-box;\n animation: rotation_19 1s linear infinite;\n}\n\n.loader::after,\n.loader::before {\n content: '';\n box-sizing: border-box;\n position: absolute;\n width: 48rpx;\n height: 48rpx;\n top: 0;\n background-color: #FFF;\n border-radius: 50%;\n animation: scale50 1s infinite ease-in-out;\n}\n\n.loader::before {\n top: auto;\n bottom: 0;\n background-color: #FF3D00;\n animation-delay: 0.5s;\n}\n\n@keyframes rotation_19 {\n 0% {\n transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n}\n\n@keyframes scale50 {\n 0%, 100% {\n transform: scale(0);\n }\n\n 50% {\n transform: scale(1);\n }\n} \n", "component_name": "GalaxyBitterMoth36" }, "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": 824, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:40.321Z", "updated_at": "2025-07-31T07:55:40.321Z" }