UNPKG

galaxy-uniapp-mcp-server

Version:

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

90 lines 4.44 kB
{ "id": "Fujitawa_neat-dodo-98", "name": "neat-dodo-98", "category": "loaders", "author": "Fujitawa", "description": "neat-dodo-98 组件 (loader, animation, gradient)", "tags": [ "loader", "animation", "gradient" ], "original": { "html": "<div class=\"loader\">\n <div class=\"blue\">\n</div></div>", "css": "/* From Uiverse.io by Fujitawa - Tags: loader */\n.loader {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n height: 300px;\n width: 300px;\n border-radius: 50%;\n box-shadow: inset -10px -10px 15px rgba(255, 255, 255, 1),\n inset 10px 10px 10px rgba(0, 0, 0, 0.1);\n}\n\n.loader::before {\n content: \"\";\n position: absolute;\n height: 200px;\n width: 200px;\n border-radius: 50%;\n box-shadow: -10px -10px 15px rgba(255, 255, 255, 1),\n 10px 10px 10px rgba(0, 0, 0, 0.1);\n}\n\n.blue {\n height: 186px;\n width: 220px;\n position: absolute;\n animation: rotate 5s linear infinite;\n}\n\n@keyframes rotate {\n 100% {\n transform: rotate(360deg);\n }\n}\n\n.blue::before {\n content: \"\";\n position: absolute;\n height: 30px;\n border-radius: 50%;\n width: 30px;\n background: linear-gradient(45deg, #336dff, #5c89ff);\n box-shadow: 0 5px 10px rgb(0 0 0 / 30%);\n}", "file_path": "/mnt/persist/workspace/loaders/Fujitawa_neat-dodo-98.html" }, "uniapp": { "template": "<view class=\"loader\"></view>\n <view class=\"blue\"></view>\n</div></div>", "script": "export default {\n name: 'GalaxyNeatDodo98',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by Fujitawa - Tags: loader */\n.loader {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n height: 600rpx;\n width: 600rpx;\n border-radius: 50%;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset -20rpx -20rpx 30rpx rgba(255, 255, 255, 1),\n inset 20rpx 20rpx 20rpx rgba(0, 0, 0, 0.1);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.loader::before {\n content: \"\";\n position: absolute;\n height: 400rpx;\n width: 400rpx;\n border-radius: 50%;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: -20rpx -20rpx 30rpx rgba(255, 255, 255, 1),\n 20rpx 20rpx 20rpx rgba(0, 0, 0, 0.1);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.blue {\n height: 372rpx;\n width: 440rpx;\n position: absolute;\n animation: rotate 5s linear infinite;\n}\n\n@keyframes rotate {\n 100% {\n transform: rotate(360deg);\n }\n}\n\n.blue::before {\n content: \"\";\n position: absolute;\n height: 60rpx;\n border-radius: 50%;\n width: 60rpx;\n background: linear-gradient(45deg, #336dff, #5c89ff);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 10rpx 20rpx rgb(0 0 0 / 30%);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n", "component_name": "GalaxyNeatDodo98" }, "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": 956, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:39.250Z", "updated_at": "2025-07-31T07:55:39.250Z" }