galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
89 lines • 4.16 kB
JSON
{
"id": "Shoh2008_nervous-lizard-11",
"name": "nervous-lizard-11",
"category": "loaders",
"author": "Shoh2008",
"description": "nervous-lizard-11 组件 (loader, animation)",
"tags": [
"loader",
"animation"
],
"original": {
"html": "<div class=\"loader\"></div>",
"css": "/* From Uiverse.io by Shoh2008 - Tags: loader */\n.loader {\n width: 48px;\n height: 48px;\n background: #353535;\n display: block;\n margin: 20px auto;\n position: relative;\n box-sizing: border-box;\n animation: rotationBack 1s ease-in-out infinite reverse;\n}\n\n.loader::before {\n content: '';\n box-sizing: border-box;\n left: 0;\n top: 0;\n transform: rotate(45deg);\n position: absolute;\n width: 48px;\n height: 48px;\n background: #2e2e2e;\n box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);\n}\n\n.loader::after {\n content: '';\n box-sizing: border-box;\n width: 32px;\n height: 32px;\n border-radius: 50%;\n position: absolute;\n left: 50%;\n top: 50%;\n background: rgb(0, 0, 0);\n transform: translate(-50%, -50%);\n box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);\n}\n\n@keyframes rotationBack {\n 0% {\n transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(-360deg);\n }\n}",
"file_path": "/mnt/persist/workspace/loaders/Shoh2008_nervous-lizard-11.html"
},
"uniapp": {
"template": "<view class=\"loader\"></view>",
"script": "export default {\n name: 'GalaxyNervousLizard11',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by Shoh2008 - Tags: loader */\n.loader {\n width: 96rpx;\n height: 96rpx;\n background: #353535;\n display: block;\n margin: 40rpx auto;\n position: relative;\n box-sizing: border-box;\n animation: rotationBack 1s ease-in-out infinite reverse;\n}\n\n.loader::before {\n content: '';\n box-sizing: border-box;\n left: 0;\n top: 0;\n transform: rotate(45deg);\n position: absolute;\n width: 96rpx;\n height: 96rpx;\n background: #2e2e2e;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0 10rpx rgba(0, 0, 0, 0.15);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.loader::after {\n content: '';\n box-sizing: border-box;\n width: 64rpx;\n height: 64rpx;\n border-radius: 50%;\n position: absolute;\n left: 50%;\n top: 50%;\n background: rgb(0, 0, 0);\n transform: translate(-50%, -50%);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0 10rpx rgba(0, 0, 0, 0.15);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n@keyframes rotationBack {\n 0% {\n transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(-360deg);\n }\n}\n",
"component_name": "GalaxyNervousLizard11"
},
"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": 903,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:40.396Z",
"updated_at": "2025-07-31T07:55:40.396Z"
}