galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
89 lines • 5.14 kB
JSON
{
"id": "fateself_tricky-crab-38",
"name": "tricky-crab-38",
"category": "loaders",
"author": "fateself",
"description": "tricky-crab-38 组件 (loader, animation)",
"tags": [
"loader",
"animation"
],
"original": {
"html": "<div class=\"loader\">\n <span style=\"--i:1\"></span>\n <span style=\"--i:2\"></span>\n <span style=\"--i:3\"></span>\n <span style=\"--i:4\"></span>\n <span style=\"--i:5\"></span>\n <span style=\"--i:6\"></span>\n <span style=\"--i:7\"></span>\n <span style=\"--i:8\"></span>\n <span style=\"--i:9\"></span>\n <span style=\"--i:10\"></span>\n <span style=\"--i:11\"></span>\n <span style=\"--i:12\"></span>\n <span style=\"--i:13\"></span>\n <span style=\"--i:14\"></span>\n <span style=\"--i:15\"></span>\n <span style=\"--i:16\"></span>\n <span style=\"--i:17\"></span>\n <span style=\"--i:18\"></span>\n <span style=\"--i:19\"></span>\n <span style=\"--i:20\"></span>\n</div>",
"css": "/* From Uiverse.io by fateself - Tags: loader */\n.loader {\n position: relative;\n width: 120px;\n height: 120px;\n}\n\n.loader span {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n transform: rotate(calc(18deg * var(--i)));\n}\n\n.loader span::before {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n width: 15px;\n height: 15px;\n border-radius: 50%;\n background: #00ff0a;\n box-shadow: 0 0 10px #00ff0a, 0 0 20px #00ff0a, 0 0 40px #00ff0a,\n 0 0 60px #00ff0a, 0 0 80px #00ff0a, 0 0 100px #00ff0a;\n animation: animate34 2s linear infinite;\n animation-delay: calc(0.1s * var(--i));\n}\n\n@keyframes animate34 {\n 0% {\n transform: scale(1);\n }\n\n 80%,\n 100% {\n transform: scale(0);\n }\n}",
"file_path": "/mnt/persist/workspace/loaders/fateself_tricky-crab-38.html"
},
"uniapp": {
"template": "<view class=\"loader\"></view>\n <text style=\"--i:1\"></text>\n <text style=\"--i:2\"></text>\n <text style=\"--i:3\"></text>\n <text style=\"--i:4\"></text>\n <text style=\"--i:5\"></text>\n <text style=\"--i:6\"></text>\n <text style=\"--i:7\"></text>\n <text style=\"--i:8\"></text>\n <text style=\"--i:9\"></text>\n <text style=\"--i:10\"></text>\n <text style=\"--i:11\"></text>\n <text style=\"--i:12\"></text>\n <text style=\"--i:13\"></text>\n <text style=\"--i:14\"></text>\n <text style=\"--i:15\"></text>\n <text style=\"--i:16\"></text>\n <text style=\"--i:17\"></text>\n <text style=\"--i:18\"></text>\n <text style=\"--i:19\"></text>\n <text style=\"--i:20\"></text>\n</div>",
"script": "export default {\n name: 'GalaxyTrickyCrab38',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by fateself - Tags: loader */\n.loader {\n position: relative;\n width: 240rpx;\n height: 240rpx;\n}\n\n.loader span {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n transform: rotate(calc(18deg * var(--i)));\n}\n\n.loader span::before {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n width: 30rpx;\n height: 30rpx;\n border-radius: 50%;\n background: #00ff0a;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0 20rpx #00ff0a, 0 0 40rpx #00ff0a, 0 0 80rpx #00ff0a,\n 0 0 120rpx #00ff0a, 0 0 160rpx #00ff0a, 0 0 200rpx #00ff0a;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n animation: animate34 2s linear infinite;\n animation-delay: calc(0.1s * var(--i));\n}\n\n@keyframes animate34 {\n 0% {\n transform: scale(1);\n }\n\n 80%,\n 100% {\n transform: scale(0);\n }\n}\n",
"component_name": "GalaxyTrickyCrab38"
},
"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": 1414,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:42.069Z",
"updated_at": "2025-07-31T07:55:42.069Z"
}