UNPKG

galaxy-uniapp-mcp-server

Version:

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

94 lines 5.35 kB
{ "id": "vikas7754_sour-goose-62", "name": "sour-goose-62", "category": "loaders", "author": "vikas7754", "description": "sour-goose-62 组件 (3d, loader, 3d cube, animation, gradient)", "tags": [ "3d", "loader", "3d cube", "animation", "gradient" ], "original": { "html": "<div class=\"glowing-cube\">\n <div class=\"top\">❤</div>\n <div>\n <span style=\"--i:0;\"></span>\n <span style=\"--i:1;\"></span>\n <span style=\"--i:2;\"></span>\n <span style=\"--i:3;\"></span>\n </div>\n</div>", "css": "/* From Uiverse.io by vikas7754 - Source: https://freecodez.com/post/iiygefu - Tags: 3d, loader, 3d cube */\n.glowing-cube {\n position: relative;\n width: 150px;\n height: 150px;\n transform-style: preserve-3d;\n animation: cube-rotate 4s linear infinite;\n}\n\n@keyframes cube-rotate {\n 0% {\n transform: rotatex(-30deg) rotatey(0deg);\n }\n\n 100% {\n transform: rotatex(-30deg) rotatey(360deg);\n }\n}\n\n.glowing-cube div {\n position: absolute;\n inset: 0;\n transform-style: preserve-3d;\n}\n\n.glowing-cube div span {\n position: absolute;\n inset: 0;\n background: linear-gradient(#151515, #3aff5e);\n transform: rotatey(calc(90deg * var(--i))) translatez(calc(150px / 2));\n}\n\n.glowing-cube .top {\n position: absolute;\n inset: 0;\n background: #222;\n transform: rotatex(90deg) translatez(calc(150px / 2));\n display: flex;\n justify-content: center;\n align-items: center;\n color: var(--top-font-color);\n font-size: 7rem;\n}\n\n.glowing-cube .top::before {\n content: '';\n position: absolute;\n background: #3aff5e;\n inset: 0;\n transform: translatez(calc(0px - calc(150px + 100px)));\n filter: blur(30px);\n box-shadow: 0 0 120px rgba(58, 134, 255, 0.2),\n 0 0 200px rgba(58, 134, 255, 0.4),\n 0 0 300px #00ff2f,\n 0 0 400px #51fd71,\n 0 0 500px #3aff5e;\n}", "file_path": "/mnt/persist/workspace/loaders/vikas7754_sour-goose-62.html" }, "uniapp": { "template": "<view class=\"glowing-cube\"></view>\n <view class=\"top\">❤</view>\n <view></view>\n <text style=\"--i:0;\"></text>\n <text style=\"--i:1;\"></text>\n <text style=\"--i:2;\"></text>\n <text style=\"--i:3;\"></text>\n </div>\n</div>", "script": "export default {\n name: 'GalaxySourGoose62',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by vikas7754 - Source: https://freecodez.com/post/iiygefu - Tags: 3d, loader, 3d cube */\n.glowing-cube {\n position: relative;\n width: 300rpx;\n height: 300rpx;\n transform-style: preserve-3d;\n animation: cube-rotate 4s linear infinite;\n}\n\n@keyframes cube-rotate {\n 0% {\n transform: rotatex(-30deg) rotatey(0deg);\n }\n\n 100% {\n transform: rotatex(-30deg) rotatey(360deg);\n }\n}\n\n.glowing-cube div {\n position: absolute;\n inset: 0;\n transform-style: preserve-3d;\n}\n\n.glowing-cube div span {\n position: absolute;\n inset: 0;\n background: linear-gradient(#151515, #3aff5e);\n transform: rotatey(calc(90deg * var(--i))) translatez(calc(300rpx / 2));\n}\n\n.glowing-cube .top {\n position: absolute;\n inset: 0;\n background: #222;\n transform: rotatex(90deg) translatez(calc(300rpx / 2));\n display: flex;\n justify-content: center;\n align-items: center;\n color: var(--top-font-color);\n font-size: 7rem;\n}\n\n.glowing-cube .top::before {\n content: '';\n position: absolute;\n background: #3aff5e;\n inset: 0;\n transform: translatez(calc(0rpx - calc(300rpx + 200rpx)));\n \n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0 240rpx rgba(58, 134, 255, 0.2),\n 0 0 400rpx rgba(58, 134, 255, 0.4),\n 0 0 600rpx #00ff2f,\n 0 0 800rpx #51fd71,\n 0 0 1000rpx #3aff5e;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n", "component_name": "GalaxySourGoose62" }, "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": 1486, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:42.714Z", "updated_at": "2025-07-31T07:55:42.714Z" }