UNPKG

galaxy-uniapp-mcp-server

Version:

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

89 lines 4.13 kB
{ "id": "Shoh2008_great-pug-66", "name": "great-pug-66", "category": "loaders", "author": "Shoh2008", "description": "great-pug-66 组件 (loader, animation)", "tags": [ "loader", "animation" ], "original": { "html": "<div class=\"loader\"></div>", "css": "/* From Uiverse.io by Shoh2008 - Tags: loader */\n.loader {\n width: 16px;\n height: 16px;\n box-shadow: 0 30px, 0 -30px;\n border-radius: 4px;\n background: currentColor;\n display: block;\n position: relative;\n transform: translate(-150%, -20px);\n color: #FFF;\n box-sizing: border-box;\n animation: animloader 2s ease infinite;\n}\n\n.loader::after,\n.loader::before {\n content: '';\n box-sizing: border-box;\n width: 16px;\n height: 16px;\n box-shadow: 0 30px, 0 -30px;\n border-radius: 4px;\n background: currentColor;\n color: #FFF;\n position: absolute;\n left: 30px;\n top: 0;\n animation: animloader 2s 0.2s ease infinite;\n}\n\n.loader::before {\n animation-delay: 0.4s;\n left: 60px;\n}\n\n@keyframes animloader {\n 0% {\n top: 0;\n color: white;\n }\n\n 50% {\n top: 30px;\n color: rgba(255, 255, 255, 0.2);\n }\n\n 100% {\n top: 0;\n color: white;\n }\n}", "file_path": "/mnt/persist/workspace/loaders/Shoh2008_great-pug-66.html" }, "uniapp": { "template": "<view class=\"loader\"></view>", "script": "export default {\n name: 'GalaxyGreatPug66',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by Shoh2008 - Tags: loader */\n.loader {\n width: 32rpx;\n height: 32rpx;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 60rpx, 0 -60rpx;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n border-radius: 8rpx;\n background: currentColor;\n display: block;\n position: relative;\n transform: translate(-150%, -40rpx);\n color: #FFF;\n box-sizing: border-box;\n animation: animloader 2s ease infinite;\n}\n\n.loader::after,\n.loader::before {\n content: '';\n box-sizing: border-box;\n width: 32rpx;\n height: 32rpx;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 60rpx, 0 -60rpx;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n border-radius: 8rpx;\n background: currentColor;\n color: #FFF;\n position: absolute;\n left: 60rpx;\n top: 0;\n animation: animloader 2s 0.2s ease infinite;\n}\n\n.loader::before {\n animation-delay: 0.4s;\n left: 120rpx;\n}\n\n@keyframes animloader {\n 0% {\n top: 0;\n color: white;\n }\n\n 50% {\n top: 60rpx;\n color: rgba(255, 255, 255, 0.2);\n }\n\n 100% {\n top: 0;\n color: white;\n }\n}\n\n", "component_name": "GalaxyGreatPug66" }, "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": 899, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:40.353Z", "updated_at": "2025-07-31T07:55:40.353Z" }