galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
86 lines • 6.38 kB
JSON
{
"id": "zanina-yassine_weak-bobcat-68",
"name": "weak-bobcat-68",
"category": "loaders",
"author": "zanina-yassine",
"description": "weak-bobcat-68 组件 (loader, animation, gradient)",
"tags": [
"loader",
"animation",
"gradient"
],
"original": {
"html": "<div class=\"container\">\n <div class=\"cloud front\">\n <span class=\"left-front\"></span>\n <span class=\"right-front\"></span>\n </div>\n <span class=\"sun sunshine\"></span>\n <span class=\"sun\"></span>\n <div class=\"cloud back\">\n <span class=\"left-back\"></span>\n <span class=\"right-back\"></span>\n </div>\n</div>",
"css": "/* From Uiverse.io by zanina-yassine - Tags: loader */\n.container {\n width: 250px;\n height: 250px;\n padding: 15px;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.cloud {\n width: 250px;\n}\n\n.front {\n padding-top: 45px;\n margin-left: 25px;\n display: inline;\n position: absolute;\n z-index: 11;\n animation: clouds 8s infinite;\n animation-timing-function: ease-in-out;\n}\n\n.back {\n margin-top: -30px;\n margin-left: 150px;\n z-index: 12;\n animation: clouds 12s infinite;\n animation-timing-function: ease-in-out;\n}\n\n.right-front {\n width: 45px;\n height: 45px;\n border-radius: 50% 50% 50% 0%;\n background-color: #4c9beb;\n display: inline-block;\n margin-left: -25px;\n z-index: 5;\n}\n\n.left-front {\n width: 65px;\n height: 65px;\n border-radius: 50% 50% 0% 50%;\n background-color: #4c9beb;\n display: inline-block;\n z-index: 5;\n}\n\n.right-back {\n width: 50px;\n height: 50px;\n border-radius: 50% 50% 50% 0%;\n background-color: #4c9beb;\n display: inline-block;\n margin-left: -20px;\n z-index: 5;\n}\n\n.left-back {\n width: 30px;\n height: 30px;\n border-radius: 50% 50% 0% 50%;\n background-color: #4c9beb;\n display: inline-block;\n z-index: 5;\n}\n\n.sun {\n width: 120px;\n height: 120px;\n background: -webkit-linear-gradient(to right, #fcbb04, #fffc00);\n background: linear-gradient(to right, #fcbb04, #fffc00);\n border-radius: 60px;\n display: inline;\n position: absolute;\n}\n\n.sunshine {\n animation: sunshines 2s infinite;\n}\n\n@keyframes sunshines {\n 0% {\n transform: scale(1);\n opacity: 0.6;\n }\n\n 100% {\n transform: scale(1.4);\n opacity: 0;\n }\n}\n\n@keyframes clouds {\n 0% {\n transform: translateX(15px);\n }\n\n 50% {\n transform: translateX(0px);\n }\n\n 100% {\n transform: translateX(15px);\n }\n}",
"file_path": "/mnt/persist/workspace/loaders/zanina-yassine_weak-bobcat-68.html"
},
"uniapp": {
"template": "<view class=\"container\"></view>\n <view class=\"cloud front\"></view>\n <text class=\"left-front\"></text>\n <text class=\"right-front\"></text>\n </div>\n <text class=\"sun sunshine\"></text>\n <text class=\"sun\"></text>\n <view class=\"cloud back\"></view>\n <text class=\"left-back\"></text>\n <text class=\"right-back\"></text>\n </div>\n</div>",
"script": "export default {\n name: 'GalaxyWeakBobcat68',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by zanina-yassine - Tags: loader */\n.container {\n width: 500rpx;\n height: 500rpx;\n padding: 30rpx;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.cloud {\n width: 500rpx;\n}\n\n.front {\n padding-top: 90rpx;\n margin-left: 50rpx;\n display: inline;\n position: absolute;\n z-index: 11;\n animation: clouds 8s infinite;\n animation-timing-function: ease-in-out;\n}\n\n.back {\n margin-top: -60rpx;\n margin-left: 300rpx;\n z-index: 12;\n animation: clouds 12s infinite;\n animation-timing-function: ease-in-out;\n}\n\n.right-front {\n width: 90rpx;\n height: 90rpx;\n border-radius: 50% 50% 50% 0%;\n background-color: #4c9beb;\n display: inline-block;\n margin-left: -50rpx;\n z-index: 5;\n}\n\n.left-front {\n width: 130rpx;\n height: 130rpx;\n border-radius: 50% 50% 0% 50%;\n background-color: #4c9beb;\n display: inline-block;\n z-index: 5;\n}\n\n.right-back {\n width: 100rpx;\n height: 100rpx;\n border-radius: 50% 50% 50% 0%;\n background-color: #4c9beb;\n display: inline-block;\n margin-left: -40rpx;\n z-index: 5;\n}\n\n.left-back {\n width: 60rpx;\n height: 60rpx;\n border-radius: 50% 50% 0% 50%;\n background-color: #4c9beb;\n display: inline-block;\n z-index: 5;\n}\n\n.sun {\n width: 240rpx;\n height: 240rpx;\n background: -webkit-linear-gradient(to right, #fcbb04, #fffc00);\n background: linear-gradient(to right, #fcbb04, #fffc00);\n border-radius: 120rpx;\n display: inline;\n position: absolute;\n}\n\n.sunshine {\n animation: sunshines 2s infinite;\n}\n\n@keyframes sunshines {\n 0% {\n transform: scale(1);\n opacity: 0.6;\n }\n\n 100% {\n transform: scale(1.4);\n opacity: 0;\n }\n}\n\n@keyframes clouds {\n 0% {\n transform: translateX(30rpx);\n }\n\n 50% {\n transform: translateX(0rpx);\n }\n\n 100% {\n transform: translateX(30rpx);\n }\n}\n\n",
"component_name": "GalaxyWeakBobcat68"
},
"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": 2085,
"render_cost": "high",
"memory_usage": "high"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:42.893Z",
"updated_at": "2025-07-31T07:55:42.893Z"
}