UNPKG

galaxy-uniapp-mcp-server

Version:

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

93 lines 5.61 kB
{ "id": "NlghtM4re_popular-crab-99", "name": "popular-crab-99", "category": "loaders", "author": "NlghtM4re", "description": "popular-crab-99 组件 (loader, cube, shadow, glow, colorful, animation)", "tags": [ "loader", "cube", "shadow", "glow", "colorful", "animation" ], "original": { "html": "<div class=\"loader\">\n <div></div> \n <div></div>\n <div></div>\n <div></div>\n</div>", "css": "/* From Uiverse.io by NlghtM4re - Tags: loader, cube, shadow, glow, colorful */\n.loader {\n height: 120px;\n width: 120px;\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n}\n\n.loader div {\n height: 30px;\n width: 30px;\n position: absolute;\n animation: move 4s infinite;\n}\n\n.loader div:nth-child(1) {\n background-color: rgb(158, 136, 246);\n box-shadow: rgb(158, 136, 246) 0px 7px 29px 0px;\n transform: translate(-30px,-30px);\n animation-delay: -1s;\n}\n\n.loader div:nth-child(2) {\n background-color: rgb(97, 183, 253);\n box-shadow: rgb(97, 183, 253) 0px 7px 29px 0px;\n transform: translate(30px,-30px);\n animation-delay: -2s;\n}\n\n.loader div:nth-child(3) {\n background-color: rgb(95, 249, 175);\n box-shadow: rgb(95, 249, 175) 0px 7px 29px 0px;\n transform: translate(30px,30px);\n animation-delay: -3s;\n}\n\n.loader div:nth-child(4) {\n background-color: rgb(243, 171, 89);\n box-shadow: rgb(243, 171, 89) 0px 7px 29px 0px;\n transform: translate(-30px,30px);\n animation-delay: -4s;\n}\n\n@keyframes move {\n 0% {\n transform: translate(-30px, -30px);\n }\n\n 25% {\n transform: translate(30px, -30px);\n }\n\n 50% {\n transform: translate(30px, 30px);\n }\n\n 75% {\n transform: translate(-30px, 30px);\n }\n\n 100% {\n transform: translate(-30px, -30px);\n }\n}", "file_path": "/mnt/persist/workspace/loaders/NlghtM4re_popular-crab-99.html" }, "uniapp": { "template": "<view class=\"loader\"></view>\n <view></view> \n <view></view>\n <view></view>\n <view></view>\n</div>", "script": "export default {\n name: 'GalaxyPopularCrab99',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by NlghtM4re - Tags: loader, cube, shadow, glow, colorful */\n.loader {\n height: 240rpx;\n width: 240rpx;\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n}\n\n.loader div {\n height: 60rpx;\n width: 60rpx;\n position: absolute;\n animation: move 4s infinite;\n}\n\n.loader div:nth-child(1) {\n background-color: rgb(158, 136, 246);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: rgb(158, 136, 246) 0rpx 14rpx 58rpx 0rpx;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transform: translate(-60rpx,-60rpx);\n animation-delay: -1s;\n}\n\n.loader div:nth-child(2) {\n background-color: rgb(97, 183, 253);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: rgb(97, 183, 253) 0rpx 14rpx 58rpx 0rpx;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transform: translate(60rpx,-60rpx);\n animation-delay: -2s;\n}\n\n.loader div:nth-child(3) {\n background-color: rgb(95, 249, 175);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: rgb(95, 249, 175) 0rpx 14rpx 58rpx 0rpx;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transform: translate(60rpx,60rpx);\n animation-delay: -3s;\n}\n\n.loader div:nth-child(4) {\n background-color: rgb(243, 171, 89);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: rgb(243, 171, 89) 0rpx 14rpx 58rpx 0rpx;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transform: translate(-60rpx,60rpx);\n animation-delay: -4s;\n}\n\n@keyframes move {\n 0% {\n transform: translate(-60rpx, -60rpx);\n }\n\n 25% {\n transform: translate(60rpx, -60rpx);\n }\n\n 50% {\n transform: translate(60rpx, 60rpx);\n }\n\n 75% {\n transform: translate(-60rpx, 60rpx);\n }\n\n 100% {\n transform: translate(-60rpx, -60rpx);\n }\n}\n\n", "component_name": "GalaxyPopularCrab99" }, "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": 1402, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:39.921Z", "updated_at": "2025-07-31T07:55:39.921Z" }