galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
91 lines • 5.15 kB
JSON
{
"id": "Nawsome_brave-turtle-26",
"name": "brave-turtle-26",
"category": "loaders",
"author": "Nawsome",
"description": "brave-turtle-26 组件 (loader, animation)",
"tags": [
"loader",
"animation"
],
"original": {
"html": "<section class=\"loader\">\n\n <div class=\"slider\" style=\"--i:0\">\n </div>\n <div class=\"slider\" style=\"--i:1\">\n </div>\n <div class=\"slider\" style=\"--i:2\">\n </div>\n <div class=\"slider\" style=\"--i:3\">\n </div>\n <div class=\"slider\" style=\"--i:4\">\n </div>\n </section>",
"css": "/* From Uiverse.io by Nawsome - Tags: loader */\n.loader {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-direction: row;\n}\n\n.slider {\n overflow: hidden;\n background-color: white;\n margin: 0 15px;\n height: 80px;\n width: 20px;\n border-radius: 30px;\n box-shadow: 15px 15px 20px rgba(0, 0, 0, 0.1), -15px -15px 30px #fff,\n inset -5px -5px 10px rgba(0, 0, 255, 0.1),\n inset 5px 5px 10px rgba(0, 0, 0, 0.1);\n position: relative;\n}\n\n.slider::before {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n height: 20px;\n width: 20px;\n border-radius: 100%;\n box-shadow: inset 0px 0px 0px rgba(0, 0, 0, 0.3), 0px 420px 0 400px #2697f3,\n inset 0px 0px 0px rgba(0, 0, 0, 0.1);\n animation: animate_2 2.5s ease-in-out infinite;\n animation-delay: calc(-0.5s * var(--i));\n}\n\n@keyframes animate_2 {\n 0% {\n transform: translateY(250px);\n filter: hue-rotate(0deg);\n }\n\n 50% {\n transform: translateY(0);\n }\n\n 100% {\n transform: translateY(250px);\n filter: hue-rotate(180deg);\n }\n}",
"file_path": "/mnt/persist/workspace/loaders/Nawsome_brave-turtle-26.html"
},
"uniapp": {
"template": "<view class=\"loader\"></view>\n\n <view class=\"slider\" style=\"--i:0\"></view>\n </div>\n <view class=\"slider\" style=\"--i:1\"></view>\n </div>\n <view class=\"slider\" style=\"--i:2\"></view>\n </div>\n <view class=\"slider\" style=\"--i:3\"></view>\n </div>\n <view class=\"slider\" style=\"--i:4\"></view>\n </div>\n </section>",
"script": "export default {\n name: 'GalaxyBraveTurtle26',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by Nawsome - Tags: loader */\n.loader {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-direction: row;\n}\n\n.slider {\n overflow: hidden;\n background-color: white;\n margin: 0 30rpx;\n height: 160rpx;\n width: 40rpx;\n border-radius: 60rpx;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 30rpx 30rpx 40rpx rgba(0, 0, 0, 0.1), -30rpx -30rpx 60rpx #fff,\n inset -10rpx -10rpx 20rpx rgba(0, 0, 255, 0.1),\n inset 10rpx 10rpx 20rpx rgba(0, 0, 0, 0.1);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n position: relative;\n}\n\n.slider::before {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n height: 40rpx;\n width: 40rpx;\n border-radius: 100%;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset 0rpx 0rpx 0rpx rgba(0, 0, 0, 0.3), 0rpx 840rpx 0 800rpx #2697f3,\n inset 0rpx 0rpx 0rpx rgba(0, 0, 0, 0.1);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n animation: animate_2 2.5s ease-in-out infinite;\n animation-delay: calc(-0.5s * var(--i));\n}\n\n@keyframes animate_2 {\n 0% {\n transform: translateY(500rpx);\n \n }\n\n 50% {\n transform: translateY(0);\n }\n\n 100% {\n transform: translateY(500rpx);\n \n }\n}\n\n",
"component_name": "GalaxyBraveTurtle26"
},
"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 属性",
"不支持 filter 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 box-shadow 属性",
"不支持 filter 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "medium",
"bundle_size": 1332,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:39.748Z",
"updated_at": "2025-07-31T07:55:39.748Z"
}