galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
86 lines • 7.49 kB
JSON
{
"id": "Pradeepsaranbishnoi_dangerous-horse-50",
"name": "dangerous-horse-50",
"category": "loaders",
"author": "Pradeepsaranbishnoi",
"description": "dangerous-horse-50 组件 (loader, animation, gradient)",
"tags": [
"loader",
"animation",
"gradient"
],
"original": {
"html": "<div class=\"loader\">\n <div class=\"bar\"></div>\n <div class=\"bar\"></div>\n <div class=\"bar\"></div>\n <div class=\"bar\"></div>\n <div class=\"bar\"></div>\n <div class=\"bar\"></div>\n <div class=\"bar\"></div>\n <div class=\"bar\"></div>\n <div class=\"bar\"></div>\n <div class=\"bar\"></div>\n</div>\n\n<div class=\"loader loader--reflect\">\n <div class=\"bar\"></div>\n <div class=\"bar\"></div>\n <div class=\"bar\"></div>\n <div class=\"bar\"></div>\n <div class=\"bar\"></div>\n <div class=\"bar\"></div>\n <div class=\"bar\"></div>\n <div class=\"bar\"></div>\n <div class=\"bar\"></div>\n <div class=\"bar\"></div>\n</div>",
"css": "/* From Uiverse.io by Pradeepsaranbishnoi - Tags: loader */\n/* The loader container */\n.loader {\n position: absolute;\n top: 50%;\n left: 50%;\n width: 200px;\n height: 100px;\n margin-top: -100px;\n margin-left: -100px;\n perspective: 1000px;\n transform-style: preserv3d;\n}\n\n.loader--reflect {\n margin-top: 0;\n}\n\n.loader--reflect:after {\n content: '';\n position: absolute;\n top: 0;\n left: -25%;\n width: 150%;\n height: 110%;\n background: linear-gradient(0deg, rgba(238, 238, 238, 1), rgba(238, 238, 238, 1) 20%, rgba(238, 238, 238, 0.3));\n}\n\n\n/* The bar */\n.bar {\n position: absolute;\n bottom: 0;\n left: 0;\n width: 20px;\n height: 100px;\n background-color: #1e3f57;\n transform: scaleY(0);\n transform-style: preserve3d;\n animation: bar 3s cubic-bezier(.81,.04,.4,.7) infinite;\n}\n\n.bar:nth-child(2) {\n left: 20px;\n background-color: #264a63;\n animation-delay: 50ms;\n}\n\n.bar:nth-child(3) {\n left: 40px;\n background-color: #2d566f;\n animation-delay: 100ms;\n}\n\n.bar:nth-child(4) {\n left: 60px;\n background-color: #35617a;\n animation-delay: 150ms;\n}\n\n.bar:nth-child(5) {\n left: 80px;\n background-color: #3d6d86;\n animation-delay: 200ms;\n}\n\n.bar:nth-child(6) {\n left: 100px;\n background-color: #447892;\n animation-delay: 250ms;\n}\n\n.bar:nth-child(7) {\n left: 120px;\n background-color: #4c849e;\n animation-delay: 300ms;\n}\n\n.bar:nth-child(8) {\n left: 140px;\n background-color: #548fa9;\n animation-delay: 350ms;\n}\n\n.bar:nth-child(9) {\n left: 160px;\n background-color: #5c9bb5;\n animation-delay: 400ms;\n}\n\n.bar:nth-child(10) {\n left: 180px;\n background-color: #63a6c1;\n animation-delay: 450ms;\n}\n\n.loader--reflect .bar {\n animation-name: bar-reflect;\n}\n\n@keyframes bar {\n 0% {\n transform: rotateZ(-180deg) rotateX(-360deg);\n }\n\n 75%,100% {\n transform: rotateZ(0) rotateX(0);\n }\n}\n\n@keyframes bar-reflect {\n 0% {\n transform: rotateZ(180deg) rotateX(360deg);\n }\n\n 75%,100% {\n transform: rotateZ(0) rotateX(0);\n }\n}",
"file_path": "/mnt/persist/workspace/loaders/Pradeepsaranbishnoi_dangerous-horse-50.html"
},
"uniapp": {
"template": "<view class=\"loader\"></view>\n <view class=\"bar\"></view>\n <view class=\"bar\"></view>\n <view class=\"bar\"></view>\n <view class=\"bar\"></view>\n <view class=\"bar\"></view>\n <view class=\"bar\"></view>\n <view class=\"bar\"></view>\n <view class=\"bar\"></view>\n <view class=\"bar\"></view>\n <view class=\"bar\"></view>\n</div>\n\n<view class=\"loader loader--reflect\"></view>\n <view class=\"bar\"></view>\n <view class=\"bar\"></view>\n <view class=\"bar\"></view>\n <view class=\"bar\"></view>\n <view class=\"bar\"></view>\n <view class=\"bar\"></view>\n <view class=\"bar\"></view>\n <view class=\"bar\"></view>\n <view class=\"bar\"></view>\n <view class=\"bar\"></view>\n</div>",
"script": "export default {\n name: 'GalaxyDangerousHorse50',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by Pradeepsaranbishnoi - Tags: loader */\n/* The loader container */\n.loader {\n position: absolute;\n top: 50%;\n left: 50%;\n width: 400rpx;\n height: 200rpx;\n margin-top: -200rpx;\n margin-left: -200rpx;\n perspective: 2000rpx;\n transform-style: preserv3d;\n}\n\n.loader--reflect {\n margin-top: 0;\n}\n\n.loader--reflect:after {\n content: '';\n position: absolute;\n top: 0;\n left: -25%;\n width: 150%;\n height: 110%;\n background: linear-gradient(0deg, rgba(238, 238, 238, 1), rgba(238, 238, 238, 1) 20%, rgba(238, 238, 238, 0.3));\n}\n\n\n/* The bar */\n.bar {\n position: absolute;\n bottom: 0;\n left: 0;\n width: 40rpx;\n height: 200rpx;\n background-color: #1e3f57;\n transform: scaleY(0);\n transform-style: preserve3d;\n animation: bar 3s cubic-bezier(.81,.04,.4,.7) infinite;\n}\n\n.bar:nth-child(2) {\n left: 40rpx;\n background-color: #264a63;\n animation-delay: 50ms;\n}\n\n.bar:nth-child(3) {\n left: 80rpx;\n background-color: #2d566f;\n animation-delay: 100ms;\n}\n\n.bar:nth-child(4) {\n left: 120rpx;\n background-color: #35617a;\n animation-delay: 150ms;\n}\n\n.bar:nth-child(5) {\n left: 160rpx;\n background-color: #3d6d86;\n animation-delay: 200ms;\n}\n\n.bar:nth-child(6) {\n left: 200rpx;\n background-color: #447892;\n animation-delay: 250ms;\n}\n\n.bar:nth-child(7) {\n left: 240rpx;\n background-color: #4c849e;\n animation-delay: 300ms;\n}\n\n.bar:nth-child(8) {\n left: 280rpx;\n background-color: #548fa9;\n animation-delay: 350ms;\n}\n\n.bar:nth-child(9) {\n left: 320rpx;\n background-color: #5c9bb5;\n animation-delay: 400ms;\n}\n\n.bar:nth-child(10) {\n left: 360rpx;\n background-color: #63a6c1;\n animation-delay: 450ms;\n}\n\n.loader--reflect .bar {\n animation-name: bar-reflect;\n}\n\n@keyframes bar {\n 0% {\n transform: rotateZ(-180deg) rotateX(-360deg);\n }\n\n 75%,100% {\n transform: rotateZ(0) rotateX(0);\n }\n}\n\n@keyframes bar-reflect {\n 0% {\n transform: rotateZ(180deg) rotateX(360deg);\n }\n\n 75%,100% {\n transform: rotateZ(0) rotateX(0);\n }\n}\n",
"component_name": "GalaxyDangerousHorse50"
},
"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": 2562,
"render_cost": "high",
"memory_usage": "high"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:40.053Z",
"updated_at": "2025-07-31T07:55:40.053Z"
}