|
|
@@ -459,8 +459,8 @@
|
|
|
to { opacity: 1; transform: translateY(0); }
|
|
|
}
|
|
|
|
|
|
-// Modals (Simplified)
|
|
|
-.stage-gallery-modal-overlay, .message-modal-overlay {
|
|
|
+// Gallery Modal
|
|
|
+.stage-gallery-modal-overlay {
|
|
|
position: fixed;
|
|
|
inset: 0;
|
|
|
background: rgba(0, 0, 0, 0.5);
|
|
|
@@ -472,76 +472,134 @@
|
|
|
animation: fadeIn 0.2s ease-out;
|
|
|
}
|
|
|
|
|
|
+.stage-gallery-modal {
|
|
|
+ background: white;
|
|
|
+ border-radius: 12px;
|
|
|
+ width: 100%;
|
|
|
+ max-width: 90vw;
|
|
|
+ max-height: 90vh;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ overflow: hidden;
|
|
|
+ animation: slideUp 0.3s ease-out;
|
|
|
+}
|
|
|
+
|
|
|
+// Message Modal - 底部弹出式
|
|
|
+.message-modal-overlay {
|
|
|
+ position: fixed;
|
|
|
+ inset: 0;
|
|
|
+ background: rgba(0, 0, 0, 0.4);
|
|
|
+ z-index: 10000;
|
|
|
+ display: flex;
|
|
|
+ align-items: flex-end;
|
|
|
+ justify-content: center;
|
|
|
+ animation: fadeIn 0.2s ease-out;
|
|
|
+}
|
|
|
+
|
|
|
@keyframes fadeIn {
|
|
|
from { opacity: 0; }
|
|
|
to { opacity: 1; }
|
|
|
}
|
|
|
|
|
|
-.stage-gallery-modal, .message-modal-box {
|
|
|
- background: white;
|
|
|
- border-radius: 10px; // 🔥 减小圆角
|
|
|
+@keyframes slideUp {
|
|
|
+ from {
|
|
|
+ opacity: 0;
|
|
|
+ transform: translateY(20px);
|
|
|
+ }
|
|
|
+ to {
|
|
|
+ opacity: 1;
|
|
|
+ transform: translateY(0);
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+.message-modal-box {
|
|
|
+ background: #f7f8fa;
|
|
|
+ border-radius: 12px 12px 0 0;
|
|
|
width: 100%;
|
|
|
- max-width: 400px; // 🔥 进一步减小到400px,紧凑型布局
|
|
|
- max-height: 90vh; // 🔥 调整最大高度
|
|
|
+ max-width: 100%;
|
|
|
+ max-height: 85vh;
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
- box-shadow: 0 8px 20px rgba(0,0,0,0.15); // 🔥 减小阴影
|
|
|
+ box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
|
|
|
overflow: hidden;
|
|
|
- animation: slideUp 0.25s ease-out; // 🔥 加快动画
|
|
|
- margin: 0 auto; // 🔥 居中显示
|
|
|
+ animation: slideUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
|
|
|
|
- // 🔥 移动端/企微端适配
|
|
|
- @media (max-width: 640px) {
|
|
|
- max-width: 96vw; // 🔥 留出4%边距
|
|
|
- max-height: 92vh;
|
|
|
- border-radius: 8px;
|
|
|
+ @media (min-width: 641px) {
|
|
|
+ border-radius: 12px;
|
|
|
+ max-width: 500px;
|
|
|
+ max-height: 80vh;
|
|
|
+ margin-bottom: 40px;
|
|
|
}
|
|
|
|
|
|
- .gallery-header, .modal-header {
|
|
|
- padding: 12px 14px; // 🔥 紧凑型内边距
|
|
|
- border-bottom: 1px solid #e2e8f0;
|
|
|
+ .gallery-header {
|
|
|
+ padding: 16px;
|
|
|
+ border-bottom: 1px solid #e5e7eb;
|
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
|
align-items: center;
|
|
|
- flex-shrink: 0; // 🔥 防止压缩
|
|
|
- background: linear-gradient(to bottom, #fafafa, #ffffff); // 🔥 添加渐变
|
|
|
+ background: white;
|
|
|
+
|
|
|
+ .gallery-title h3, h4 { margin: 0; font-size: 16px; font-weight: 700; }
|
|
|
+ p { margin: 4px 0 0; font-size: 12px; color: #64748b; }
|
|
|
+
|
|
|
+ .close-btn {
|
|
|
+ background: none;
|
|
|
+ border: none;
|
|
|
+ font-size: 24px;
|
|
|
+ color: #94a3b8;
|
|
|
+ cursor: pointer;
|
|
|
+ &:hover { color: #ef4444; }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .modal-header {
|
|
|
+ padding: 16px;
|
|
|
+ background: white;
|
|
|
+ border-bottom: 1px solid #e5e7eb;
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ align-items: center;
|
|
|
+ flex-shrink: 0;
|
|
|
|
|
|
.modal-title {
|
|
|
flex: 1;
|
|
|
h4 {
|
|
|
margin: 0;
|
|
|
- font-size: 15px; //
|
|
|
- font-weight: 700;
|
|
|
- color: #1e293b;
|
|
|
+ font-size: 16px;
|
|
|
+ font-weight: 600;
|
|
|
+ color: #000000;
|
|
|
}
|
|
|
.modal-subtitle {
|
|
|
- font-size: 11px; //
|
|
|
- color: #94a3b8;
|
|
|
- margin-top: 2px;
|
|
|
+ font-size: 12px;
|
|
|
+ color: #8c8c8c;
|
|
|
+ margin-top: 4px;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- .gallery-title h3, h4 { margin: 0; font-size: 16px; font-weight: 700; }
|
|
|
- p { margin: 4px 0 0; font-size: 12px; color: #64748b; }
|
|
|
-
|
|
|
.close-btn {
|
|
|
background: none;
|
|
|
border: none;
|
|
|
- font-size: 24px;
|
|
|
- color: #94a3b8;
|
|
|
+ font-size: 28px;
|
|
|
+ line-height: 1;
|
|
|
+ color: #8c8c8c;
|
|
|
cursor: pointer;
|
|
|
+ padding: 0;
|
|
|
+ width: 32px;
|
|
|
+ height: 32px;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
transition: color 0.2s;
|
|
|
- &:hover { color: #ef4444; }
|
|
|
+ &:hover { color: #000000; }
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- .gallery-content, .modal-body {
|
|
|
+ .gallery-content {
|
|
|
flex: 1;
|
|
|
overflow-y: auto;
|
|
|
- padding: 12px 14px; // 🔥 紧凑型内边距
|
|
|
- overflow-x: hidden; // 🔥 隐藏横向滚动条
|
|
|
+ padding: 16px;
|
|
|
+ background: white;
|
|
|
|
|
|
- // Gallery Grid
|
|
|
.images-grid {
|
|
|
display: grid;
|
|
|
grid-template-columns: repeat(3, 1fr);
|
|
|
@@ -567,47 +625,52 @@
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ }
|
|
|
+
|
|
|
+ .modal-body {
|
|
|
+ flex: 1;
|
|
|
+ overflow-y: auto;
|
|
|
+ overflow-x: hidden;
|
|
|
+ padding: 12px;
|
|
|
+ background: #f7f8fa;
|
|
|
|
|
|
// 消息弹窗专用样式
|
|
|
.section-label {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
- gap: 5px; // 🔥 减小间距
|
|
|
- font-size: 12px; // 🔥 减小字体
|
|
|
- font-weight: 600;
|
|
|
- color: #475569;
|
|
|
- margin-bottom: 8px; // 🔥 减小下边距
|
|
|
+ gap: 4px;
|
|
|
+ font-size: 13px;
|
|
|
+ font-weight: 500;
|
|
|
+ color: #000000;
|
|
|
+ margin-bottom: 8px;
|
|
|
|
|
|
svg {
|
|
|
flex-shrink: 0;
|
|
|
- color: #6366f1;
|
|
|
- width: 16px; // 🔥 减小图标
|
|
|
+ color: #576b95;
|
|
|
+ width: 16px;
|
|
|
height: 16px;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
// 图片预览区域
|
|
|
.images-preview-section {
|
|
|
- margin-bottom: 12px; // 🔥 进一步减小下边距
|
|
|
+ margin-bottom: 12px;
|
|
|
+ padding: 10px;
|
|
|
+ background: white;
|
|
|
+ border-radius: 8px;
|
|
|
|
|
|
.images-preview-grid {
|
|
|
display: grid;
|
|
|
- grid-template-columns: repeat(4, 1fr); // 🔥 4列布局
|
|
|
- gap: 5px; // 🔥 进一步减小间距
|
|
|
- margin-top: 6px; // 🔥 进一步减小上边距
|
|
|
-
|
|
|
- // 🔥 移动端/小屏幕适配
|
|
|
- @media (max-width: 480px) {
|
|
|
- grid-template-columns: repeat(3, 1fr);
|
|
|
- gap: 6px;
|
|
|
- }
|
|
|
+ grid-template-columns: repeat(4, 1fr);
|
|
|
+ gap: 6px;
|
|
|
+ margin-top: 6px;
|
|
|
|
|
|
.preview-image-item {
|
|
|
aspect-ratio: 1;
|
|
|
- border-radius: 4px; // 🔥 减小圆角
|
|
|
+ border-radius: 6px;
|
|
|
overflow: hidden;
|
|
|
- border: 1.5px solid #e2e8f0; // 🔥 减小边框
|
|
|
- background: #f8fafc;
|
|
|
+ border: 0.5px solid #e0e0e0;
|
|
|
+ background: #fafafa;
|
|
|
|
|
|
img {
|
|
|
width: 100%;
|
|
|
@@ -620,34 +683,37 @@
|
|
|
|
|
|
// 预设话术选择
|
|
|
.templates-section {
|
|
|
- margin-bottom: 12px; // 🔥 进一步减小下边距
|
|
|
+ margin-bottom: 12px;
|
|
|
+ padding: 10px;
|
|
|
+ background: white;
|
|
|
+ border-radius: 8px;
|
|
|
|
|
|
.template-options {
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
- gap: 6px; // 🔥 减小间距
|
|
|
- max-height: 200px; // 🔥 进一步减小最大高度
|
|
|
- overflow-y: auto; // 🔥 支持滚动
|
|
|
+ gap: 8px;
|
|
|
+ max-height: 280px; // 🔥 限制高度,避免过长
|
|
|
+ overflow-y: auto;
|
|
|
|
|
|
.template-option {
|
|
|
display: flex;
|
|
|
align-items: flex-start;
|
|
|
- gap: 8px; // 🔥 减小间距
|
|
|
- padding: 8px 10px; // 🔥 紧凑型内边距
|
|
|
- border: 1.5px solid #e2e8f0; // 🔥 减小边框
|
|
|
- border-radius: 6px; // 🔥 减小圆角
|
|
|
+ gap: 8px;
|
|
|
+ padding: 10px;
|
|
|
+ border: 1px solid #e5e7eb;
|
|
|
+ border-radius: 6px;
|
|
|
cursor: pointer;
|
|
|
- transition: all 0.2s;
|
|
|
- background: white;
|
|
|
+ transition: all 0.15s;
|
|
|
+ background: #fafafa;
|
|
|
|
|
|
&:hover {
|
|
|
- border-color: #c7d2fe;
|
|
|
- background: #f5f8ff;
|
|
|
+ background: #f0f0f0;
|
|
|
+ border-color: #d0d0d0;
|
|
|
}
|
|
|
|
|
|
&.selected {
|
|
|
- border-color: #6366f1;
|
|
|
- background: #eef2ff;
|
|
|
+ border-color: #576b95;
|
|
|
+ background: #e8f0fe;
|
|
|
|
|
|
.radio-indicator {
|
|
|
border-color: #6366f1;
|
|
|
@@ -655,26 +721,26 @@
|
|
|
}
|
|
|
|
|
|
.radio-indicator {
|
|
|
- width: 16px;
|
|
|
- height: 16px;
|
|
|
- border: 2px solid #cbd5e1;
|
|
|
+ width: 18px;
|
|
|
+ height: 18px;
|
|
|
+ border: 2px solid #d9d9d9;
|
|
|
border-radius: 50%;
|
|
|
flex-shrink: 0;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
justify-content: center;
|
|
|
- margin-top: 2px;
|
|
|
+ margin-top: 1px;
|
|
|
|
|
|
svg {
|
|
|
- color: #6366f1;
|
|
|
+ color: #576b95;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.template-text {
|
|
|
flex: 1;
|
|
|
- font-size: 12px; // 🔥 减小字体
|
|
|
- color: #334155;
|
|
|
- line-height: 1.4; // 🔥 减小行高
|
|
|
+ font-size: 13px;
|
|
|
+ color: #000000;
|
|
|
+ line-height: 1.5;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
@@ -682,38 +748,41 @@
|
|
|
|
|
|
// 自定义消息输入
|
|
|
.custom-message-section {
|
|
|
- margin-bottom: 10px; // 🔥 进一步减小下边距
|
|
|
+ margin-bottom: 12px;
|
|
|
+ padding: 10px;
|
|
|
+ background: white;
|
|
|
+ border-radius: 8px;
|
|
|
|
|
|
.custom-input {
|
|
|
width: 100%;
|
|
|
- padding: 8px 10px; // 🔥 紧凑型内边距
|
|
|
- border: 1.5px solid #e2e8f0; // 🔥 减小边框
|
|
|
- border-radius: 6px; // 🔥 减小圆角
|
|
|
- font-size: 12px; // 🔥 减小字体
|
|
|
- color: #334155;
|
|
|
- resize: vertical;
|
|
|
- min-height: 60px; // 🔥 进一步减小最小高度
|
|
|
- max-height: 100px; // 🔥 进一步减小最大高度
|
|
|
+ padding: 10px;
|
|
|
+ border: 1px solid #e0e0e0;
|
|
|
+ border-radius: 6px;
|
|
|
+ font-size: 14px;
|
|
|
+ color: #000000;
|
|
|
+ resize: none; // 🔥 禁止拖动调整
|
|
|
+ height: 70px; // 🔥 固定高度
|
|
|
transition: border-color 0.2s;
|
|
|
- line-height: 1.4; // 🔥 减小行高
|
|
|
+ line-height: 1.5;
|
|
|
|
|
|
&:focus {
|
|
|
outline: none;
|
|
|
- border-color: #6366f1;
|
|
|
+ border-color: #576b95;
|
|
|
+ background: #ffffff;
|
|
|
}
|
|
|
|
|
|
&::placeholder {
|
|
|
- color: #94a3b8;
|
|
|
+ color: #bfbfbf;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
// 只发图片选项
|
|
|
.send-options {
|
|
|
- margin-bottom: 10px;
|
|
|
- padding: 8px 10px;
|
|
|
- background: #f8fafc;
|
|
|
- border-radius: 5px;
|
|
|
+ margin-bottom: 12px;
|
|
|
+ padding: 10px;
|
|
|
+ background: white;
|
|
|
+ border-radius: 8px;
|
|
|
|
|
|
.checkbox-option {
|
|
|
display: flex;
|
|
|
@@ -730,19 +799,9 @@
|
|
|
}
|
|
|
|
|
|
.checkbox-label {
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- gap: 5px;
|
|
|
- font-size: 12px;
|
|
|
- color: #475569;
|
|
|
- font-weight: 500;
|
|
|
- white-space: nowrap;
|
|
|
-
|
|
|
- svg {
|
|
|
- color: #6366f1;
|
|
|
- width: 14px;
|
|
|
- height: 14px;
|
|
|
- }
|
|
|
+ font-size: 13px;
|
|
|
+ color: #000000;
|
|
|
+ font-weight: 400;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
@@ -750,42 +809,35 @@
|
|
|
// 提示信息
|
|
|
.send-tips {
|
|
|
display: flex;
|
|
|
- align-items: flex-start;
|
|
|
- gap: 8px;
|
|
|
- padding: 10px;
|
|
|
- background: #f0f9ff;
|
|
|
- border: 1px solid #bae6fd;
|
|
|
+ align-items: center;
|
|
|
+ gap: 6px;
|
|
|
+ padding: 8px 10px;
|
|
|
+ background: #f0f7ff;
|
|
|
border-radius: 6px;
|
|
|
|
|
|
svg {
|
|
|
flex-shrink: 0;
|
|
|
- color: #0ea5e9;
|
|
|
- margin-top: 1px;
|
|
|
+ color: #1890ff;
|
|
|
+ width: 14px;
|
|
|
+ height: 14px;
|
|
|
}
|
|
|
|
|
|
span {
|
|
|
flex: 1;
|
|
|
font-size: 12px;
|
|
|
- color: #0c4a6e;
|
|
|
+ color: #666666;
|
|
|
line-height: 1.4;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- .gallery-footer, .modal-footer {
|
|
|
- padding: 10px 14px; // 🔥 紧凑型内边距
|
|
|
- border-top: 1px solid #e2e8f0;
|
|
|
+ .modal-footer {
|
|
|
+ padding: 12px;
|
|
|
+ border-top: 1px solid #e5e7eb;
|
|
|
display: flex;
|
|
|
- justify-content: flex-end;
|
|
|
- gap: 8px; // 🔥 调整按钮间距
|
|
|
- background: #fafafa; // 🔥 添加浅灰背景
|
|
|
- flex-shrink: 0; // 🔥 防止压缩
|
|
|
-
|
|
|
- // 🔥 移动端适配
|
|
|
- @media (max-width: 480px) {
|
|
|
- padding: 8px 10px;
|
|
|
- gap: 6px;
|
|
|
- }
|
|
|
+ gap: 12px;
|
|
|
+ background: white;
|
|
|
+ flex-shrink: 0;
|
|
|
|
|
|
.add-files-btn {
|
|
|
display: flex;
|
|
|
@@ -805,52 +857,53 @@
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- .close-gallery-btn, .btn-cancel {
|
|
|
- background: white;
|
|
|
- border: 1px solid #e2e8f0;
|
|
|
- color: #64748b;
|
|
|
- padding: 8px 14px; // 🔥 紧凑型内边距
|
|
|
- border-radius: 5px; // 🔥 减小圆角
|
|
|
+ .btn-cancel {
|
|
|
+ flex: 1;
|
|
|
+ background: #ffffff;
|
|
|
+ border: 1px solid #d9d9d9;
|
|
|
+ color: #000000;
|
|
|
+ padding: 11px;
|
|
|
+ border-radius: 6px;
|
|
|
cursor: pointer;
|
|
|
- font-size: 12px; // 🔥 减小字体
|
|
|
- font-weight: 500; // 🔥 加粗
|
|
|
+ font-size: 15px;
|
|
|
+ font-weight: 400;
|
|
|
transition: all 0.2s;
|
|
|
|
|
|
&:hover {
|
|
|
- border-color: #cbd5e1;
|
|
|
- background: #f8fafc;
|
|
|
+ background: #fafafa;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.btn-send {
|
|
|
+ flex: 2;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
- gap: 5px; // 🔥 减小间距
|
|
|
- background: #10b981;
|
|
|
+ justify-content: center;
|
|
|
+ gap: 6px;
|
|
|
+ background: #07c160;
|
|
|
color: white;
|
|
|
border: none;
|
|
|
- padding: 8px 16px; // 🔥 紧凑型内边距
|
|
|
- border-radius: 5px; // 🔥 减小圆角
|
|
|
+ padding: 11px;
|
|
|
+ border-radius: 6px;
|
|
|
cursor: pointer;
|
|
|
- font-size: 13px; // 🔥 减小字体
|
|
|
- font-weight: 600;
|
|
|
+ font-size: 15px;
|
|
|
+ font-weight: 400;
|
|
|
transition: all 0.2s;
|
|
|
- box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2); // 🔥 添加阴影
|
|
|
|
|
|
&:hover:not(:disabled) {
|
|
|
- background: #059669;
|
|
|
- transform: translateY(-1px);
|
|
|
- box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3); // 🔥 hover阴影
|
|
|
+ background: #06ad56;
|
|
|
}
|
|
|
|
|
|
&:disabled {
|
|
|
opacity: 0.5;
|
|
|
cursor: not-allowed;
|
|
|
- box-shadow: none; // 🔥 禁用时移除阴影
|
|
|
+ background: #b0b0b0;
|
|
|
}
|
|
|
|
|
|
svg {
|
|
|
flex-shrink: 0;
|
|
|
+ width: 16px;
|
|
|
+ height: 16px;
|
|
|
}
|
|
|
}
|
|
|
}
|