UNPKG

galaxy-uniapp-mcp-server

Version:

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

90 lines 4.51 kB
{ "id": "Diox221_silent-termite-64", "name": "silent-termite-64", "category": "loaders", "author": "Diox221", "description": "silent-termite-64 组件 (loader, accept call, animation)", "tags": [ "loader", "accept call", "animation" ], "original": { "html": "<div class=\"loader\">\n <div class=\"circle circle-1\"></div>\n <div class=\"circle circle-2\"></div>\n <div class=\"circle circle-3\"></div>\n <div class=\"circle circle-4\"></div>\n</div>", "css": "/* From Uiverse.io by Diox221 - Tags: loader, accept call */\n.loader {\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n}\n\n.circle {\n position: relative;\n width: 40px;\n height: 40px;\n border-radius: 50%;\n margin: 10px;\n box-shadow: inset 0 0 0 2px #fff;\n transform-origin: center;\n animation: fill 1.5s ease-in-out infinite;\n}\n\n.circle-1 {\n animation-delay: 0s;\n}\n\n.circle-2 {\n animation-delay: -0.4s;\n}\n\n.circle-3 {\n animation-delay: -0.8s;\n}\n\n.circle-4 {\n animation-delay: -1.2s;\n}\n\n@keyframes fill {\n 0% {\n transform: scale(1);\n }\n\n 50% {\n box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 6px #1c1c1e;\n transform: scale(1.5);\n }\n\n 100% {\n box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 6px #fff;\n transform: scale(1);\n }\n}", "file_path": "/mnt/persist/workspace/loaders/Diox221_silent-termite-64.html" }, "uniapp": { "template": "<view class=\"loader\"></view>\n <view class=\"circle circle-1\"></view>\n <view class=\"circle circle-2\"></view>\n <view class=\"circle circle-3\"></view>\n <view class=\"circle circle-4\"></view>\n</div>", "script": "export default {\n name: 'GalaxySilentTermite64',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by Diox221 - Tags: loader, accept call */\n.loader {\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n}\n\n.circle {\n position: relative;\n width: 80rpx;\n height: 80rpx;\n border-radius: 50%;\n margin: 20rpx;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset 0 0 0 4rpx #fff;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transform-origin: center;\n animation: fill 1.5s ease-in-out infinite;\n}\n\n.circle-1 {\n animation-delay: 0s;\n}\n\n.circle-2 {\n animation-delay: -0.4s;\n}\n\n.circle-3 {\n animation-delay: -0.8s;\n}\n\n.circle-4 {\n animation-delay: -1.2s;\n}\n\n@keyframes fill {\n 0% {\n transform: scale(1);\n }\n\n 50% {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset 0 0 0 4rpx #fff, inset 0 0 0 12rpx #1c1c1e;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transform: scale(1.5);\n }\n\n 100% {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset 0 0 0 4rpx #fff, inset 0 0 0 12rpx #fff;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transform: scale(1);\n }\n}\n\n", "component_name": "GalaxySilentTermite64" }, "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": [ "不支持 box-shadow 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 box-shadow 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 973, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:39.192Z", "updated_at": "2025-07-31T07:55:39.192Z" }