galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
85 lines • 4.07 kB
JSON
{
"id": "Shoh2008_calm-fish-83",
"name": "calm-fish-83",
"category": "loaders",
"author": "Shoh2008",
"description": "calm-fish-83 组件 (loader, animation)",
"tags": [
"loader",
"animation"
],
"original": {
"html": "<div class=\"loader\"></div>",
"css": "/* From Uiverse.io by Shoh2008 - Tags: loader */\n.loader {\n width: 48px;\n height: 48px;\n display: block;\n margin: 20px auto;\n box-sizing: border-box;\n position: relative;\n}\n\n.loader::after {\n content: '';\n width: 48px;\n height: 48px;\n left: 0;\n bottom: 0;\n position: absolute;\n border-radius: 50% 50% 0;\n border: 15px solid red;\n transform: rotate(45deg) translate(0, 0);\n box-sizing: border-box;\n animation: animMarker 0.4s ease-in-out infinite alternate;\n}\n\n.loader::before {\n content: '';\n box-sizing: border-box;\n position: absolute;\n left: 0;\n right: 0;\n margin: auto;\n top: 150%;\n width: 24px;\n height: 4px;\n border-radius: 50%;\n background: rgba(0, 0, 0, 0.2);\n animation: animShadow 0.4s ease-in-out infinite alternate;\n}\n\n@keyframes animMarker {\n 0% {\n transform: rotate(45deg) translate(5px, 5px);\n }\n\n 100% {\n transform: rotate(45deg) translate(-5px, -5px);\n }\n}\n\n@keyframes animShadow {\n 0% {\n transform: scale(0.5);\n }\n\n 100% {\n transform: scale(1);\n }\n}",
"file_path": "/mnt/persist/workspace/loaders/Shoh2008_calm-fish-83.html"
},
"uniapp": {
"template": "<view class=\"loader\"></view>",
"script": "export default {\n name: 'GalaxyCalmFish83',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by Shoh2008 - Tags: loader */\n.loader {\n width: 96rpx;\n height: 96rpx;\n display: block;\n margin: 40rpx auto;\n box-sizing: border-box;\n position: relative;\n}\n\n.loader::after {\n content: '';\n width: 96rpx;\n height: 96rpx;\n left: 0;\n bottom: 0;\n position: absolute;\n border-radius: 50% 50% 0;\n border: 30rpx solid red;\n transform: rotate(45deg) translate(0, 0);\n box-sizing: border-box;\n animation: animMarker 0.4s ease-in-out infinite alternate;\n}\n\n.loader::before {\n content: '';\n box-sizing: border-box;\n position: absolute;\n left: 0;\n right: 0;\n margin: auto;\n top: 150%;\n width: 48rpx;\n height: 8rpx;\n border-radius: 50%;\n background: rgba(0, 0, 0, 0.2);\n animation: animShadow 0.4s ease-in-out infinite alternate;\n}\n\n@keyframes animMarker {\n 0% {\n transform: rotate(45deg) translate(10rpx, 10rpx);\n }\n\n 100% {\n transform: rotate(45deg) translate(-10rpx, -10rpx);\n }\n}\n\n@keyframes animShadow {\n 0% {\n transform: scale(0.5);\n }\n\n 100% {\n transform: scale(1);\n }\n}\n \n",
"component_name": "GalaxyCalmFish83"
},
"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": 1051,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:40.325Z",
"updated_at": "2025-07-31T07:55:40.325Z"
}