diff --git a/biji-qianduan/src/assets/styles/mobile.css b/biji-qianduan/src/assets/styles/mobile.css index d4c3f61..8224fc4 100644 --- a/biji-qianduan/src/assets/styles/mobile.css +++ b/biji-qianduan/src/assets/styles/mobile.css @@ -120,4 +120,24 @@ /* 针对回收站的卡片式布局 (默认隐藏) */ .trash-cards { display: none; +} + +/* 优化移动端悬浮操作按钮 (FAB) */ +.fab { + position: fixed !important; + right: 25px !important; + bottom: 90px !important; /* 调整位置以避开主题切换按钮 */ + z-index: 1050 !important; + width: 56px !important; + height: 56px !important; + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important; + transition: transform 0.2s ease-in-out !important; +} + +.fab:hover { + transform: scale(1.05); /* 添加轻微的悬停放大效果 */ +} + +.fab .el-icon { + font-size: 24px; /* 调整图标大小 */ } \ No newline at end of file