galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
90 lines • 5.18 kB
JSON
{
"id": "Akshdeep74644_friendly-turtle-73",
"name": "friendly-turtle-73",
"category": "loaders",
"author": "Akshdeep74644",
"description": "friendly-turtle-73 组件 (loader, animation, gradient)",
"tags": [
"loader",
"animation",
"gradient"
],
"original": {
"html": "<div class=\"loader\">\n <div class=\"box-1\">\n </div>\n <span>\n Loading.....\n </span>\n </div>",
"css": "/* From Uiverse.io by Akshdeep74644 - Tags: loader */\n.loader {\n position: relative;\n}\n\n.box-1 {\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n height: 150px;\n width: 150px;\n background-color: #FFFFFF;\n background-image: linear-gradient(135deg, #FFFFFF 0%, #6284FF 34%, #FF0000 100%);\n border-radius: 50%;\n animation: rotate 3s linear infinite;\n box-shadow: rgba(17, 17, 26, 0.1) 0px 1px 0px, rgba(17, 17, 26, 0.1) 0px 8px 24px, rgba(17, 17, 26, 0.1) 0px 16px 48px;\n}\n\n@keyframes rotate {\n 0% {\n transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n}\n\n.box-1::before {\n content: '';\n position: absolute;\n inset: 15px;\n background: #f5f5f5;\n border-radius: 50%;\n box-shadow: rgb(204, 219, 232) 3px 3px 6px 0px inset, rgba(255, 255, 255, 0.5) -3px -3px 6px 1px inset;\n}\n\n.loader span {\n text-align: center;\n position: absolute;\n top: 65px;\n left: 25px;\n color: black;\n font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;\n letter-spacing: 2px;\n font-weight: 800;\n font-size: 1rem;\n animation: text-animate412 3s linear infinite;\n}\n\n@keyframes text-animate412 {\n\n 10% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n}",
"file_path": "/mnt/persist/workspace/loaders/Akshdeep74644_friendly-turtle-73.html"
},
"uniapp": {
"template": "<view class=\"loader\"></view>\n <view class=\"box-1\"></view>\n </div>\n <text></text>\n Loading.....\n </span>\n </div>",
"script": "export default {\n name: 'GalaxyFriendlyTurtle73',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by Akshdeep74644 - Tags: loader */\n.loader {\n position: relative;\n}\n\n.box-1 {\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n height: 300rpx;\n width: 300rpx;\n background-color: #FFFFFF;\n background-image: linear-gradient(135deg, #FFFFFF 0%, #6284FF 34%, #FF0000 100%);\n border-radius: 50%;\n animation: rotate 3s linear infinite;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: rgba(17, 17, 26, 0.1) 0rpx 2rpx 0rpx, rgba(17, 17, 26, 0.1) 0rpx 16rpx 48rpx, rgba(17, 17, 26, 0.1) 0rpx 32rpx 96rpx;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n@keyframes rotate {\n 0% {\n transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n}\n\n.box-1::before {\n content: '';\n position: absolute;\n inset: 30rpx;\n background: #f5f5f5;\n border-radius: 50%;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: rgb(204, 219, 232) 6rpx 6rpx 12rpx 0rpx inset, rgba(255, 255, 255, 0.5) -6rpx -6rpx 12rpx 2rpx inset;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.loader span {\n text-align: center;\n position: absolute;\n top: 130rpx;\n left: 50rpx;\n color: black;\n font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;\n letter-spacing: 4rpx;\n font-weight: 800;\n font-size: 1rem;\n animation: text-animate412 3s linear infinite;\n}\n\n@keyframes text-animate412 {\n\n 10% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n}\n",
"component_name": "GalaxyFriendlyTurtle73"
},
"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": 1353,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:38.882Z",
"updated_at": "2025-07-31T07:55:38.882Z"
}