galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
89 lines • 3.73 kB
JSON
{
"id": "JkHuger_strong-rat-28",
"name": "strong-rat-28",
"category": "loaders",
"author": "JkHuger",
"description": "strong-rat-28 组件 (loader, animation)",
"tags": [
"loader",
"animation"
],
"original": {
"html": "<div class=\"spinner\"></div>",
"css": "/* From Uiverse.io by JkHuger - Tags: loader */\n.spinner {\n box-shadow: 0 0 0 7px #42a5f5, inset 0 0 0 1px #42a5f5;\n position: relative;\n height: 50px;\n width: 230px;\n border-radius: 8px;\n overflow: hidden;\n animation: rotate_5132 6s linear infinite;\n}\n\n.spinner:before {\n display: block;\n content: \"\";\n position: absolute;\n left: 0;\n top: 0;\n height: 100%;\n background-color: #42a5f5;\n animation: load_5123 6s linear infinite;\n}\n\n@keyframes rotate_5132 {\n 0%,\n 42% {\n transform: rotate(0deg);\n }\n\n 48%,\n 92% {\n transform: rotate(180deg);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n}\n\n@keyframes load_5123 {\n 0% {\n width: 0;\n }\n\n 40%,\n 50% {\n width: 100%;\n }\n\n 90%,\n 100% {\n width: 0;\n }\n}",
"file_path": "/mnt/persist/workspace/loaders/JkHuger_strong-rat-28.html"
},
"uniapp": {
"template": "<view class=\"spinner\"></view>",
"script": "export default {\n name: 'GalaxyStrongRat28',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by JkHuger - Tags: loader */\n.spinner {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0 0 14rpx #42a5f5, inset 0 0 0 2rpx #42a5f5;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n position: relative;\n height: 100rpx;\n width: 460rpx;\n border-radius: 16rpx;\n overflow: hidden;\n animation: rotate_5132 6s linear infinite;\n}\n\n.spinner:before {\n display: block;\n content: \"\";\n position: absolute;\n left: 0;\n top: 0;\n height: 100%;\n background-color: #42a5f5;\n animation: load_5123 6s linear infinite;\n}\n\n@keyframes rotate_5132 {\n 0%,\n 42% {\n transform: rotate(0deg);\n }\n\n 48%,\n 92% {\n transform: rotate(180deg);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n}\n\n@keyframes load_5123 {\n 0% {\n width: 0;\n }\n\n 40%,\n 50% {\n width: 100%;\n }\n\n 90%,\n 100% {\n width: 0;\n }\n}\n\n",
"component_name": "GalaxyStrongRat28"
},
"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": 770,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:39.537Z",
"updated_at": "2025-07-31T07:55:39.537Z"
}