galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
87 lines • 3.83 kB
JSON
{
"id": "jeremyssocial_rude-shrimp-72",
"name": "rude-shrimp-72",
"category": "loaders",
"author": "jeremyssocial",
"description": "rude-shrimp-72 组件 (animation, white, loader, effect loader)",
"tags": [
"animation",
"white",
"loader",
"effect loader"
],
"original": {
"html": "<div class=\"milk-loader\">\n <div class=\"glass\">\n <div class=\"milk\"></div>\n </div>\n</div>",
"css": "/* From Uiverse.io by jeremyssocial - Tags: animation, white, loader, effect loader */\n.milk-loader {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 100%;\n}\n\n.glass {\n position: relative;\n width: 100px;\n height: 150px;\n background-color: transparent;\n border: 3px solid #666;\n border-radius: 10px 10px 35px 35px;\n overflow: hidden;\n}\n\n.milk {\n position: absolute;\n bottom: 0;\n width: 100%;\n height: 0;\n background-color: #fff;\n border-radius: 5px 5px 30px 30px;\n animation: fillMilk 2s ease-in-out infinite;\n}\n\n/* Keyframes to animate the milk in a non-uniform way, simulating a filling glass */\n@keyframes fillMilk {\n 0%,\n 100% {\n height: 10%;\n border-radius: 5px 5px 30px 30px;\n }\n 50% {\n height: 80%;\n border-radius: 25px;\n }\n}",
"file_path": "/mnt/persist/workspace/loaders/jeremyssocial_rude-shrimp-72.html"
},
"uniapp": {
"template": "<view class=\"milk-loader\"></view>\n <view class=\"glass\"></view>\n <view class=\"milk\"></view>\n </div>\n</div>",
"script": "export default {\n name: 'GalaxyRudeShrimp72',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by jeremyssocial - Tags: animation, white, loader, effect loader */\n.milk-loader {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 100%;\n}\n\n.glass {\n position: relative;\n width: 200rpx;\n height: 300rpx;\n background-color: transparent;\n border: 6rpx solid #666;\n border-radius: 20rpx 20rpx 70rpx 70rpx;\n overflow: hidden;\n}\n\n.milk {\n position: absolute;\n bottom: 0;\n width: 100%;\n height: 0;\n background-color: #fff;\n border-radius: 10rpx 10rpx 60rpx 60rpx;\n animation: fillMilk 2s ease-in-out infinite;\n}\n\n/* Keyframes to animate the milk in a non-uniform way, simulating a filling glass */\n@keyframes fillMilk {\n 0%,\n 100% {\n height: 10%;\n border-radius: 10rpx 10rpx 60rpx 60rpx;\n }\n 50% {\n height: 80%;\n border-radius: 50rpx;\n }\n}\n\n",
"component_name": "GalaxyRudeShrimp72"
},
"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": 894,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:42.268Z",
"updated_at": "2025-07-31T07:55:42.268Z"
}