UNPKG

galaxy-uniapp-mcp-server

Version:

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

85 lines 5 kB
{ "id": "G4b413l_soft-jellyfish-12", "name": "soft-jellyfish-12", "category": "loaders", "author": "G4b413l", "description": "soft-jellyfish-12 组件 (loader, animation)", "tags": [ "loader", "animation" ], "original": { "html": "<div class=\"pinwheel\">\n <div class=\"pinwheel__line\"></div>\n <div class=\"pinwheel__line\"></div>\n <div class=\"pinwheel__line\"></div>\n <div class=\"pinwheel__line\"></div>\n <div class=\"pinwheel__line\"></div>\n <div class=\"pinwheel__line\"></div>\n</div>", "css": "/* From Uiverse.io by G4b413l - Tags: loader */\n.pinwheel {\n --uib-size: 45px;\n --uib-speed: 0.8s;\n --uib-color: #312f2b;\n --uib-line-weight: 4px;\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n height: var(--uib-size);\n width: var(--uib-size);\n}\n\n.pinwheel__line {\n position: absolute;\n top: calc(50% - var(--uib-line-weight) / 2);\n left: 0;\n height: var(--uib-line-weight);\n width: 100%;\n border-radius: calc(var(--uib-line-weight) / 2);\n background-color: var(--uib-color);\n animation: rotate81232 var(--uib-speed) ease-in-out infinite;\n}\n\n.pinwheel__line:nth-child(2) {\n animation-delay: calc(var(--uib-speed) * 0.075);\n opacity: 0.8;\n}\n\n.pinwheel__line:nth-child(3) {\n animation-delay: calc(var(--uib-speed) * 0.15);\n opacity: 0.6;\n}\n\n.pinwheel__line:nth-child(4) {\n animation-delay: calc(var(--uib-speed) * 0.225);\n opacity: 0.4;\n}\n\n.pinwheel__line:nth-child(5) {\n animation-delay: calc(var(--uib-speed) * 0.3);\n opacity: 0.2;\n}\n\n.pinwheel__line:nth-child(6) {\n animation-delay: calc(var(--uib-speed) * 0.375);\n opacity: 0.1;\n}\n\n@keyframes rotate81232 {\n 0% {\n transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(180deg);\n }\n}", "file_path": "/mnt/persist/workspace/loaders/G4b413l_soft-jellyfish-12.html" }, "uniapp": { "template": "<view class=\"pinwheel\"></view>\n <view class=\"pinwheel__line\"></view>\n <view class=\"pinwheel__line\"></view>\n <view class=\"pinwheel__line\"></view>\n <view class=\"pinwheel__line\"></view>\n <view class=\"pinwheel__line\"></view>\n <view class=\"pinwheel__line\"></view>\n</div>", "script": "export default {\n name: 'GalaxySoftJellyfish12',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by G4b413l - Tags: loader */\n.pinwheel {\n --uib-size: 90rpx;\n --uib-speed: 0.8s;\n --uib-color: #312f2b;\n --uib-line-weight: 8rpx;\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n height: var(--uib-size);\n width: var(--uib-size);\n}\n\n.pinwheel__line {\n position: absolute;\n top: calc(50% - var(--uib-line-weight) / 2);\n left: 0;\n height: var(--uib-line-weight);\n width: 100%;\n border-radius: calc(var(--uib-line-weight) / 2);\n background-color: var(--uib-color);\n animation: rotate81232 var(--uib-speed) ease-in-out infinite;\n}\n\n.pinwheel__line:nth-child(2) {\n animation-delay: calc(var(--uib-speed) * 0.075);\n opacity: 0.8;\n}\n\n.pinwheel__line:nth-child(3) {\n animation-delay: calc(var(--uib-speed) * 0.15);\n opacity: 0.6;\n}\n\n.pinwheel__line:nth-child(4) {\n animation-delay: calc(var(--uib-speed) * 0.225);\n opacity: 0.4;\n}\n\n.pinwheel__line:nth-child(5) {\n animation-delay: calc(var(--uib-speed) * 0.3);\n opacity: 0.2;\n}\n\n.pinwheel__line:nth-child(6) {\n animation-delay: calc(var(--uib-speed) * 0.375);\n opacity: 0.1;\n}\n\n@keyframes rotate81232 {\n 0% {\n transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(180deg);\n }\n}\n\n", "component_name": "GalaxySoftJellyfish12" }, "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": [], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 1480, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:39.315Z", "updated_at": "2025-07-31T07:55:39.315Z" }