UNPKG

galaxy-uniapp-mcp-server

Version:

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

92 lines 4.07 kB
{ "id": "Yaya12085_gentle-robin-36", "name": "gentle-robin-36", "category": "loaders", "author": "Yaya12085", "description": "gentle-robin-36 组件 (loader, moon, animation)", "tags": [ "loader", "moon", "animation" ], "original": { "html": "<div class=\"container\">\n<div class=\"loader\">\n<div class=\"shadow\"></div>\n</div>\n</div>", "css": "/* From Uiverse.io by Yaya12085 - Tags: loader, moon */\n.container {\n background-color: #212121;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.loader {\n height: 100px;\n width: 100px;\n border-radius: 50%;\n background-color: #e8e8e8;\n border: 4px solid #e8e8e8;\n box-shadow: 0 0 3px #e8e8e8;\n filter: blur(.4px);\n}\n\n.shadow {\n height: 120px;\n width: 120px;\n border-radius: 50%;\n background-color: #212121;\n top: -5px;\n left: 0;\n animation: animate 3s infinite 1.5s;\n}\n\n@keyframes animate {\n 0% {\n transform: translateX(150px);\n background-color: #212121;\n }\n\n 50% {\n transform: translateX(-10px);\n background-color: #212121;\n }\n\n 100% {\n transform: translateX(-170px);\n background-color: #212121;\n }\n}", "file_path": "/mnt/persist/workspace/loaders/Yaya12085_gentle-robin-36.html" }, "uniapp": { "template": "<view class=\"container\"></view>\n<view class=\"loader\"></view>\n<view class=\"shadow\"></view>\n</div>\n</div>", "script": "export default {\n name: 'GalaxyGentleRobin36',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by Yaya12085 - Tags: loader, moon */\n.container {\n background-color: #212121;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.loader {\n height: 200rpx;\n width: 200rpx;\n border-radius: 50%;\n background-color: #e8e8e8;\n border: 8rpx solid #e8e8e8;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0 6rpx #e8e8e8;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n \n}\n\n.shadow {\n height: 240rpx;\n width: 240rpx;\n border-radius: 50%;\n background-color: #212121;\n top: -10rpx;\n left: 0;\n animation: animate 3s infinite 1.5s;\n}\n\n@keyframes animate {\n 0% {\n transform: translateX(300rpx);\n background-color: #212121;\n }\n\n 50% {\n transform: translateX(-20rpx);\n background-color: #212121;\n }\n\n 100% {\n transform: translateX(-340rpx);\n background-color: #212121;\n }\n}\n\n\n", "component_name": "GalaxyGentleRobin36" }, "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 属性", "不支持 filter 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 box-shadow 属性", "不支持 filter 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 885, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:40.770Z", "updated_at": "2025-07-31T07:55:40.770Z" }