|
|
@@ -788,73 +788,41 @@
|
|
|
bottom: 30px;
|
|
|
}
|
|
|
|
|
|
- // 移动端输入框底部按钮区域优化
|
|
|
- .chat-input-bottom-bar {
|
|
|
- padding: 6px 12px 12px 12px;
|
|
|
- gap: 8px;
|
|
|
-
|
|
|
- .left-options {
|
|
|
- gap: 6px;
|
|
|
- flex-wrap: wrap;
|
|
|
-
|
|
|
- .option-item {
|
|
|
- margin-right: 6px;
|
|
|
- margin-bottom: 4px;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- .right-actions {
|
|
|
- gap: 6px;
|
|
|
- flex-shrink: 0;
|
|
|
-
|
|
|
- .action-icon {
|
|
|
- width: 32px;
|
|
|
- height: 32px;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
// 移动端输入框内部优化
|
|
|
.chat-input-panel-inner {
|
|
|
min-height: 100px;
|
|
|
max-height: 120px;
|
|
|
}
|
|
|
|
|
|
- // 移动端按钮样式优化
|
|
|
- .chat-input-bottom-bar > div {
|
|
|
- &:last-child {
|
|
|
- // 确保发送按钮在最右侧且不被挤压
|
|
|
- flex-shrink: 0;
|
|
|
- margin-left: auto;
|
|
|
- }
|
|
|
- }
|
|
|
+
|
|
|
|
|
|
- // 移动端发送按钮和上传按钮优化
|
|
|
- .chat-input-bottom-bar > div:last-child > div {
|
|
|
- width: 36px;
|
|
|
- height: 36px;
|
|
|
- border-radius: 50%;
|
|
|
- cursor: pointer;
|
|
|
- transition: all 0.2s ease;
|
|
|
-
|
|
|
- // 触摸反馈
|
|
|
- &:active {
|
|
|
- transform: scale(0.95);
|
|
|
- }
|
|
|
-
|
|
|
- // 发送按钮特殊样式
|
|
|
- &:last-child {
|
|
|
- background: #4357d2;
|
|
|
- display: flex;
|
|
|
- justify-content: center;
|
|
|
- align-items: center;
|
|
|
+ // 针对特定手机屏幕的额外优化
|
|
|
+ @media only screen and (max-width: 480px) {
|
|
|
+ // 针对DeepSeekHomeChat组件的按钮优化
|
|
|
+ .chat-input-panel + div[style*="display: flex"] {
|
|
|
+ padding: 4px 8px !important;
|
|
|
+ gap: 4px !important;
|
|
|
|
|
|
- &:hover {
|
|
|
- background: #3a4bc7;
|
|
|
+ > div:first-child {
|
|
|
+ gap: 8px !important;
|
|
|
+ flex-wrap: wrap !important;
|
|
|
+
|
|
|
+ > div {
|
|
|
+ padding: 0 8px !important;
|
|
|
+ height: 26px !important;
|
|
|
+ font-size: 11px !important;
|
|
|
+ margin-right: 8px !important;
|
|
|
+
|
|
|
+ img {
|
|
|
+ height: 18px !important;
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
- &:active {
|
|
|
- background: #2f3da8;
|
|
|
+ > div:last-child {
|
|
|
+ width: 28px !important;
|
|
|
+ height: 28px !important;
|
|
|
+ flex-shrink: 0 !important;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
@@ -865,4 +833,30 @@
|
|
|
line-height: 1.4;
|
|
|
padding: 12px 16px;
|
|
|
}
|
|
|
+
|
|
|
+ // 通用移动端按钮容器优化
|
|
|
+ .chat-input-panel + div[style*="display: flex"] {
|
|
|
+ display: flex !important;
|
|
|
+ justify-content: space-between !important;
|
|
|
+ align-items: center !important;
|
|
|
+ flex-wrap: nowrap !important;
|
|
|
+ padding: 6px 12px !important;
|
|
|
+ gap: 8px !important;
|
|
|
+
|
|
|
+ > div:first-child {
|
|
|
+ display: flex !important;
|
|
|
+ align-items: center !important;
|
|
|
+ gap: 8px !important;
|
|
|
+ flex-wrap: wrap !important;
|
|
|
+ flex: 1 !important;
|
|
|
+ min-width: 0 !important;
|
|
|
+ }
|
|
|
+
|
|
|
+ > div:last-child {
|
|
|
+ flex-shrink: 0 !important;
|
|
|
+ display: flex !important;
|
|
|
+ align-items: center !important;
|
|
|
+ justify-content: center !important;
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|