UNPKG

galaxy-uniapp-mcp-server

Version:

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

92 lines 4.91 kB
{ "id": "escannord_strange-falcon-84", "name": "strange-falcon-84", "category": "loaders", "author": "escannord", "description": "strange-falcon-84 组件 (animation, 3d, loader, light, gradient)", "tags": [ "animation", "3d", "loader", "light", "gradient" ], "original": { "html": "<div class=\"loader\">\n <span class=\"ball ball1\"></span>\n <span class=\"ball\"></span>\n <span class=\"ball\"></span>\n <span class=\"ball\"></span>\n <span class=\"ball\"></span>\n</div>", "css": "/* From Uiverse.io by escannord - Tags: animation, 3d, loader, light */\n.loader {\n text-align: center;\n position: relative;\n display: flex;\n}\n\n.loader .ball {\n box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);\n}\n\n.ball {\n display: block;\n width: 20px;\n height: 20px;\n border-radius: 50%;\n background: radial-gradient(circle at 8px 5px, white 5%, black);\n position: relative;\n transform-origin: 50% -100px;\n}\n\n.ball:last-child {\n animation: balance-right 1.2s infinite linear;\n}\n\n.ball:first-child {\n animation: balance-left 1.2s infinite linear;\n}\n\n@keyframes balance-right {\n 0% {\n transform: rotate(0deg);\n animation-timing-function: linear;\n }\n\n 50% {\n transform: rotate(0deg);\n animation-timing-function: ease-out;\n }\n\n 75% {\n transform: rotate(-30deg);\n animation-timing-function: ease-in;\n }\n}\n\n@keyframes balance-left {\n 0% {\n transform: rotate(0deg);\n animation-timing-function: ease-out;\n }\n\n 25% {\n transform: rotate(30deg);\n animation-timing-function: ease-in;\n }\n\n 50% {\n transform: rotate(0deg);\n animation-timing-function: linear;\n }\n}", "file_path": "/mnt/persist/workspace/loaders/escannord_strange-falcon-84.html" }, "uniapp": { "template": "<view class=\"loader\"></view>\n <text class=\"ball ball1\"></text>\n <text class=\"ball\"></text>\n <text class=\"ball\"></text>\n <text class=\"ball\"></text>\n <text class=\"ball\"></text>\n</div>", "script": "export default {\n name: 'GalaxyStrangeFalcon84',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by escannord - Tags: animation, 3d, loader, light */\n.loader {\n text-align: center;\n position: relative;\n display: flex;\n}\n\n.loader .ball {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 10rpx 20rpx rgba(0, 0, 0, 0.5);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.ball {\n display: block;\n width: 40rpx;\n height: 40rpx;\n border-radius: 50%;\n background: radial-gradient(circle at 16rpx 10rpx, white 5%, black);\n position: relative;\n transform-origin: 50% -200rpx;\n}\n\n.ball:last-child {\n animation: balance-right 1.2s infinite linear;\n}\n\n.ball:first-child {\n animation: balance-left 1.2s infinite linear;\n}\n\n@keyframes balance-right {\n 0% {\n transform: rotate(0deg);\n animation-timing-function: linear;\n }\n\n 50% {\n transform: rotate(0deg);\n animation-timing-function: ease-out;\n }\n\n 75% {\n transform: rotate(-30deg);\n animation-timing-function: ease-in;\n }\n}\n\n@keyframes balance-left {\n 0% {\n transform: rotate(0deg);\n animation-timing-function: ease-out;\n }\n\n 25% {\n transform: rotate(30deg);\n animation-timing-function: ease-in;\n }\n\n 50% {\n transform: rotate(0deg);\n animation-timing-function: linear;\n }\n}\n\n", "component_name": "GalaxyStrangeFalcon84" }, "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": 1292, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:41.580Z", "updated_at": "2025-07-31T07:55:41.580Z" }