UNPKG

galaxy-uniapp-mcp-server

Version:

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

90 lines 8.03 kB
{ "id": "youranonone10_young-otter-44", "name": "young-otter-44", "category": "loaders", "author": "youranonone10", "description": "young-otter-44 组件 (animation, minimalist, loader)", "tags": [ "animation", "minimalist", "loader" ], "original": { "html": "<div class=\"wrapper\">\n <div class=\"cloud\">\n <div class=\"cloud_left\"></div>\n <div class=\"cloud_right\"></div>\n </div>\n <div class=\"rain\">\n <div class=\"drop\"></div>\n <div class=\"drop\"></div>\n <div class=\"drop\"></div>\n <div class=\"drop\"></div>\n <div class=\"drop\"></div>\n </div>\n <div class=\"surface\">\n <div class=\"hit\"></div>\n <div class=\"hit\"></div>\n <div class=\"hit\"></div>\n <div class=\"hit\"></div>\n <div class=\"hit\"></div>\n </div>\n</div>", "css": "/* From Uiverse.io by youranonone10 - Tags: animation, minimalist, loader */\n.wrapper {\n height: 200px;\n}\n\n.cloud {\n overflow: hidden;\n padding: 5px;\n height: 50px;\n}\n\n.cloud_left {\n position: relative;\n float: left;\n background-color: #234;\n width: 100px;\n height: 100px;\n border-radius: 50%;\n box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.75);\n}\n\n.cloud_right {\n position: relative;\n float: left;\n background-color: #203040;\n width: 70px;\n height: 70px;\n border-radius: 50%;\n top: 15px;\n left: -30px;\n box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.75);\n}\n\n.rain {\n width: 180px;\n height: 140px;\n}\n\n.drop {\n position: relative;\n float: left;\n width: 2px;\n margin: 10px;\n left: 20px;\n background: #789;\n box-shadow: 1px 0.5px 1px 0.5px rgba(0, 0, 0, 0.75);\n animation: rain_401 0.8s infinite ease-out;\n}\n\n.drop:nth-child(1) {\n height: 15px;\n top: 5px;\n animation-delay: -1.0s;\n}\n\n.drop:nth-child(2) {\n height: 20px;\n animation-delay: -1.4s;\n}\n\n.drop:nth-child(3) {\n height: 15px;\n top: 5px;\n animation-delay: -1.6s;\n}\n\n.drop:nth-child(4) {\n height: 10px;\n top: 10px;\n animation-delay: -1.2s;\n}\n\n.drop:nth-child(5) {\n height: 5px;\n top: 15px;\n animation-delay: -1.6s;\n}\n\n@keyframes rain_401 {\n 0% {\n opacity: 1;\n transform: translate(0, 0);\n }\n\n 100% {\n opacity: 0.2;\n transform: translate(0, 100px);\n }\n}\n\n.surface {\n position: relative;\n width: 180px;\n height: 140px;\n top: -140px;\n}\n\n.hit {\n position: absolute;\n width: 3px;\n height: 1px;\n margin: 10px;\n bottom: -5px;\n border: 1px solid #456;\n border-radius: 50%;\n animation: hit_401 0.8s infinite ease;\n}\n\n.hit:nth-child(1) {\n left: 19px;\n animation-delay: -0.3s;\n}\n\n.hit:nth-child(2) {\n left: 41px;\n animation-delay: -0.7s;\n}\n\n.hit:nth-child(3) {\n left: 63px;\n animation-delay: -0.9s;\n}\n\n.hit:nth-child(4) {\n left: 85px;\n animation-delay: -0.5s;\n}\n\n.hit:nth-child(5) {\n left: 107px;\n animation-delay: -0.9s;\n}\n\n@keyframes hit_401 {\n 0% {\n opacity: 0.75;\n transform: scale(1);\n }\n\n 100% {\n opacity: 0;\n transform: scale(2.5);\n }\n}", "file_path": "/mnt/persist/workspace/loaders/youranonone10_young-otter-44.html" }, "uniapp": { "template": "<view class=\"wrapper\"></view>\n <view class=\"cloud\"></view>\n <view class=\"cloud_left\"></view>\n <view class=\"cloud_right\"></view>\n </div>\n <view class=\"rain\"></view>\n <view class=\"drop\"></view>\n <view class=\"drop\"></view>\n <view class=\"drop\"></view>\n <view class=\"drop\"></view>\n <view class=\"drop\"></view>\n </div>\n <view class=\"surface\"></view>\n <view class=\"hit\"></view>\n <view class=\"hit\"></view>\n <view class=\"hit\"></view>\n <view class=\"hit\"></view>\n <view class=\"hit\"></view>\n </div>\n</div>", "script": "export default {\n name: 'GalaxyYoungOtter44',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by youranonone10 - Tags: animation, minimalist, loader */\n.wrapper {\n height: 400rpx;\n}\n\n.cloud {\n overflow: hidden;\n padding: 10rpx;\n height: 100rpx;\n}\n\n.cloud_left {\n position: relative;\n float: left;\n background-color: #234;\n width: 200rpx;\n height: 200rpx;\n border-radius: 50%;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 2rpx 2rpx 2rpx 2rpx rgba(0, 0, 0, 0.75);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.cloud_right {\n position: relative;\n float: left;\n background-color: #203040;\n width: 140rpx;\n height: 140rpx;\n border-radius: 50%;\n top: 30rpx;\n left: -60rpx;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 2rpx 2rpx 2rpx 2rpx rgba(0, 0, 0, 0.75);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.rain {\n width: 360rpx;\n height: 280rpx;\n}\n\n.drop {\n position: relative;\n float: left;\n width: 4rpx;\n margin: 20rpx;\n left: 40rpx;\n background: #789;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 2rpx 1rpx 2rpx 1rpx rgba(0, 0, 0, 0.75);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n animation: rain_401 0.8s infinite ease-out;\n}\n\n.drop:nth-child(1) {\n height: 30rpx;\n top: 10rpx;\n animation-delay: -1.0s;\n}\n\n.drop:nth-child(2) {\n height: 40rpx;\n animation-delay: -1.4s;\n}\n\n.drop:nth-child(3) {\n height: 30rpx;\n top: 10rpx;\n animation-delay: -1.6s;\n}\n\n.drop:nth-child(4) {\n height: 20rpx;\n top: 20rpx;\n animation-delay: -1.2s;\n}\n\n.drop:nth-child(5) {\n height: 10rpx;\n top: 30rpx;\n animation-delay: -1.6s;\n}\n\n@keyframes rain_401 {\n 0% {\n opacity: 1;\n transform: translate(0, 0);\n }\n\n 100% {\n opacity: 0.2;\n transform: translate(0, 200rpx);\n }\n}\n\n.surface {\n position: relative;\n width: 360rpx;\n height: 280rpx;\n top: -280rpx;\n}\n\n.hit {\n position: absolute;\n width: 6rpx;\n height: 2rpx;\n margin: 20rpx;\n bottom: -10rpx;\n border: 2rpx solid #456;\n border-radius: 50%;\n animation: hit_401 0.8s infinite ease;\n}\n\n.hit:nth-child(1) {\n left: 38rpx;\n animation-delay: -0.3s;\n}\n\n.hit:nth-child(2) {\n left: 82rpx;\n animation-delay: -0.7s;\n}\n\n.hit:nth-child(3) {\n left: 126rpx;\n animation-delay: -0.9s;\n}\n\n.hit:nth-child(4) {\n left: 170rpx;\n animation-delay: -0.5s;\n}\n\n.hit:nth-child(5) {\n left: 214rpx;\n animation-delay: -0.9s;\n}\n\n@keyframes hit_401 {\n 0% {\n opacity: 0.75;\n transform: scale(1);\n }\n\n 100% {\n opacity: 0;\n transform: scale(2.5);\n }\n}\n", "component_name": "GalaxyYoungOtter44" }, "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": 2565, "render_cost": "high", "memory_usage": "high" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:42.868Z", "updated_at": "2025-07-31T07:55:42.868Z" }