galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
89 lines • 3.59 kB
JSON
{
"id": "Shoh2008_bad-lionfish-99",
"name": "bad-lionfish-99",
"category": "loaders",
"author": "Shoh2008",
"description": "bad-lionfish-99 组件 (loader, animation)",
"tags": [
"loader",
"animation"
],
"original": {
"html": "<div class=\"loader\"></div>",
"css": "/* From Uiverse.io by Shoh2008 - Tags: loader */\n.loader {\n width: 150px;\n height: 150px;\n border-radius: 50%;\n position: relative;\n box-shadow: 0 0 30px 4px rgba(0, 0, 0, 0.5) inset,\n 0 5px 12px rgba(0, 0, 0, 0.15);\n overflow: hidden;\n}\n\n.loader:before,\n .loader:after {\n content: \"\";\n position: absolute;\n width: 100%;\n height: 100%;\n border-radius: 45%;\n top: -40%;\n background-color: #2e2e2e;\n animation: wave 5s linear infinite;\n}\n\n.loader:before {\n border-radius: 30%;\n background: rgba(122, 122, 122, 0.4);\n animation: wave 5s linear infinite;\n}\n\n@keyframes wave {\n 0% {\n transform: rotate(0);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n}",
"file_path": "/mnt/persist/workspace/loaders/Shoh2008_bad-lionfish-99.html"
},
"uniapp": {
"template": "<view class=\"loader\"></view>",
"script": "export default {\n name: 'GalaxyBadLionfish99',\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: 300rpx;\n height: 300rpx;\n border-radius: 50%;\n position: relative;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0 60rpx 8rpx rgba(0, 0, 0, 0.5) inset,\n 0 10rpx 24rpx 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 overflow: hidden;\n}\n\n.loader:before,\n .loader:after {\n content: \"\";\n position: absolute;\n width: 100%;\n height: 100%;\n border-radius: 45%;\n top: -40%;\n background-color: #2e2e2e;\n animation: wave 5s linear infinite;\n}\n\n.loader:before {\n border-radius: 30%;\n background: rgba(122, 122, 122, 0.4);\n animation: wave 5s linear infinite;\n}\n\n@keyframes wave {\n 0% {\n transform: rotate(0);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n}\n",
"component_name": "GalaxyBadLionfish99"
},
"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": 708,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:40.310Z",
"updated_at": "2025-07-31T07:55:40.310Z"
}