UNPKG

galaxy-uniapp-mcp-server

Version:

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

91 lines 14.1 kB
{ "id": "isfan4ik_fuzzy-badger-100", "name": "fuzzy-badger-100", "category": "loaders", "author": "isfan4ik", "description": "fuzzy-badger-100 组件 (material design, animation, login, loader)", "tags": [ "material design", "animation", "login", "loader" ], "original": { "html": "<div class=\"loader\">\n <div class=\"container\">\n <div class=\"coffee-header\">\n <div class=\"coffee-header__buttons coffee-header__button-one\"></div>\n <div class=\"coffee-header__buttons coffee-header__button-two\"></div>\n <div class=\"coffee-header__display\"></div>\n <div class=\"coffee-header__details\"></div>\n </div>\n <div class=\"coffee-medium\">\n <div class=\"coffe-medium__exit\"></div>\n <div class=\"coffee-medium__arm\"></div>\n <div class=\"coffee-medium__liquid\"></div>\n <div class=\"coffee-medium__smoke coffee-medium__smoke-one\"></div>\n <div class=\"coffee-medium__smoke coffee-medium__smoke-two\"></div>\n <div class=\"coffee-medium__smoke coffee-medium__smoke-three\"></div>\n <div class=\"coffee-medium__smoke coffee-medium__smoke-for\"></div>\n <div class=\"coffee-medium__cup\"></div>\n </div>\n <div class=\"coffee-footer\"></div>\n </div>\n </div>", "css": "/* From Uiverse.io by isfan4ik - Tags: material design, animation, login, loader */\n.loader {\n}\n\n.container {\n width: 300px;\n height: 280px;\n position: absolute;\n top: calc(50% - 140px);\n left: calc(50% - 150px);\n}\n\n.coffee-header {\n width: 100%;\n height: 80px;\n position: absolute;\n top: 0;\n left: 0;\n background-color: #ddcfcc;\n border-radius: 10px;\n}\n\n.coffee-header__buttons {\n width: 25px;\n height: 25px;\n position: absolute;\n top: 25px;\n background-color: #282323;\n border-radius: 50%;\n}\n\n.coffee-header__buttons::after {\n content: \"\";\n width: 8px;\n height: 8px;\n position: absolute;\n bottom: -8px;\n left: calc(50% - 4px);\n background-color: #615e5e;\n}\n\n.coffee-header__button-one {\n left: 15px;\n}\n\n.coffee-header__button-two {\n left: 50px;\n}\n\n.coffee-header__display {\n width: 50px;\n height: 50px;\n position: absolute;\n top: calc(50% - 25px);\n left: calc(50% - 25px);\n border-radius: 50%;\n background-color: #9acfc5;\n border: 5px solid #43beae;\n box-sizing: border-box;\n}\n\n.coffee-header__details {\n width: 8px;\n height: 20px;\n position: absolute;\n top: 10px;\n right: 10px;\n background-color: #9b9091;\n box-shadow: -12px 0 0 #9b9091, -24px 0 0 #9b9091;\n}\n\n.coffee-medium {\n width: 90%;\n height: 160px;\n position: absolute;\n top: 80px;\n left: calc(50% - 45%);\n background-color: #bcb0af;\n}\n\n.coffee-medium:before {\n content: \"\";\n width: 90%;\n height: 100px;\n background-color: #776f6e;\n position: absolute;\n bottom: 0;\n left: calc(50% - 45%);\n border-radius: 20px 20px 0 0;\n}\n\n.coffe-medium__exit {\n width: 60px;\n height: 20px;\n position: absolute;\n top: 0;\n left: calc(50% - 30px);\n background-color: #231f20;\n}\n\n.coffe-medium__exit::before {\n content: \"\";\n width: 50px;\n height: 20px;\n border-radius: 0 0 50% 50%;\n position: absolute;\n bottom: -20px;\n left: calc(50% - 25px);\n background-color: #231f20;\n}\n\n.coffe-medium__exit::after {\n content: \"\";\n width: 10px;\n height: 10px;\n position: absolute;\n bottom: -30px;\n left: calc(50% - 5px);\n background-color: #231f20;\n}\n\n.coffee-medium__arm {\n width: 70px;\n height: 20px;\n position: absolute;\n top: 15px;\n right: 25px;\n background-color: #231f20;\n}\n\n.coffee-medium__arm::before {\n content: \"\";\n width: 15px;\n height: 5px;\n position: absolute;\n top: 7px;\n left: -15px;\n background-color: #9e9495;\n}\n\n.coffee-medium__cup {\n width: 80px;\n height: 47px;\n position: absolute;\n bottom: 0;\n left: calc(50% - 40px);\n background-color: #FFF;\n border-radius: 0 0 70px 70px / 0 0 110px 110px;\n}\n\n.coffee-medium__cup::after {\n content: \"\";\n width: 20px;\n height: 20px;\n position: absolute;\n top: 6px;\n right: -13px;\n border: 5px solid #FFF;\n border-radius: 50%;\n}\n\n@keyframes liquid {\n 0% {\n height: 0px;\n opacity: 1;\n }\n\n 5% {\n height: 0px;\n opacity: 1;\n }\n\n 20% {\n height: 62px;\n opacity: 1;\n }\n\n 95% {\n height: 62px;\n opacity: 1;\n }\n\n 100% {\n height: 62px;\n opacity: 0;\n }\n}\n\n.coffee-medium__liquid {\n width: 6px;\n height: 63px;\n opacity: 0;\n position: absolute;\n top: 50px;\n left: calc(50% - 3px);\n background-color: #74372b;\n animation: liquid 4s 4s linear infinite;\n}\n\n.coffee-medium__smoke {\n width: 8px;\n height: 20px;\n position: absolute;\n border-radius: 5px;\n background-color: #b3aeae;\n}\n\n@keyframes smokeOne {\n 0% {\n bottom: 20px;\n opacity: 0;\n }\n\n 40% {\n bottom: 50px;\n opacity: .5;\n }\n\n 80% {\n bottom: 80px;\n opacity: .3;\n }\n\n 100% {\n bottom: 80px;\n opacity: 0;\n }\n}\n\n@keyframes smokeTwo {\n 0% {\n bottom: 40px;\n opacity: 0;\n }\n\n 40% {\n bottom: 70px;\n opacity: .5;\n }\n\n 80% {\n bottom: 80px;\n opacity: .3;\n }\n\n 100% {\n bottom: 80px;\n opacity: 0;\n }\n}\n\n.coffee-medium__smoke-one {\n opacity: 0;\n bottom: 50px;\n left: 102px;\n animation: smokeOne 3s 4s linear infinite;\n}\n\n.coffee-medium__smoke-two {\n opacity: 0;\n bottom: 70px;\n left: 118px;\n animation: smokeTwo 3s 5s linear infinite;\n}\n\n.coffee-medium__smoke-three {\n opacity: 0;\n bottom: 65px;\n right: 118px;\n animation: smokeTwo 3s 6s linear infinite;\n}\n\n.coffee-medium__smoke-for {\n opacity: 0;\n bottom: 50px;\n right: 102px;\n animation: smokeOne 3s 5s linear infinite;\n}\n\n.coffee-footer {\n width: 95%;\n height: 15px;\n position: absolute;\n bottom: 25px;\n left: calc(50% - 47.5%);\n background-color: #41bdad;\n border-radius: 10px;\n}\n\n.coffee-footer::after {\n content: \"\";\n width: 106%;\n height: 26px;\n position: absolute;\n bottom: -25px;\n left: -8px;\n background-color: #000;\n}\n \n}", "file_path": "/mnt/persist/workspace/loaders/isfan4ik_fuzzy-badger-100.html" }, "uniapp": { "template": "<view class=\"loader\"></view>\n <view class=\"container\"></view>\n <view class=\"coffee-header\"></view>\n <view class=\"coffee-header__buttons coffee-header__button-one\"></view>\n <view class=\"coffee-header__buttons coffee-header__button-two\"></view>\n <view class=\"coffee-header__display\"></view>\n <view class=\"coffee-header__details\"></view>\n </div>\n <view class=\"coffee-medium\"></view>\n <view class=\"coffe-medium__exit\"></view>\n <view class=\"coffee-medium__arm\"></view>\n <view class=\"coffee-medium__liquid\"></view>\n <view class=\"coffee-medium__smoke coffee-medium__smoke-one\"></view>\n <view class=\"coffee-medium__smoke coffee-medium__smoke-two\"></view>\n <view class=\"coffee-medium__smoke coffee-medium__smoke-three\"></view>\n <view class=\"coffee-medium__smoke coffee-medium__smoke-for\"></view>\n <view class=\"coffee-medium__cup\"></view>\n </div>\n <view class=\"coffee-footer\"></view>\n </div>\n </div>", "script": "export default {\n name: 'GalaxyFuzzyBadger100',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by isfan4ik - Tags: material design, animation, login, loader */\n.loader {\n}\n\n.container {\n width: 600rpx;\n height: 560rpx;\n position: absolute;\n top: calc(50% - 280rpx);\n left: calc(50% - 300rpx);\n}\n\n.coffee-header {\n width: 100%;\n height: 160rpx;\n position: absolute;\n top: 0;\n left: 0;\n background-color: #ddcfcc;\n border-radius: 20rpx;\n}\n\n.coffee-header__buttons {\n width: 50rpx;\n height: 50rpx;\n position: absolute;\n top: 50rpx;\n background-color: #282323;\n border-radius: 50%;\n}\n\n.coffee-header__buttons::after {\n content: \"\";\n width: 16rpx;\n height: 16rpx;\n position: absolute;\n bottom: -16rpx;\n left: calc(50% - 8rpx);\n background-color: #615e5e;\n}\n\n.coffee-header__button-one {\n left: 30rpx;\n}\n\n.coffee-header__button-two {\n left: 100rpx;\n}\n\n.coffee-header__display {\n width: 100rpx;\n height: 100rpx;\n position: absolute;\n top: calc(50% - 50rpx);\n left: calc(50% - 50rpx);\n border-radius: 50%;\n background-color: #9acfc5;\n border: 10rpx solid #43beae;\n box-sizing: border-box;\n}\n\n.coffee-header__details {\n width: 16rpx;\n height: 40rpx;\n position: absolute;\n top: 20rpx;\n right: 20rpx;\n background-color: #9b9091;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: -24rpx 0 0 #9b9091, -48rpx 0 0 #9b9091;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.coffee-medium {\n width: 90%;\n height: 320rpx;\n position: absolute;\n top: 160rpx;\n left: calc(50% - 45%);\n background-color: #bcb0af;\n}\n\n.coffee-medium:before {\n content: \"\";\n width: 90%;\n height: 200rpx;\n background-color: #776f6e;\n position: absolute;\n bottom: 0;\n left: calc(50% - 45%);\n border-radius: 40rpx 40rpx 0 0;\n}\n\n.coffe-medium__exit {\n width: 120rpx;\n height: 40rpx;\n position: absolute;\n top: 0;\n left: calc(50% - 60rpx);\n background-color: #231f20;\n}\n\n.coffe-medium__exit::before {\n content: \"\";\n width: 100rpx;\n height: 40rpx;\n border-radius: 0 0 50% 50%;\n position: absolute;\n bottom: -40rpx;\n left: calc(50% - 50rpx);\n background-color: #231f20;\n}\n\n.coffe-medium__exit::after {\n content: \"\";\n width: 20rpx;\n height: 20rpx;\n position: absolute;\n bottom: -60rpx;\n left: calc(50% - 10rpx);\n background-color: #231f20;\n}\n\n.coffee-medium__arm {\n width: 140rpx;\n height: 40rpx;\n position: absolute;\n top: 30rpx;\n right: 50rpx;\n background-color: #231f20;\n}\n\n.coffee-medium__arm::before {\n content: \"\";\n width: 30rpx;\n height: 10rpx;\n position: absolute;\n top: 14rpx;\n left: -30rpx;\n background-color: #9e9495;\n}\n\n.coffee-medium__cup {\n width: 160rpx;\n height: 94rpx;\n position: absolute;\n bottom: 0;\n left: calc(50% - 80rpx);\n background-color: #FFF;\n border-radius: 0 0 140rpx 140rpx / 0 0 220rpx 220rpx;\n}\n\n.coffee-medium__cup::after {\n content: \"\";\n width: 40rpx;\n height: 40rpx;\n position: absolute;\n top: 12rpx;\n right: -26rpx;\n border: 10rpx solid #FFF;\n border-radius: 50%;\n}\n\n@keyframes liquid {\n 0% {\n height: 0rpx;\n opacity: 1;\n }\n\n 5% {\n height: 0rpx;\n opacity: 1;\n }\n\n 20% {\n height: 124rpx;\n opacity: 1;\n }\n\n 95% {\n height: 124rpx;\n opacity: 1;\n }\n\n 100% {\n height: 124rpx;\n opacity: 0;\n }\n}\n\n.coffee-medium__liquid {\n width: 12rpx;\n height: 126rpx;\n opacity: 0;\n position: absolute;\n top: 100rpx;\n left: calc(50% - 6rpx);\n background-color: #74372b;\n animation: liquid 4s 4s linear infinite;\n}\n\n.coffee-medium__smoke {\n width: 16rpx;\n height: 40rpx;\n position: absolute;\n border-radius: 10rpx;\n background-color: #b3aeae;\n}\n\n@keyframes smokeOne {\n 0% {\n bottom: 40rpx;\n opacity: 0;\n }\n\n 40% {\n bottom: 100rpx;\n opacity: .5;\n }\n\n 80% {\n bottom: 160rpx;\n opacity: .3;\n }\n\n 100% {\n bottom: 160rpx;\n opacity: 0;\n }\n}\n\n@keyframes smokeTwo {\n 0% {\n bottom: 80rpx;\n opacity: 0;\n }\n\n 40% {\n bottom: 140rpx;\n opacity: .5;\n }\n\n 80% {\n bottom: 160rpx;\n opacity: .3;\n }\n\n 100% {\n bottom: 160rpx;\n opacity: 0;\n }\n}\n\n.coffee-medium__smoke-one {\n opacity: 0;\n bottom: 100rpx;\n left: 204rpx;\n animation: smokeOne 3s 4s linear infinite;\n}\n\n.coffee-medium__smoke-two {\n opacity: 0;\n bottom: 140rpx;\n left: 236rpx;\n animation: smokeTwo 3s 5s linear infinite;\n}\n\n.coffee-medium__smoke-three {\n opacity: 0;\n bottom: 130rpx;\n right: 236rpx;\n animation: smokeTwo 3s 6s linear infinite;\n}\n\n.coffee-medium__smoke-for {\n opacity: 0;\n bottom: 100rpx;\n right: 204rpx;\n animation: smokeOne 3s 5s linear infinite;\n}\n\n.coffee-footer {\n width: 95%;\n height: 30rpx;\n position: absolute;\n bottom: 50rpx;\n left: calc(50% - 47.5%);\n background-color: #41bdad;\n border-radius: 20rpx;\n}\n\n.coffee-footer::after {\n content: \"\";\n width: 106%;\n height: 52rpx;\n position: absolute;\n bottom: -50rpx;\n left: -16rpx;\n background-color: #000;\n}\n \n}\n", "component_name": "GalaxyFuzzyBadger100" }, "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": "high", "bundle_size": 5498, "render_cost": "high", "memory_usage": "high" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:42.228Z", "updated_at": "2025-07-31T07:55:42.228Z" }