UNPKG

galaxy-uniapp-mcp-server

Version:

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

89 lines 4.95 kB
{ "id": "Markoslc_gentle-termite-56", "name": "gentle-termite-56", "category": "loaders", "author": "Markoslc", "description": "gentle-termite-56 组件 (loader, animation)", "tags": [ "loader", "animation" ], "original": { "html": "<div class=\"loader\">\n <div class=\"item1\"></div>\n <div class=\"item2\"></div>\n <div class=\"item3\"></div>\n</div>", "css": "/* From Uiverse.io by Markoslc - Tags: loader */\n.item1, .item2, .item3 {\n position: absolute;\n background-color: transparent;\n left: calc(50% - (var(--size) / 2));\n top: calc(50% - (var(--size) / 2));\n height: var(--size);\n width: var(--size);\n border-radius: 50%;\n}\n\n.loader .item1 {\n --size: 90px;\n animation: size1_1 2.5s infinite alternate;\n z-index: 1;\n}\n\n.loader .item2 {\n --size: 60px;\n animation: size1_2 2.5s infinite alternate;\n z-index: 2;\n}\n\n.loader .item3 {\n --size: 30px;\n animation: size1_3 2.5s infinite alternate;\n z-index: 3;\n}\n\n@keyframes size1_1 {\n 0%,\n 10% {\n transform: scale(0);\n }\n\n 100% {\n transform: scale(1);\n box-shadow: 8px 8px 14px #c5c5c5, -8px -8px 14px #ffffff;\n }\n}\n\n@keyframes size1_2 {\n 0%,\n 40% {\n transform: scale(0);\n }\n\n 100% {\n transform: scale(1);\n box-shadow: 8px 8px 14px #c5c5c5, -8px -8px 14px #ffffff;\n }\n}\n\n@keyframes size1_3 {\n 0%,\n 70% {\n transform: scale(0);\n }\n\n 100% {\n transform: scale(1);\n box-shadow: 8px 8px 14px #c5c5c5, -8px -8px 14px #ffffff;\n }\n}", "file_path": "/mnt/persist/workspace/loaders/Markoslc_gentle-termite-56.html" }, "uniapp": { "template": "<view class=\"loader\"></view>\n <view class=\"item1\"></view>\n <view class=\"item2\"></view>\n <view class=\"item3\"></view>\n</div>", "script": "export default {\n name: 'GalaxyGentleTermite56',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by Markoslc - Tags: loader */\n.item1, .item2, .item3 {\n position: absolute;\n background-color: transparent;\n left: calc(50% - (var(--size) / 2));\n top: calc(50% - (var(--size) / 2));\n height: var(--size);\n width: var(--size);\n border-radius: 50%;\n}\n\n.loader .item1 {\n --size: 180rpx;\n animation: size1_1 2.5s infinite alternate;\n z-index: 1;\n}\n\n.loader .item2 {\n --size: 120rpx;\n animation: size1_2 2.5s infinite alternate;\n z-index: 2;\n}\n\n.loader .item3 {\n --size: 60rpx;\n animation: size1_3 2.5s infinite alternate;\n z-index: 3;\n}\n\n@keyframes size1_1 {\n 0%,\n 10% {\n transform: scale(0);\n }\n\n 100% {\n transform: scale(1);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 16rpx 16rpx 28rpx #c5c5c5, -16rpx -16rpx 28rpx #ffffff;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n }\n}\n\n@keyframes size1_2 {\n 0%,\n 40% {\n transform: scale(0);\n }\n\n 100% {\n transform: scale(1);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 16rpx 16rpx 28rpx #c5c5c5, -16rpx -16rpx 28rpx #ffffff;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n }\n}\n\n@keyframes size1_3 {\n 0%,\n 70% {\n transform: scale(0);\n }\n\n 100% {\n transform: scale(1);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 16rpx 16rpx 28rpx #c5c5c5, -16rpx -16rpx 28rpx #ffffff;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n }\n}\n", "component_name": "GalaxyGentleTermite56" }, "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": 1181, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:39.666Z", "updated_at": "2025-07-31T07:55:39.666Z" }