UNPKG

galaxy-uniapp-mcp-server

Version:

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

89 lines 2.93 kB
{ "id": "Sendung_average-firefox-33", "name": "average-firefox-33", "category": "loaders", "author": "Sendung", "description": "average-firefox-33 组件 (loader, animation)", "tags": [ "loader", "animation" ], "original": { "html": "<div class=\"spinner\"></div>", "css": "/* From Uiverse.io by Sendung - Tags: loader */\n.spinner {\n --s: 9px;\n width: 56px;\n height: 56px;\n background: #e73535;\n border-radius: 20%;\n animation: spinner-ehcge9 1.5s infinite linear;\n clip-path: polygon(0 0,calc(50% - var(--s)) 0,50% var(--s),calc(50% + var(--s)) 0,100% 0,100% calc(50% - var(--s)),calc(100% - var(--s)) 50%,100% calc(50% + var(--s)),100% 100%,calc(50% + var(--s)) 100%, 50% calc(100% - var(--s)),calc(50% - var(--s)) 100%,0 100%,0 calc(50% + var(--s)), var(--s) 50%, 0 calc(50% - var(--s)));\n}\n\n@keyframes spinner-ehcge9 {\n 100% {\n transform: rotate(1turn);\n }\n}", "file_path": "/mnt/persist/workspace/loaders/Sendung_average-firefox-33.html" }, "uniapp": { "template": "<view class=\"spinner\"></view>", "script": "export default {\n name: 'GalaxyAverageFirefox33',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by Sendung - Tags: loader */\n.spinner {\n --s: 18rpx;\n width: 112rpx;\n height: 112rpx;\n background: #e73535;\n border-radius: 20%;\n animation: spinner-ehcge9 1.5s infinite linear;\n \n}\n\n@keyframes spinner-ehcge9 {\n 100% {\n transform: rotate(1turn);\n }\n}\n", "component_name": "GalaxyAverageFirefox33" }, "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": [ "不支持 clip-path 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 clip-path 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 631, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:40.293Z", "updated_at": "2025-07-31T07:55:40.293Z" }