galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
91 lines • 3.47 kB
JSON
{
"id": "dhruv465_stupid-starfish-42",
"name": "stupid-starfish-42",
"category": "loaders",
"author": "dhruv465",
"description": "stupid-starfish-42 组件 (loader, animated, circle loader, animation)",
"tags": [
"loader",
"animated",
"circle loader",
"animation"
],
"original": {
"html": "<div class=\"loader\"></div>",
"css": "/* From Uiverse.io by dhruv465 - Tags: loader, animated, circle loader */\n.loader {\n border: 16px solid #f3f3f3;\n border-top: 16px solid #3498db;\n border-radius: 50%;\n width: 120px;\n height: 120px;\n animation: spin 2s linear infinite;\n}\n\n/* Add some glow effect */\n.loader::after {\n content: \"\";\n position: absolute;\n top: -5px;\n left: -5px;\n right: -5px;\n bottom: -5px;\n border-radius: 50%;\n box-shadow: inset 0px 0px 20px #3498db;\n}\n\n/* Rotate the circle */\n@keyframes spin {\n 0% {\n transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n}",
"file_path": "/mnt/persist/workspace/loaders/dhruv465_stupid-starfish-42.html"
},
"uniapp": {
"template": "<view class=\"loader\"></view>",
"script": "export default {\n name: 'GalaxyStupidStarfish42',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by dhruv465 - Tags: loader, animated, circle loader */\n.loader {\n border: 32rpx solid #f3f3f3;\n border-top: 32rpx solid #3498db;\n border-radius: 50%;\n width: 240rpx;\n height: 240rpx;\n animation: spin 2s linear infinite;\n}\n\n/* Add some glow effect */\n.loader::after {\n content: \"\";\n position: absolute;\n top: -10rpx;\n left: -10rpx;\n right: -10rpx;\n bottom: -10rpx;\n border-radius: 50%;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset 0rpx 0rpx 40rpx #3498db;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n/* Rotate the circle */\n@keyframes spin {\n 0% {\n transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n}\n",
"component_name": "GalaxyStupidStarfish42"
},
"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": 608,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:41.244Z",
"updated_at": "2025-07-31T07:55:41.244Z"
}