UNPKG

galaxy-uniapp-mcp-server

Version:

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

92 lines 4.51 kB
{ "id": "vikramsinghnegi_witty-skunk-89", "name": "witty-skunk-89", "category": "loaders", "author": "vikramsinghnegi", "description": "witty-skunk-89 组件 (loader, effect loader, location, map, animation)", "tags": [ "loader", "effect loader", "location", "map", "animation" ], "original": { "html": "<div class=\"center-body\">\n <div class=\"loader-shape-3\"></div>\n</div>", "css": "/* From Uiverse.io by vikramsinghnegi - Tags: loader, effect loader, location, map */\n.center-body {\n background: #202628;\n display: flex;\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 100%;\n}\nbody {\n}\n.loader-shape-3 {\n position: relative;\n display: inline-block;\n width: 50px;\n height: 50px;\n}\n.loader-shape-3:after {\n width: 30px;\n height: 20px;\n border-radius: 100%;\n background-color: rgba(255, 255, 255, 0.2);\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n margin-top: 15px;\n}\n.loader-shape-3:before {\n width: 20px;\n height: 20px;\n border-radius: 100% 100% 100% 0;\n box-shadow: 0px 0px 0px 2px rgba(255, 255, 255, 1);\n animation: anm-SL-3-move 1s linear infinite;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%) rotate(-46deg);\n margin-top: 20px;\n}\n.loader-shape-3:before,\n.loader-shape-3:after {\n position: absolute;\n content: \"\";\n}\n@keyframes anm-SL-3-move {\n 0% {\n top: 0;\n }\n 50% {\n top: -5px;\n }\n 100% {\n top: 0;\n }\n}", "file_path": "/mnt/persist/workspace/loaders/vikramsinghnegi_witty-skunk-89.html" }, "uniapp": { "template": "<view class=\"center-body\"></view>\n <view class=\"loader-shape-3\"></view>\n</div>", "script": "export default {\n name: 'GalaxyWittySkunk89',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by vikramsinghnegi - Tags: loader, effect loader, location, map */\n.center-body {\n background: #202628;\n display: flex;\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 100%;\n}\nbody {\n}\n.loader-shape-3 {\n position: relative;\n display: inline-block;\n width: 100rpx;\n height: 100rpx;\n}\n.loader-shape-3:after {\n width: 60rpx;\n height: 40rpx;\n border-radius: 100%;\n background-color: rgba(255, 255, 255, 0.2);\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n margin-top: 30rpx;\n}\n.loader-shape-3:before {\n width: 40rpx;\n height: 40rpx;\n border-radius: 100% 100% 100% 0;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0rpx 0rpx 0rpx 4rpx rgba(255, 255, 255, 1);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n animation: anm-SL-3-move 1s linear infinite;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%) rotate(-46deg);\n margin-top: 40rpx;\n}\n.loader-shape-3:before,\n.loader-shape-3:after {\n position: absolute;\n content: \"\";\n}\n@keyframes anm-SL-3-move {\n 0% {\n top: 0;\n }\n 50% {\n top: -10rpx;\n }\n 100% {\n top: 0;\n }\n}\n\n", "component_name": "GalaxyWittySkunk89" }, "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": 1098, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:42.770Z", "updated_at": "2025-07-31T07:55:42.770Z" }