UNPKG

galaxy-uniapp-mcp-server

Version:

Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成

91 lines 5.33 kB
{ "id": "shadowfax29_slippery-bullfrog-20", "name": "slippery-bullfrog-20", "category": "loaders", "author": "shadowfax29", "description": "slippery-bullfrog-20 组件 (circle loader, aesthetic, sharingon, animation)", "tags": [ "circle loader", "aesthetic", "sharingon", "animation" ], "original": { "html": "<div class=\"sharingon\">\n <div class=\"ring\">\n <div class=\"to\"></div>\n<div class=\"to\"></div>\n<div class=\"to\"></div>\n<div class=\"circle\"></div>\n</div>\n</div>", "css": "/* From Uiverse.io by shadowfax29 - Source: shadowfax29 - Tags: circle loader, aesthetic, sharingon */\n.sharingon {\n width: 6em;\n height: 6em;\n background-color: red;\n border: 6px solid black;\n animation: rot 1s ease-in-out infinite;\n}\n\n.ring {\n position: absolute;\n content: \"\";\n left: 50%;\n top: 50%;\n width: 3.5em;\n height: 3.5em;\n border: 4px solid rgb(110, 13 ,13 ,0.5);\n transform: translate(-50%,-50%);\n}\n\n.sharingon, .ring, .to,.circle {\n border-radius: 50%;\n}\n\n.to,.circle {\n position: absolute;\n content: \"\";\n width: 0.9em;\n height: 0.9em;\n background-color: black;\n}\n\n.to:nth-child(1) {\n top: -0.5em;\n left: 50%;\n transform: translate(-40%);\n}\n\n.to::before {\n content: \"\";\n position: absolute;\n top: -0.5em;\n right: -0.2em;\n width: 1.1em;\n height: 0.9em;\n box-sizing: border-box;\n border-left: 16px solid black;\n border-radius: 100% 0 0;\n}\n\n.to:nth-child(2) {\n bottom: 0.5em;\n left: -0.35em;\n transform: rotate(-120deg);\n}\n\n.to:nth-child(3) {\n bottom: 0.5em;\n right: -0.35em;\n transform: rotate(120deg);\n}\n\n.circle {\n top: 50%;\n left: 50%;\n transform: translate(-50%,-50%);\n box-shadow: 0 0 20px 1px;\n width: 1em;\n height: 1em;\n}\n\n@keyframes rot {\n 0% {\n transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n}", "file_path": "/mnt/persist/workspace/loaders/shadowfax29_slippery-bullfrog-20.html" }, "uniapp": { "template": "<view class=\"sharingon\"></view>\n <view class=\"ring\"></view>\n <view class=\"to\"></view>\n<view class=\"to\"></view>\n<view class=\"to\"></view>\n<view class=\"circle\"></view>\n</div>\n</div>", "script": "export default {\n name: 'GalaxySlipperyBullfrog20',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by shadowfax29 - Source: shadowfax29 - Tags: circle loader, aesthetic, sharingon */\n.sharingon {\n width: 6em;\n height: 6em;\n background-color: red;\n border: 12rpx solid black;\n animation: rot 1s ease-in-out infinite;\n}\n\n.ring {\n position: absolute;\n content: \"\";\n left: 50%;\n top: 50%;\n width: 3.5em;\n height: 3.5em;\n border: 8rpx solid rgb(110, 13 ,13 ,0.5);\n transform: translate(-50%,-50%);\n}\n\n.sharingon, .ring, .to,.circle {\n border-radius: 50%;\n}\n\n.to,.circle {\n position: absolute;\n content: \"\";\n width: 0.9em;\n height: 0.9em;\n background-color: black;\n}\n\n.to:nth-child(1) {\n top: -0.5em;\n left: 50%;\n transform: translate(-40%);\n}\n\n.to::before {\n content: \"\";\n position: absolute;\n top: -0.5em;\n right: -0.2em;\n width: 1.1em;\n height: 0.9em;\n box-sizing: border-box;\n border-left: 32rpx solid black;\n border-radius: 100% 0 0;\n}\n\n.to:nth-child(2) {\n bottom: 0.5em;\n left: -0.35em;\n transform: rotate(-120deg);\n}\n\n.to:nth-child(3) {\n bottom: 0.5em;\n right: -0.35em;\n transform: rotate(120deg);\n}\n\n.circle {\n top: 50%;\n left: 50%;\n transform: translate(-50%,-50%);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0 40rpx 2rpx;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n width: 1em;\n height: 1em;\n}\n\n@keyframes rot {\n 0% {\n transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n}\n", "component_name": "GalaxySlipperyBullfrog20" }, "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": 1449, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:42.654Z", "updated_at": "2025-07-31T07:55:42.654Z" }