galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
89 lines • 6.33 kB
JSON
{
"id": "ClawHack1_witty-ladybug-78",
"name": "witty-ladybug-78",
"category": "loaders",
"author": "ClawHack1",
"description": "witty-ladybug-78 组件 (loader, animation)",
"tags": [
"loader",
"animation"
],
"original": {
"html": "<div class=\"loader\">\n <div class=\"loader-inner\">\n <div class=\"loader-block\"></div>\n <div class=\"loader-block\"></div>\n <div class=\"loader-block\"></div>\n <div class=\"loader-block\"></div>\n <div class=\"loader-block\"></div>\n <div class=\"loader-block\"></div>\n <div class=\"loader-block\"></div>\n <div class=\"loader-block\"></div>\n </div>\n</div>",
"css": "/* From Uiverse.io by ClawHack1 - Tags: loader */\n.loader {\n display: flex;\n justify-content: center;\n align-items: center;\n width: 80px;\n height: 80px;\n position: relative;\n}\n\n.loader:before {\n content: \"\";\n position: absolute;\n top: -10px;\n left: -10px;\n right: -10px;\n bottom: -10px;\n border-radius: 50%;\n}\n\n.loader-inner {\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n}\n\n.loader-block {\n display: inline-block;\n width: 10px;\n height: 10px;\n margin: 2px;\n background-color: #fff;\n box-shadow: 0 0 20px #fff;\n animation: loader_562 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;\n}\n\n.loader-block:nth-child(1) {\n animation-delay: 0.1s;\n}\n\n.loader-block:nth-child(2) {\n animation-delay: 0.2s;\n}\n\n.loader-block:nth-child(3) {\n animation-delay: 0.3s;\n}\n\n.loader-block:nth-child(4) {\n animation-delay: 0.4s;\n}\n\n.loader-block:nth-child(5) {\n animation-delay: 0.5s;\n}\n\n.loader-block:nth-child(6) {\n animation-delay: 0.6s;\n}\n\n.loader-block:nth-child(7) {\n animation-delay: 0.7s;\n}\n\n.loader-block:nth-child(8) {\n animation-delay: 0.8s;\n}\n\n@keyframes loader_562 {\n 0% {\n transform: scale(1);\n box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);\n }\n\n 20% {\n transform: scale(1, 2.5);\n box-shadow: 0 0 50px rgba(255, 255, 255, 0.7);\n }\n\n 40% {\n transform: scale(1);\n box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);\n }\n}",
"file_path": "/mnt/persist/workspace/loaders/ClawHack1_witty-ladybug-78.html"
},
"uniapp": {
"template": "<view class=\"loader\"></view>\n <view class=\"loader-inner\"></view>\n <view class=\"loader-block\"></view>\n <view class=\"loader-block\"></view>\n <view class=\"loader-block\"></view>\n <view class=\"loader-block\"></view>\n <view class=\"loader-block\"></view>\n <view class=\"loader-block\"></view>\n <view class=\"loader-block\"></view>\n <view class=\"loader-block\"></view>\n </div>\n</div>",
"script": "export default {\n name: 'GalaxyWittyLadybug78',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by ClawHack1 - Tags: loader */\n.loader {\n display: flex;\n justify-content: center;\n align-items: center;\n width: 160rpx;\n height: 160rpx;\n position: relative;\n}\n\n.loader:before {\n content: \"\";\n position: absolute;\n top: -20rpx;\n left: -20rpx;\n right: -20rpx;\n bottom: -20rpx;\n border-radius: 50%;\n}\n\n.loader-inner {\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n}\n\n.loader-block {\n display: inline-block;\n width: 20rpx;\n height: 20rpx;\n margin: 4rpx;\n background-color: #fff;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0 40rpx #fff;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n animation: loader_562 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;\n}\n\n.loader-block:nth-child(1) {\n animation-delay: 0.1s;\n}\n\n.loader-block:nth-child(2) {\n animation-delay: 0.2s;\n}\n\n.loader-block:nth-child(3) {\n animation-delay: 0.3s;\n}\n\n.loader-block:nth-child(4) {\n animation-delay: 0.4s;\n}\n\n.loader-block:nth-child(5) {\n animation-delay: 0.5s;\n}\n\n.loader-block:nth-child(6) {\n animation-delay: 0.6s;\n}\n\n.loader-block:nth-child(7) {\n animation-delay: 0.7s;\n}\n\n.loader-block:nth-child(8) {\n animation-delay: 0.8s;\n}\n\n@keyframes loader_562 {\n 0% {\n transform: scale(1);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0 40rpx rgba(255, 255, 255, 0.5);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n }\n\n 20% {\n transform: scale(1, 2.5);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0 100rpx rgba(255, 255, 255, 0.7);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n }\n\n 40% {\n transform: scale(1);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0 40rpx rgba(255, 255, 255, 0.5);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n }\n}\n\n",
"component_name": "GalaxyWittyLadybug78"
},
"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 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 box-shadow 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "medium",
"bundle_size": 1763,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:39.086Z",
"updated_at": "2025-07-31T07:55:39.086Z"
}