UNPKG

galaxy-uniapp-mcp-server

Version:

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

89 lines 4.47 kB
{ "id": "Gautammsharma_polite-bat-25", "name": "polite-bat-25", "category": "loaders", "author": "Gautammsharma", "description": "polite-bat-25 组件 (loader, animation)", "tags": [ "loader", "animation" ], "original": { "html": "<div class=\"loader-container\">\n <div class=\"loader\"></div>\n</div>", "css": "/* From Uiverse.io by Gautammsharma - Tags: loader */\n.loader-container {\n display: flex;\n justify-content: center;\n align-items: center;\n height: 20em;\n}\n\n.loader {\n position: relative;\n width: 3em;\n height: 3em;\n border-radius: 50%;\n background-color: rgb(208, 208, 208);\n box-shadow: 0 0em 4em rgba(23, 190, 250, 0.5);\n animation: loader-rotate 1s linear infinite;\n}\n\n.loader::before,\n.loader::after {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n border-radius: 50%;\n border: 1em solid rgba(0, 0, 0, 0.1);\n box-sizing: border-box;\n}\n\n.loader::before {\n animation: loader-pulse 1s ease-out infinite;\n}\n\n.loader::after {\n animation: loader-pulse 1s ease-out infinite 0.5s;\n}\n\n@keyframes loader-rotate {\n 0% {\n transform: rotate(0);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n}\n\n@keyframes loader-pulse {\n 0% {\n transform: scale(1);\n opacity: 1;\n }\n\n 50% {\n transform: scale(1.5);\n opacity: 0.5;\n }\n\n 100% {\n transform: scale(1);\n opacity: 1;\n }\n}", "file_path": "/mnt/persist/workspace/loaders/Gautammsharma_polite-bat-25.html" }, "uniapp": { "template": "<view class=\"loader-container\"></view>\n <view class=\"loader\"></view>\n</div>", "script": "export default {\n name: 'GalaxyPoliteBat25',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by Gautammsharma - Tags: loader */\n.loader-container {\n display: flex;\n justify-content: center;\n align-items: center;\n height: 20em;\n}\n\n.loader {\n position: relative;\n width: 3em;\n height: 3em;\n border-radius: 50%;\n background-color: rgb(208, 208, 208);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0em 4em rgba(23, 190, 250, 0.5);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n animation: loader-rotate 1s linear infinite;\n}\n\n.loader::before,\n.loader::after {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n border-radius: 50%;\n border: 1em solid rgba(0, 0, 0, 0.1);\n box-sizing: border-box;\n}\n\n.loader::before {\n animation: loader-pulse 1s ease-out infinite;\n}\n\n.loader::after {\n animation: loader-pulse 1s ease-out infinite 0.5s;\n}\n\n@keyframes loader-rotate {\n 0% {\n transform: rotate(0);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n}\n\n@keyframes loader-pulse {\n 0% {\n transform: scale(1);\n opacity: 1;\n }\n\n 50% {\n transform: scale(1.5);\n opacity: 0.5;\n }\n\n 100% {\n transform: scale(1);\n opacity: 1;\n }\n}\n\n", "component_name": "GalaxyPoliteBat25" }, "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": 1114, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:39.340Z", "updated_at": "2025-07-31T07:55:39.340Z" }