galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
91 lines • 10.1 kB
JSON
{
"id": "TemRevil_little-duck-0",
"name": "little-duck-0",
"category": "loaders",
"author": "TemRevil",
"description": "little-duck-0 组件 (simple, animation, blue, loading, loader, spinner, smooth, space)",
"tags": [
"simple",
"animation",
"blue",
"loading",
"loader",
"spinner",
"smooth",
"space"
],
"original": {
"html": "<div class=\"loading\">\n <div class=\"loading-wide\">\n <div class=\"l1 color\"></div>\n <div class=\"l2 color\"></div>\n <div class=\"e1 color animation-effect-light\"></div>\n <div class=\"e2 color animation-effect-light-d\"></div>\n <div class=\"e3 animation-effect-rot\">X</div>\n <div class=\"e4 color animation-effect-light\"></div>\n <div class=\"e5 color animation-effect-light-d\"></div>\n <div class=\"e6 animation-effect-scale\">*</div>\n <div class=\"e7 color\"></div>\n <div class=\"e8 color\"></div>\n </div>\n</div>",
"css": "/* From Uiverse.io by TemRevil - Tags: simple, animation, blue, loading, loader, spinner, smooth, space */\n.loading {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.loading-wide {\n width: 150px;\n height: 150px;\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n}\n.color {\n background-color: #3395ff;\n}\n\n.l1 {\n width: 15px;\n height: 65px;\n position: absolute;\n animation: move-h 1.2s infinite cubic-bezier(0.65, 0.05, 0.36, 1);\n}\n\n.l2 {\n width: 15px;\n height: 60px;\n position: absolute;\n transform: rotate(90deg);\n animation: move-v 1.2s infinite cubic-bezier(0.65, 0.05, 0.36, 1);\n}\n\n@keyframes move-h {\n 0% {\n top: 0;\n opacity: 0;\n }\n 25% {\n opacity: 1;\n }\n 50% {\n top: 30%;\n opacity: 1;\n }\n 75% {\n opacity: 1;\n }\n 100% {\n top: 100%;\n opacity: 0;\n }\n}\n@keyframes move-v {\n 0% {\n left: 0;\n opacity: 0;\n }\n 25% {\n opacity: 1;\n }\n 50% {\n left: 45%;\n opacity: 1;\n }\n 75% {\n opacity: 1;\n }\n 100% {\n left: 100%;\n opacity: 0;\n }\n}\n\n.animation-effect-light {\n animation: effect 0.2s 0.1s infinite linear;\n}\n.animation-effect-light-d {\n animation: effect 0.3s 0.2s infinite linear;\n}\n.animation-effect-rot {\n animation: rot 0.8s infinite cubic-bezier(0.65, 0.05, 0.36, 1);\n}\n.animation-effect-scale {\n animation: scale 0.8s infinite cubic-bezier(0.65, 0.05, 0.36, 1);\n}\n\n@keyframes effect {\n 0% {\n opacity: 0;\n }\n 50% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n }\n}\n@keyframes rot {\n 0% {\n transform: rotate(0deg);\n }\n 50% {\n transform: rotate(180deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n@keyframes scale {\n 0% {\n scale: 1;\n }\n 50% {\n scale: 1.9;\n }\n 100% {\n scale: 1;\n }\n}\n.e1 {\n width: 1px;\n height: 40px;\n opacity: 0.3;\n position: absolute;\n top: 0;\n left: 8%;\n}\n.e2 {\n width: 60px;\n height: 1px;\n opacity: 0.8;\n position: absolute;\n top: 8%;\n left: 0;\n}\n.e3 {\n position: absolute;\n top: 10%;\n left: 12%;\n font-family: \"Segoe UI\", Tahoma, Geneva, Verdana, sans-serif;\n font-weight: 900;\n font-size: 18px;\n color: #3395ff;\n}\n.e4 {\n width: 1px;\n height: 40px;\n opacity: 0.3;\n position: absolute;\n top: 90%;\n right: 10%;\n}\n.e5 {\n width: 40px;\n height: 1px;\n opacity: 0.3;\n position: absolute;\n top: 100%;\n right: 0;\n}\n.e6 {\n position: absolute;\n top: 100%;\n right: 0;\n font-family: \"Segoe UI\", Tahoma, Geneva, Verdana, sans-serif;\n font-size: 32px;\n color: #3395ff;\n}\n.e7 {\n width: 1px;\n height: 20px;\n position: absolute;\n bottom: 0;\n left: 0;\n transform: rotate(45deg);\n animation: height 1s infinite cubic-bezier(0.65, 0.05, 0.36, 1);\n}\n@keyframes height {\n 0% {\n bottom: 0%;\n left: 0%;\n height: 0px;\n }\n 25% {\n height: 90px;\n }\n 50% {\n bottom: 100%;\n left: 100%;\n height: 90px;\n }\n 75% {\n height: 0px;\n }\n 100% {\n bottom: 0%;\n left: 0%;\n height: 0px;\n }\n}\n.e8 {\n width: 20px;\n height: 1px;\n position: absolute;\n bottom: 50%;\n left: 0;\n animation: width 1.5s infinite cubic-bezier(0.65, 0.05, 0.36, 1);\n}\n@keyframes width {\n 0% {\n left: 0%;\n width: 0px;\n }\n 50% {\n left: 100%;\n width: 90px;\n }\n 100% {\n left: 0%;\n width: 0px;\n }\n}",
"file_path": "/mnt/persist/workspace/loaders/TemRevil_little-duck-0.html"
},
"uniapp": {
"template": "<view class=\"loading\"></view>\n <view class=\"loading-wide\"></view>\n <view class=\"l1 color\"></view>\n <view class=\"l2 color\"></view>\n <view class=\"e1 color animation-effect-light\"></view>\n <view class=\"e2 color animation-effect-light-d\"></view>\n <view class=\"e3 animation-effect-rot\">X</view>\n <view class=\"e4 color animation-effect-light\"></view>\n <view class=\"e5 color animation-effect-light-d\"></view>\n <view class=\"e6 animation-effect-scale\">*</view>\n <view class=\"e7 color\"></view>\n <view class=\"e8 color\"></view>\n </div>\n</div>",
"script": "export default {\n name: 'GalaxyLittleDuck0',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by TemRevil - Tags: simple, animation, blue, loading, loader, spinner, smooth, space */\n.loading {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.loading-wide {\n width: 300rpx;\n height: 300rpx;\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n}\n.color {\n background-color: #3395ff;\n}\n\n.l1 {\n width: 30rpx;\n height: 130rpx;\n position: absolute;\n animation: move-h 1.2s infinite cubic-bezier(0.65, 0.05, 0.36, 1);\n}\n\n.l2 {\n width: 30rpx;\n height: 120rpx;\n position: absolute;\n transform: rotate(90deg);\n animation: move-v 1.2s infinite cubic-bezier(0.65, 0.05, 0.36, 1);\n}\n\n@keyframes move-h {\n 0% {\n top: 0;\n opacity: 0;\n }\n 25% {\n opacity: 1;\n }\n 50% {\n top: 30%;\n opacity: 1;\n }\n 75% {\n opacity: 1;\n }\n 100% {\n top: 100%;\n opacity: 0;\n }\n}\n@keyframes move-v {\n 0% {\n left: 0;\n opacity: 0;\n }\n 25% {\n opacity: 1;\n }\n 50% {\n left: 45%;\n opacity: 1;\n }\n 75% {\n opacity: 1;\n }\n 100% {\n left: 100%;\n opacity: 0;\n }\n}\n\n.animation-effect-light {\n animation: effect 0.2s 0.1s infinite linear;\n}\n.animation-effect-light-d {\n animation: effect 0.3s 0.2s infinite linear;\n}\n.animation-effect-rot {\n animation: rot 0.8s infinite cubic-bezier(0.65, 0.05, 0.36, 1);\n}\n.animation-effect-scale {\n animation: scale 0.8s infinite cubic-bezier(0.65, 0.05, 0.36, 1);\n}\n\n@keyframes effect {\n 0% {\n opacity: 0;\n }\n 50% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n }\n}\n@keyframes rot {\n 0% {\n transform: rotate(0deg);\n }\n 50% {\n transform: rotate(180deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n@keyframes scale {\n 0% {\n scale: 1;\n }\n 50% {\n scale: 1.9;\n }\n 100% {\n scale: 1;\n }\n}\n.e1 {\n width: 2rpx;\n height: 80rpx;\n opacity: 0.3;\n position: absolute;\n top: 0;\n left: 8%;\n}\n.e2 {\n width: 120rpx;\n height: 2rpx;\n opacity: 0.8;\n position: absolute;\n top: 8%;\n left: 0;\n}\n.e3 {\n position: absolute;\n top: 10%;\n left: 12%;\n font-family: \"Segoe UI\", Tahoma, Geneva, Verdana, sans-serif;\n font-weight: 900;\n font-size: 36rpx;\n color: #3395ff;\n}\n.e4 {\n width: 2rpx;\n height: 80rpx;\n opacity: 0.3;\n position: absolute;\n top: 90%;\n right: 10%;\n}\n.e5 {\n width: 80rpx;\n height: 2rpx;\n opacity: 0.3;\n position: absolute;\n top: 100%;\n right: 0;\n}\n.e6 {\n position: absolute;\n top: 100%;\n right: 0;\n font-family: \"Segoe UI\", Tahoma, Geneva, Verdana, sans-serif;\n font-size: 64rpx;\n color: #3395ff;\n}\n.e7 {\n width: 2rpx;\n height: 40rpx;\n position: absolute;\n bottom: 0;\n left: 0;\n transform: rotate(45deg);\n animation: height 1s infinite cubic-bezier(0.65, 0.05, 0.36, 1);\n}\n@keyframes height {\n 0% {\n bottom: 0%;\n left: 0%;\n height: 0rpx;\n }\n 25% {\n height: 180rpx;\n }\n 50% {\n bottom: 100%;\n left: 100%;\n height: 180rpx;\n }\n 75% {\n height: 0rpx;\n }\n 100% {\n bottom: 0%;\n left: 0%;\n height: 0rpx;\n }\n}\n.e8 {\n width: 40rpx;\n height: 2rpx;\n position: absolute;\n bottom: 50%;\n left: 0;\n animation: width 1.5s infinite cubic-bezier(0.65, 0.05, 0.36, 1);\n}\n@keyframes width {\n 0% {\n left: 0%;\n width: 0rpx;\n }\n 50% {\n left: 100%;\n width: 180rpx;\n }\n 100% {\n left: 0%;\n width: 0rpx;\n }\n}\n\n",
"component_name": "GalaxyLittleDuck0"
},
"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": "high",
"bundle_size": 3775,
"render_cost": "high",
"memory_usage": "high"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:40.664Z",
"updated_at": "2025-07-31T07:55:40.664Z"
}