UNPKG

galaxy-uniapp-mcp-server

Version:

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

85 lines 3.41 kB
{ "id": "Shoh2008_red-mouse-25", "name": "red-mouse-25", "category": "loaders", "author": "Shoh2008", "description": "red-mouse-25 组件 (loader, animation)", "tags": [ "loader", "animation" ], "original": { "html": "<div class=\"lds-hourglass\"></div>", "css": "/* From Uiverse.io by Shoh2008 - Tags: loader */\n.lds-hourglass {\n display: inline-block;\n position: relative;\n width: 80px;\n height: 80px;\n}\n\n.lds-hourglass:after {\n content: \" \";\n display: block;\n border-radius: 50%;\n width: 0;\n height: 0;\n margin: 8px;\n box-sizing: border-box;\n border: 32px solid #fff;\n border-color: #fff transparent #fff transparent;\n animation: lds-hourglass 1.2s infinite;\n}\n\n@keyframes lds-hourglass {\n 0% {\n transform: rotate(0);\n animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);\n }\n\n 50% {\n transform: rotate(900deg);\n animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);\n }\n\n 100% {\n transform: rotate(1800deg);\n }\n}", "file_path": "/mnt/persist/workspace/loaders/Shoh2008_red-mouse-25.html" }, "uniapp": { "template": "<view class=\"lds-hourglass\"></view>", "script": "export default {\n name: 'GalaxyRedMouse25',\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.lds-hourglass {\n display: inline-block;\n position: relative;\n width: 160rpx;\n height: 160rpx;\n}\n\n.lds-hourglass:after {\n content: \" \";\n display: block;\n border-radius: 50%;\n width: 0;\n height: 0;\n margin: 16rpx;\n box-sizing: border-box;\n border: 64rpx solid #fff;\n border-color: #fff transparent #fff transparent;\n animation: lds-hourglass 1.2s infinite;\n}\n\n@keyframes lds-hourglass {\n 0% {\n transform: rotate(0);\n animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);\n }\n\n 50% {\n transform: rotate(900deg);\n animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);\n }\n\n 100% {\n transform: rotate(1800deg);\n }\n}\n\n", "component_name": "GalaxyRedMouse25" }, "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": 747, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:40.430Z", "updated_at": "2025-07-31T07:55:40.430Z" }