UNPKG

galaxy-uniapp-mcp-server

Version:

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

91 lines 3.86 kB
{ "id": "ayman-ashine_rare-otter-33", "name": "rare-otter-33", "category": "loaders", "author": "ayman-ashine", "description": "rare-otter-33 组件 (loader, animated, multicolor, animation)", "tags": [ "loader", "animated", "multicolor", "animation" ], "original": { "html": "<div class=\"loader\">\n <div class=\"layer\">loading</div>\n <div class=\"layer\">loading</div>\n</div>", "css": "/* From Uiverse.io by ayman-ashine - Tags: loader, animated, multicolor */\n.loader {\n --c-1: #a2ff37;\n --c-2: #5bb2ff;\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.layer {\n font-size: 25px;\n font-family: \"Segoe UI\", Tahoma;\n font-weight: 800;\n text-transform: uppercase;\n position: absolute;\n}\n\n.layer:nth-child(1) {\n color: var(--c-1);\n animation: kfs-3412 0.5s infinite;\n}\n\n.layer:nth-child(2) {\n color: var(--c-2);\n animation: kfs-3412 0.5s 0.25s infinite;\n}\n\n@keyframes kfs-3412 {\n 0% {\n text-shadow: 0 0 30px var(--c-1);\n transform: scaleY(0);\n z-index: 2;\n }\n 50% {\n transform: scaleY(1.5);\n z-index: 2;\n }\n 100% {\n transform: scaleY(1.5);\n z-index: 0;\n }\n}", "file_path": "/mnt/persist/workspace/loaders/ayman-ashine_rare-otter-33.html" }, "uniapp": { "template": "<view class=\"loader\"></view>\n <view class=\"layer\">loading</view>\n <view class=\"layer\">loading</view>\n</div>", "script": "export default {\n name: 'GalaxyRareOtter33',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by ayman-ashine - Tags: loader, animated, multicolor */\n.loader {\n --c-1: #a2ff37;\n --c-2: #5bb2ff;\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.layer {\n font-size: 50rpx;\n font-family: \"Segoe UI\", Tahoma;\n font-weight: 800;\n text-transform: uppercase;\n position: absolute;\n}\n\n.layer:nth-child(1) {\n color: var(--c-1);\n animation: kfs-3412 0.5s infinite;\n}\n\n.layer:nth-child(2) {\n color: var(--c-2);\n animation: kfs-3412 0.5s 0.25s infinite;\n}\n\n@keyframes kfs-3412 {\n 0% {\n /* #ifdef H5 */\n text-shadow: 0 0 60rpx var(--c-1);\n /* #endif */\n transform: scaleY(0);\n z-index: 2;\n }\n 50% {\n transform: scaleY(1.5);\n z-index: 2;\n }\n 100% {\n transform: scaleY(1.5);\n z-index: 0;\n }\n}\n\n", "component_name": "GalaxyRareOtter33" }, "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": [ "不支持 text-shadow 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 text-shadow 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 857, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:41.002Z", "updated_at": "2025-07-31T07:55:41.002Z" }