UNPKG

galaxy-uniapp-mcp-server

Version:

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

95 lines 5.18 kB
{ "id": "Kemboi-Dun_big-dolphin-10", "name": "big-dolphin-10", "category": "loaders", "author": "Kemboi-Dun", "description": "big-dolphin-10 组件 (simple, animation, blue, minimalist, loading, loader, cube, animated)", "tags": [ "simple", "animation", "blue", "minimalist", "loading", "loader", "cube", "animated" ], "original": { "html": "<div class=\"loader\"></div>", "css": "/* From Uiverse.io by Kemboi-Dun - Source: https://uiverse.io/Saiyed-Tanvir/old-mole-38 - Tags: simple, animation, blue, minimalist, loading, loader, cube, animated */\n.loader {\n height: 5cm;\n width: 5cm;\n border-radius: 1rem;\n /* border: 1px solid #0a7cbe; */\n box-shadow: inset 0 0 0 #0a7cbe;\n animation: load 4s ease infinite;\n}\n\n@keyframes load {\n \n 0% {\n box-shadow: inset -5cm -2.5cm 0 #0a7cbe;\n }\n\n 25% {\n box-shadow: inset 5cm -2.5cm 0 #0a7cbe;\n }\n\n 25.01% {\n box-shadow: inset 2.5cm -5cm 0 #0a7cbe;\n }\n\n 50% {\n box-shadow: inset 2.5cm 5cm 0 #0a7cbe;\n }\n\n 50.01% {\n box-shadow: inset 5cm 2.5cm 0 #0a7cbe;\n }\n\n 75% {\n box-shadow: inset -5cm 2.5cm 0 #0a7cbe;\n }\n\n 75.01% {\n box-shadow: inset -2.5cm 5cm 0 #0a7cbe;\n }\n\n 100% {\n box-shadow: inset -2.5cm -5cm 0 #0a7cbe;\n }\n}", "file_path": "/mnt/persist/workspace/loaders/Kemboi-Dun_big-dolphin-10.html" }, "uniapp": { "template": "<view class=\"loader\"></view>", "script": "export default {\n name: 'GalaxyBigDolphin10',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by Kemboi-Dun - Source: https://uiverse.io/Saiyed-Tanvir/old-mole-38 - Tags: simple, animation, blue, minimalist, loading, loader, cube, animated */\n.loader {\n height: 5cm;\n width: 5cm;\n border-radius: 1rem;\n /* border: 2rpx solid #0a7cbe; */\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset 0 0 0 #0a7cbe;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n animation: load 4s ease infinite;\n}\n\n@keyframes load {\n \n 0% {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset -5cm -2.5cm 0 #0a7cbe;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n }\n\n 25% {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset 5cm -2.5cm 0 #0a7cbe;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n }\n\n 25.01% {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset 2.5cm -5cm 0 #0a7cbe;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n }\n\n 50% {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset 2.5cm 5cm 0 #0a7cbe;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n }\n\n 50.01% {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset 5cm 2.5cm 0 #0a7cbe;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n }\n\n 75% {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset -5cm 2.5cm 0 #0a7cbe;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n }\n\n 75.01% {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset -2.5cm 5cm 0 #0a7cbe;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n }\n\n 100% {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset -2.5cm -5cm 0 #0a7cbe;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n }\n}\n", "component_name": "GalaxyBigDolphin10" }, "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": 855, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:39.608Z", "updated_at": "2025-07-31T07:55:39.608Z" }