UNPKG

galaxy-uniapp-mcp-server

Version:

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

85 lines 3.44 kB
{ "id": "Shoh2008_lucky-quail-40", "name": "lucky-quail-40", "category": "loaders", "author": "Shoh2008", "description": "lucky-quail-40 组件 (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 border: 2px solid #FFF;\n border-radius: 50%;\n display: inline-block;\n position: relative;\n box-sizing: border-box;\n animation: rotation_35 1s linear infinite;\n}\n\n.loader::after,\n.loader::before {\n content: '';\n box-sizing: border-box;\n position: absolute;\n left: 0;\n top: 0;\n background: greenyellow;\n width: 6px;\n height: 6px;\n transform: translate(150%, 150%);\n border-radius: 50%;\n}\n\n.loader::before {\n left: auto;\n top: auto;\n right: 0;\n bottom: 0;\n transform: translate(-150%, -150%);\n}\n\n@keyframes rotation_35 {\n 0% {\n transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n}", "file_path": "/mnt/persist/workspace/loaders/Shoh2008_lucky-quail-40.html" }, "uniapp": { "template": "<text class=\"loader\"></text>", "script": "export default {\n name: 'GalaxyLuckyQuail40',\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 border: 4rpx solid #FFF;\n border-radius: 50%;\n display: inline-block;\n position: relative;\n box-sizing: border-box;\n animation: rotation_35 1s linear infinite;\n}\n\n.loader::after,\n.loader::before {\n content: '';\n box-sizing: border-box;\n position: absolute;\n left: 0;\n top: 0;\n background: greenyellow;\n width: 12rpx;\n height: 12rpx;\n transform: translate(150%, 150%);\n border-radius: 50%;\n}\n\n.loader::before {\n left: auto;\n top: auto;\n right: 0;\n bottom: 0;\n transform: translate(-150%, -150%);\n}\n\n@keyframes rotation_35 {\n 0% {\n transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n} \n", "component_name": "GalaxyLuckyQuail40" }, "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": 749, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:40.389Z", "updated_at": "2025-07-31T07:55:40.389Z" }