UNPKG

galaxy-uniapp-mcp-server

Version:

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

86 lines 3.06 kB
{ "id": "bernethe_purple-snail-8", "name": "purple-snail-8", "category": "loaders", "author": "bernethe", "description": "purple-snail-8 组件 (loader, animation, gradient)", "tags": [ "loader", "animation", "gradient" ], "original": { "html": "<div class=\"loader\"></div>", "css": "/* From Uiverse.io by bernethe - Tags: loader */\n.loader {\n clear: both;\n margin: 1rem auto;\n width: 3.125rem;\n height: 1.125rem;\n border: 1px #000 solid;\n border-radius: 4px;\n background: linear-gradient(-60deg, transparent 0%, transparent 50%, #000 50%, #000 75%, transparent 75%, transparent);\n background-size: 20px 30px;\n background-position: 0px 0px;\n animation: spLoadBar 0.8s infinite linear;\n}\n\n@keyframes spLoadBar {\n from {\n background-position: 0px 0px;\n }\n\n to {\n background-position: -20px 0px;\n }\n}", "file_path": "/mnt/persist/workspace/loaders/bernethe_purple-snail-8.html" }, "uniapp": { "template": "<view class=\"loader\"></view>", "script": "export default {\n name: 'GalaxyPurpleSnail8',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by bernethe - Tags: loader */\n.loader {\n clear: both;\n margin: 1rem auto;\n width: 3.125rem;\n height: 1.125rem;\n border: 2rpx #000 solid;\n border-radius: 8rpx;\n background: linear-gradient(-60deg, transparent 0%, transparent 50%, #000 50%, #000 75%, transparent 75%, transparent);\n background-size: 40rpx 60rpx;\n background-position: 0rpx 0rpx;\n animation: spLoadBar 0.8s infinite linear;\n}\n\n@keyframes spLoadBar {\n from {\n background-position: 0rpx 0rpx;\n }\n\n to {\n background-position: -40rpx 0rpx;\n }\n}\n", "component_name": "GalaxyPurpleSnail8" }, "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": 563, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:41.037Z", "updated_at": "2025-07-31T07:55:41.037Z" }