galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
89 lines • 5.45 kB
JSON
{
"id": "mrhyddenn_wise-fox-44",
"name": "wise-fox-44",
"category": "loaders",
"author": "mrhyddenn",
"description": "wise-fox-44 组件 (loader, animation)",
"tags": [
"loader",
"animation"
],
"original": {
"html": "<div class=\"loader\">\n <div class=\"face\">\n <div class=\"circle\"></div>\n </div>\n <div class=\"face\">\n <div class=\"circle\"></div>\n </div>\n</div>",
"css": "/* From Uiverse.io by mrhyddenn - Tags: loader */\n.loader {\n width: 6em;\n height: 6em;\n font-size: 10px;\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.loader .face {\n position: absolute;\n border-radius: 50%;\n border-style: solid;\n animation: animate023845 3s linear infinite;\n}\n\n.loader .face:nth-child(1) {\n width: 100%;\n height: 100%;\n color: gold;\n border-color: currentColor transparent transparent currentColor;\n border-width: 0.2em 0.2em 0em 0em;\n --deg: -45deg;\n animation-direction: normal;\n}\n\n.loader .face:nth-child(2) {\n width: 70%;\n height: 70%;\n color: lime;\n border-color: currentColor currentColor transparent transparent;\n border-width: 0.2em 0em 0em 0.2em;\n --deg: -135deg;\n animation-direction: reverse;\n}\n\n.loader .face .circle {\n position: absolute;\n width: 50%;\n height: 0.1em;\n top: 50%;\n left: 50%;\n background-color: transparent;\n transform: rotate(var(--deg));\n transform-origin: left;\n}\n\n.loader .face .circle::before {\n position: absolute;\n top: -0.5em;\n right: -0.5em;\n content: '';\n width: 1em;\n height: 1em;\n background-color: currentColor;\n border-radius: 50%;\n box-shadow: 0 0 2em,\n 0 0 4em,\n 0 0 6em,\n 0 0 8em,\n 0 0 10em,\n 0 0 0 0.5em rgba(255, 255, 0, 0.1);\n}\n\n@keyframes animate023845 {\n to {\n transform: rotate(1turn);\n }\n}",
"file_path": "/mnt/persist/workspace/loaders/mrhyddenn_wise-fox-44.html"
},
"uniapp": {
"template": "<view class=\"loader\"></view>\n <view class=\"face\"></view>\n <view class=\"circle\"></view>\n </div>\n <view class=\"face\"></view>\n <view class=\"circle\"></view>\n </div>\n</div>",
"script": "export default {\n name: 'GalaxyWiseFox44',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by mrhyddenn - Tags: loader */\n.loader {\n width: 6em;\n height: 6em;\n font-size: 20rpx;\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.loader .face {\n position: absolute;\n border-radius: 50%;\n border-style: solid;\n animation: animate023845 3s linear infinite;\n}\n\n.loader .face:nth-child(1) {\n width: 100%;\n height: 100%;\n color: gold;\n border-color: currentColor transparent transparent currentColor;\n border-width: 0.2em 0.2em 0em 0em;\n --deg: -45deg;\n animation-direction: normal;\n}\n\n.loader .face:nth-child(2) {\n width: 70%;\n height: 70%;\n color: lime;\n border-color: currentColor currentColor transparent transparent;\n border-width: 0.2em 0em 0em 0.2em;\n --deg: -135deg;\n animation-direction: reverse;\n}\n\n.loader .face .circle {\n position: absolute;\n width: 50%;\n height: 0.1em;\n top: 50%;\n left: 50%;\n background-color: transparent;\n transform: rotate(var(--deg));\n transform-origin: left;\n}\n\n.loader .face .circle::before {\n position: absolute;\n top: -0.5em;\n right: -0.5em;\n content: '';\n width: 1em;\n height: 1em;\n background-color: currentColor;\n border-radius: 50%;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0 2em,\n 0 0 4em,\n 0 0 6em,\n 0 0 8em,\n 0 0 10em,\n 0 0 0 0.5em rgba(255, 255, 0, 0.1);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n@keyframes animate023845 {\n to {\n transform: rotate(1turn);\n }\n}\n",
"component_name": "GalaxyWiseFox44"
},
"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": 1593,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:42.466Z",
"updated_at": "2025-07-31T07:55:42.466Z"
}