galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
88 lines • 3.54 kB
JSON
{
"id": "doniaskima_sharp-sheep-24",
"name": "sharp-sheep-24",
"category": "loaders",
"author": "doniaskima",
"description": "sharp-sheep-24 组件 (simple, material design, loader, animation, gradient)",
"tags": [
"simple",
"material design",
"loader",
"animation",
"gradient"
],
"original": {
"html": "<div class=\"loader\"></div>",
"css": "/* From Uiverse.io by doniaskima - Tags: simple, material design, loader */\n/* HTML: <div class=\"loader\"></div> */\n.loader {\n width: 60px;\n height: 30px;\n display: grid;\n --c: #0000 calc(100% - 5px),#000 calc(100% - 4px) 96%,#0000;\n background: radial-gradient(farthest-side at bottom,var(--c)) 0 0,\n radial-gradient(farthest-side at top ,var(--c)) 100% 100%;\n background-size: calc(50% + 2px) 50%;\n background-repeat: no-repeat;\n animation: l14 1.5s infinite linear;\n}\n\n.loader:before,\n.loader:after {\n content: \"\";\n grid-area: 1/1;\n background: inherit;\n animation: inherit;\n animation-duration: 2s;\n}\n\n.loader:after {\n --s: -1;\n}\n\n@keyframes l14 {\n 100% {\n transform: rotate(calc(var(--s,1)*1turn))\n }\n}",
"file_path": "/mnt/persist/workspace/loaders/doniaskima_sharp-sheep-24.html"
},
"uniapp": {
"template": "<view class=\"loader\"></view>",
"script": "export default {\n name: 'GalaxySharpSheep24',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by doniaskima - Tags: simple, material design, loader */\n/* HTML: <div class=\"loader\"></div> */\n.loader {\n width: 120rpx;\n height: 60rpx;\n display: grid;\n --c: #0000 calc(100% - 10rpx),#000 calc(100% - 8rpx) 96%,#0000;\n background: radial-gradient(farthest-side at bottom,var(--c)) 0 0,\n radial-gradient(farthest-side at top ,var(--c)) 100% 100%;\n background-size: calc(50% + 4rpx) 50%;\n background-repeat: no-repeat;\n animation: l14 1.5s infinite linear;\n}\n\n.loader:before,\n.loader:after {\n content: \"\";\n grid-area: 1/1;\n background: inherit;\n animation: inherit;\n animation-duration: 2s;\n}\n\n.loader:after {\n --s: -1;\n}\n\n@keyframes l14 {\n 100% {\n transform: rotate(calc(var(--s,1)*1turn))\n }\n}\n",
"component_name": "GalaxySharpSheep24"
},
"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": 760,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:41.313Z",
"updated_at": "2025-07-31T07:55:41.313Z"
}