UNPKG

galaxy-uniapp-mcp-server

Version:

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

92 lines 4.78 kB
{ "id": "adamgiebl_thin-lionfish-5", "name": "thin-lionfish-5", "category": "loaders", "author": "adamgiebl", "description": "thin-lionfish-5 组件 (blue, loader, dots, pulse, animation)", "tags": [ "blue", "loader", "dots", "pulse", "animation" ], "original": { "html": "<section class=\"dots-container\">\n <div class=\"dot\"></div>\n <div class=\"dot\"></div>\n <div class=\"dot\"></div>\n <div class=\"dot\"></div>\n <div class=\"dot\"></div>\n</section>", "css": "/* From Uiverse.io by adamgiebl - Tags: blue, loader, dots, pulse */\n.dots-container {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 100%;\n width: 100%;\n}\n\n.dot {\n height: 20px;\n width: 20px;\n margin-right: 10px;\n border-radius: 10px;\n background-color: #b3d4fc;\n animation: pulse 1.5s infinite ease-in-out;\n}\n\n.dot:last-child {\n margin-right: 0;\n}\n\n.dot:nth-child(1) {\n animation-delay: -0.3s;\n}\n\n.dot:nth-child(2) {\n animation-delay: -0.1s;\n}\n\n.dot:nth-child(3) {\n animation-delay: 0.1s;\n}\n\n@keyframes pulse {\n 0% {\n transform: scale(0.8);\n background-color: #b3d4fc;\n box-shadow: 0 0 0 0 rgba(178, 212, 252, 0.7);\n }\n\n 50% {\n transform: scale(1.2);\n background-color: #6793fb;\n box-shadow: 0 0 0 10px rgba(178, 212, 252, 0);\n }\n\n 100% {\n transform: scale(0.8);\n background-color: #b3d4fc;\n box-shadow: 0 0 0 0 rgba(178, 212, 252, 0.7);\n }\n}", "file_path": "/mnt/persist/workspace/loaders/adamgiebl_thin-lionfish-5.html" }, "uniapp": { "template": "<view class=\"dots-container\"></view>\n <view class=\"dot\"></view>\n <view class=\"dot\"></view>\n <view class=\"dot\"></view>\n <view class=\"dot\"></view>\n <view class=\"dot\"></view>\n</section>", "script": "export default {\n name: 'GalaxyThinLionfish5',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by adamgiebl - Tags: blue, loader, dots, pulse */\n.dots-container {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 100%;\n width: 100%;\n}\n\n.dot {\n height: 40rpx;\n width: 40rpx;\n margin-right: 20rpx;\n border-radius: 20rpx;\n background-color: #b3d4fc;\n animation: pulse 1.5s infinite ease-in-out;\n}\n\n.dot:last-child {\n margin-right: 0;\n}\n\n.dot:nth-child(1) {\n animation-delay: -0.3s;\n}\n\n.dot:nth-child(2) {\n animation-delay: -0.1s;\n}\n\n.dot:nth-child(3) {\n animation-delay: 0.1s;\n}\n\n@keyframes pulse {\n 0% {\n transform: scale(0.8);\n background-color: #b3d4fc;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0 0 0 rgba(178, 212, 252, 0.7);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n }\n\n 50% {\n transform: scale(1.2);\n background-color: #6793fb;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0 0 20rpx rgba(178, 212, 252, 0);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n }\n\n 100% {\n transform: scale(0.8);\n background-color: #b3d4fc;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0 0 0 rgba(178, 212, 252, 0.7);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n }\n}\n", "component_name": "GalaxyThinLionfish5" }, "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": 1096, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:40.885Z", "updated_at": "2025-07-31T07:55:40.885Z" }