galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
96 lines • 5.95 kB
JSON
{
"id": "asgardOP_sour-mayfly-20",
"name": "sour-mayfly-20",
"category": "loaders",
"author": "asgardOP",
"description": "sour-mayfly-20 组件 (animation, alert, notification, loading, loader, dark, wave, css, interactive)",
"tags": [
"animation",
"alert",
"notification",
"loading",
"loader",
"dark",
"wave",
"css",
"interactive"
],
"original": {
"html": "<div class=\"loader\">\n <svg viewBox=\"0 0 24 24\" fill=\"none\" height=\"24\" width=\"24\" xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\" class=\"w-6 h-6 text-gray-800 dark:text-white\">\n <path d=\"M12 5.365V3m0 2.365a5.338 5.338 0 0 1 5.133 5.368v1.8c0 2.386 1.867 2.982 1.867 4.175 0 .593 0 1.292-.538 1.292H5.538C5 18 5 17.301 5 16.708c0-1.193 1.867-1.789 1.867-4.175v-1.8A5.338 5.338 0 0 1 12 5.365ZM8.733 18c.094.852.306 1.54.944 2.112a3.48 3.48 0 0 0 4.646 0c.638-.572 1.236-1.26 1.33-2.112h-6.92Z\" stroke-width=\"2\" stroke-linejoin=\"round\" stroke-linecap=\"round\" stroke=\"currentColor\"></path>\n </svg>\n <div class=\"point\"></div>\n</div>",
"css": "/* From Uiverse.io by asgardOP - Tags: animation, alert, notification, loading, loader, dark, wave, css */\n.loader {\n width: fit-content;\n height: fit-content;\n background-color: rgb(58, 58, 58);\n border-radius: 7px;\n padding: 10px;\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n cursor: pointer;\n transition: 0.2s;\n}\n\n.loader:hover {\n background-color: rgb(26, 26, 26);\n}\n\n.loader:hover svg {\n color: white;\n}\n\n.loader svg {\n color: rgba(255, 255, 255, 0.651);\n transform: scale(1.2);\n transition: 0.2s;\n}\n\n.point {\n position: absolute;\n bottom: 5px;\n left: 5px;\n width: 6px;\n height: 6px;\n background-color: rgb(0, 255, 0);\n border-radius: 25px;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.point::before {\n content: \"\";\n position: absolute;\n width: 1px;\n height: 1px;\n background-color: rgb(0, 255, 0);\n border-radius: 25px;\n animation: loop 1s 0s infinite;\n}\n\n@keyframes loop {\n 0% {\n background-color: rgb(0, 255, 0);\n width: 1px;\n height: 1px;\n }\n 100% {\n background-color: rgba(0, 255, 0, 0);\n width: 30px;\n height: 30px;\n }\n}",
"file_path": "/mnt/persist/workspace/loaders/asgardOP_sour-mayfly-20.html"
},
"uniapp": {
"template": "<view class=\"loader\"></view>\n <view viewBox=\"0 0 24 24\" fill=\"none\" height=\"24\" width=\"24\" xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\" class=\"w-6 h-6 text-gray-800 dark:text-white\"></view>\n <path d=\"M12 5.365V3m0 2.365a5.338 5.338 0 0 1 5.133 5.368v1.8c0 2.386 1.867 2.982 1.867 4.175 0 .593 0 1.292-.538 1.292H5.538C5 18 5 17.301 5 16.708c0-1.193 1.867-1.789 1.867-4.175v-1.8A5.338 5.338 0 0 1 12 5.365ZM8.733 18c.094.852.306 1.54.944 2.112a3.48 3.48 0 0 0 4.646 0c.638-.572 1.236-1.26 1.33-2.112h-6.92Z\" stroke-width=\"2\" stroke-linejoin=\"round\" stroke-linecap=\"round\" stroke=\"currentColor\"></path>\n </svg>\n <view class=\"point\"></view>\n</div>",
"script": "export default {\n name: 'GalaxySourMayfly20',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by asgardOP - Tags: animation, alert, notification, loading, loader, dark, wave, css */\n.loader {\n width: fit-content;\n height: fit-content;\n background-color: rgb(58, 58, 58);\n border-radius: 14rpx;\n padding: 20rpx;\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n transition: 0.2s;\n}\n\n.loader:hover {\n background-color: rgb(26, 26, 26);\n}\n\n.loader:hover svg {\n color: white;\n}\n\n.loader svg {\n color: rgba(255, 255, 255, 0.651);\n transform: scale(1.2);\n transition: 0.2s;\n}\n\n.point {\n position: absolute;\n bottom: 10rpx;\n left: 10rpx;\n width: 12rpx;\n height: 12rpx;\n background-color: rgb(0, 255, 0);\n border-radius: 50rpx;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.point::before {\n content: \"\";\n position: absolute;\n width: 2rpx;\n height: 2rpx;\n background-color: rgb(0, 255, 0);\n border-radius: 50rpx;\n animation: loop 1s 0s infinite;\n}\n\n@keyframes loop {\n 0% {\n background-color: rgb(0, 255, 0);\n width: 2rpx;\n height: 2rpx;\n }\n 100% {\n background-color: rgba(0, 255, 0, 0);\n width: 60rpx;\n height: 60rpx;\n }\n}\n\n",
"component_name": "GalaxySourMayfly20"
},
"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": [
"不支持 cursor 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 cursor 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "medium",
"bundle_size": 1802,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:40.992Z",
"updated_at": "2025-07-31T07:55:40.992Z"
}