galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
93 lines • 4.62 kB
JSON
{
"id": "vikramsinghnegi_smooth-lionfish-6",
"name": "smooth-lionfish-6",
"category": "loaders",
"author": "vikramsinghnegi",
"description": "smooth-lionfish-6 组件 (animation, loader, factory, gradient)",
"tags": [
"animation",
"loader",
"factory",
"gradient"
],
"original": {
"html": "<div class=\"loader\"></div>",
"css": "/* From Uiverse.io by vikramsinghnegi - Tags: animation, loader, factory */\n/* HTML: <div class=\"loader\"></div> */\n.loader {\n width: 90px;\n height: 14px;\n box-shadow: 0 3px 0 #c74d4d;\n position: relative;\n clip-path: inset(-40px 0 -5px);\n}\n.loader:before {\n content: \"\";\n position: absolute;\n inset: auto calc(50% - 17px) 0;\n height: 50px;\n --g: no-repeat linear-gradient(#d2d3e0 0 0);\n background: var(--g), var(--g), var(--g), var(--g);\n background-size: 16px 14px;\n animation: l7-1 2s infinite linear, l7-2 2s infinite linear;\n}\n@keyframes l7-1 {\n 0%,\n 100% {\n background-position: 0 -50px, 100% -50px;\n }\n 17.5% {\n background-position: 0 100%, 100% -50px, 0 -50px, 100% -50px;\n }\n 35% {\n background-position: 0 100%, 100% 100%, 0 -50px, 100% -50px;\n }\n 52.5% {\n background-position: 0 100%, 100% 100%, 0 calc(100% - 16px), 100% -50px;\n }\n 70%,\n 98% {\n background-position: 0 100%, 100% 100%, 0 calc(100% - 16px),\n 100% calc(100% - 16px);\n }\n}\n@keyframes l7-2 {\n 0%,\n 70% {\n transform: translate(0);\n }\n 100% {\n transform: translate(200%);\n }\n}",
"file_path": "/mnt/persist/workspace/loaders/vikramsinghnegi_smooth-lionfish-6.html"
},
"uniapp": {
"template": "<view class=\"loader\"></view>",
"script": "export default {\n name: 'GalaxySmoothLionfish6',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by vikramsinghnegi - Tags: animation, loader, factory */\n/* HTML: <div class=\"loader\"></div> */\n.loader {\n width: 180rpx;\n height: 28rpx;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 6rpx 0 #c74d4d;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n position: relative;\n \n}\n.loader:before {\n content: \"\";\n position: absolute;\n inset: auto calc(50% - 34rpx) 0;\n height: 100rpx;\n --g: no-repeat linear-gradient(#d2d3e0 0 0);\n background: var(--g), var(--g), var(--g), var(--g);\n background-size: 32rpx 28rpx;\n animation: l7-1 2s infinite linear, l7-2 2s infinite linear;\n}\n@keyframes l7-1 {\n 0%,\n 100% {\n background-position: 0 -100rpx, 100% -100rpx;\n }\n 17.5% {\n background-position: 0 100%, 100% -100rpx, 0 -100rpx, 100% -100rpx;\n }\n 35% {\n background-position: 0 100%, 100% 100%, 0 -100rpx, 100% -100rpx;\n }\n 52.5% {\n background-position: 0 100%, 100% 100%, 0 calc(100% - 32rpx), 100% -100rpx;\n }\n 70%,\n 98% {\n background-position: 0 100%, 100% 100%, 0 calc(100% - 32rpx),\n 100% calc(100% - 32rpx);\n }\n}\n@keyframes l7-2 {\n 0%,\n 70% {\n transform: translate(0);\n }\n 100% {\n transform: translate(200%);\n }\n}\n\n",
"component_name": "GalaxySmoothLionfish6"
},
"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 属性",
"不支持 clip-path 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 box-shadow 属性",
"不支持 clip-path 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "medium",
"bundle_size": 1140,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:42.750Z",
"updated_at": "2025-07-31T07:55:42.750Z"
}