|
@@ -479,15 +479,15 @@
|
|
|
|
|
|
|
|
.stage-gallery-modal, .message-modal-box {
|
|
.stage-gallery-modal, .message-modal-box {
|
|
|
background: white;
|
|
background: white;
|
|
|
- border-radius: 12px;
|
|
|
|
|
|
|
+ border-radius: 10px; // 🔥 减小圆角
|
|
|
width: 100%;
|
|
width: 100%;
|
|
|
- max-width: 420px; // 🔥 调整为420px,完美适配企微侧边栏(约450px宽)
|
|
|
|
|
- max-height: 88vh; // 🔥 调整最大高度
|
|
|
|
|
|
|
+ max-width: 400px; // 🔥 进一步减小到400px,紧凑型布局
|
|
|
|
|
+ max-height: 90vh; // 🔥 调整最大高度
|
|
|
display: flex;
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
flex-direction: column;
|
|
|
- box-shadow: 0 10px 25px rgba(0,0,0,0.2);
|
|
|
|
|
|
|
+ box-shadow: 0 8px 20px rgba(0,0,0,0.15); // 🔥 减小阴影
|
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
|
- animation: slideUp 0.3s ease-out;
|
|
|
|
|
|
|
+ animation: slideUp 0.25s ease-out; // 🔥 加快动画
|
|
|
margin: 0 auto; // 🔥 居中显示
|
|
margin: 0 auto; // 🔥 居中显示
|
|
|
|
|
|
|
|
// 🔥 移动端/企微端适配
|
|
// 🔥 移动端/企微端适配
|
|
@@ -498,25 +498,26 @@
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.gallery-header, .modal-header {
|
|
.gallery-header, .modal-header {
|
|
|
- padding: 14px 16px; // 🔥 优化内边距
|
|
|
|
|
|
|
+ padding: 12px 14px; // 🔥 紧凑型内边距
|
|
|
border-bottom: 1px solid #e2e8f0;
|
|
border-bottom: 1px solid #e2e8f0;
|
|
|
display: flex;
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
flex-shrink: 0; // 🔥 防止压缩
|
|
flex-shrink: 0; // 🔥 防止压缩
|
|
|
|
|
+ background: linear-gradient(to bottom, #fafafa, #ffffff); // 🔥 添加渐变
|
|
|
|
|
|
|
|
.modal-title {
|
|
.modal-title {
|
|
|
flex: 1;
|
|
flex: 1;
|
|
|
h4 {
|
|
h4 {
|
|
|
margin: 0;
|
|
margin: 0;
|
|
|
- font-size: 16px;
|
|
|
|
|
|
|
+ font-size: 15px; //
|
|
|
font-weight: 700;
|
|
font-weight: 700;
|
|
|
color: #1e293b;
|
|
color: #1e293b;
|
|
|
}
|
|
}
|
|
|
.modal-subtitle {
|
|
.modal-subtitle {
|
|
|
- margin: 4px 0 0;
|
|
|
|
|
- font-size: 12px;
|
|
|
|
|
- color: #64748b;
|
|
|
|
|
|
|
+ font-size: 11px; //
|
|
|
|
|
+ color: #94a3b8;
|
|
|
|
|
+ margin-top: 2px;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -537,7 +538,7 @@
|
|
|
.gallery-content, .modal-body {
|
|
.gallery-content, .modal-body {
|
|
|
flex: 1;
|
|
flex: 1;
|
|
|
overflow-y: auto;
|
|
overflow-y: auto;
|
|
|
- padding: 14px 16px; // 🔥 优化内边距
|
|
|
|
|
|
|
+ padding: 12px 14px; // 🔥 紧凑型内边距
|
|
|
overflow-x: hidden; // 🔥 隐藏横向滚动条
|
|
overflow-x: hidden; // 🔥 隐藏横向滚动条
|
|
|
|
|
|
|
|
// Gallery Grid
|
|
// Gallery Grid
|
|
@@ -571,27 +572,29 @@
|
|
|
.section-label {
|
|
.section-label {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
- gap: 6px;
|
|
|
|
|
- font-size: 13px;
|
|
|
|
|
|
|
+ gap: 5px; // 🔥 减小间距
|
|
|
|
|
+ font-size: 12px; // 🔥 减小字体
|
|
|
font-weight: 600;
|
|
font-weight: 600;
|
|
|
color: #475569;
|
|
color: #475569;
|
|
|
- margin-bottom: 10px;
|
|
|
|
|
|
|
+ margin-bottom: 8px; // 🔥 减小下边距
|
|
|
|
|
|
|
|
svg {
|
|
svg {
|
|
|
flex-shrink: 0;
|
|
flex-shrink: 0;
|
|
|
color: #6366f1;
|
|
color: #6366f1;
|
|
|
|
|
+ width: 16px; // 🔥 减小图标
|
|
|
|
|
+ height: 16px;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// 图片预览区域
|
|
// 图片预览区域
|
|
|
.images-preview-section {
|
|
.images-preview-section {
|
|
|
- margin-bottom: 14px; // 🔥 减小下边距
|
|
|
|
|
|
|
+ margin-bottom: 12px; // 🔥 进一步减小下边距
|
|
|
|
|
|
|
|
.images-preview-grid {
|
|
.images-preview-grid {
|
|
|
display: grid;
|
|
display: grid;
|
|
|
- grid-template-columns: repeat(4, 1fr); // 🔥 4列布局,每列约100px
|
|
|
|
|
- gap: 6px; // 🔥 减小间距
|
|
|
|
|
- margin-top: 8px; // 🔥 减小上边距
|
|
|
|
|
|
|
+ grid-template-columns: repeat(4, 1fr); // 🔥 4列布局
|
|
|
|
|
+ gap: 5px; // 🔥 进一步减小间距
|
|
|
|
|
+ margin-top: 6px; // 🔥 进一步减小上边距
|
|
|
|
|
|
|
|
// 🔥 移动端/小屏幕适配
|
|
// 🔥 移动端/小屏幕适配
|
|
|
@media (max-width: 480px) {
|
|
@media (max-width: 480px) {
|
|
@@ -601,9 +604,9 @@
|
|
|
|
|
|
|
|
.preview-image-item {
|
|
.preview-image-item {
|
|
|
aspect-ratio: 1;
|
|
aspect-ratio: 1;
|
|
|
- border-radius: 6px;
|
|
|
|
|
|
|
+ border-radius: 4px; // 🔥 减小圆角
|
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
|
- border: 2px solid #e2e8f0;
|
|
|
|
|
|
|
+ border: 1.5px solid #e2e8f0; // 🔥 减小边框
|
|
|
background: #f8fafc;
|
|
background: #f8fafc;
|
|
|
|
|
|
|
|
img {
|
|
img {
|
|
@@ -617,22 +620,22 @@
|
|
|
|
|
|
|
|
// 预设话术选择
|
|
// 预设话术选择
|
|
|
.templates-section {
|
|
.templates-section {
|
|
|
- margin-bottom: 14px; // 🔥 减小下边距
|
|
|
|
|
|
|
+ margin-bottom: 12px; // 🔥 进一步减小下边距
|
|
|
|
|
|
|
|
.template-options {
|
|
.template-options {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
flex-direction: column;
|
|
|
- gap: 8px;
|
|
|
|
|
- max-height: 240px; // 🔥 减小最大高度,适应小屏幕
|
|
|
|
|
|
|
+ gap: 6px; // 🔥 减小间距
|
|
|
|
|
+ max-height: 200px; // 🔥 进一步减小最大高度
|
|
|
overflow-y: auto; // 🔥 支持滚动
|
|
overflow-y: auto; // 🔥 支持滚动
|
|
|
|
|
|
|
|
.template-option {
|
|
.template-option {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
align-items: flex-start;
|
|
align-items: flex-start;
|
|
|
- gap: 10px;
|
|
|
|
|
- padding: 10px 12px; // 🔥 优化内边距
|
|
|
|
|
- border: 2px solid #e2e8f0;
|
|
|
|
|
- border-radius: 8px;
|
|
|
|
|
|
|
+ gap: 8px; // 🔥 减小间距
|
|
|
|
|
+ padding: 8px 10px; // 🔥 紧凑型内边距
|
|
|
|
|
+ border: 1.5px solid #e2e8f0; // 🔥 减小边框
|
|
|
|
|
+ border-radius: 6px; // 🔥 减小圆角
|
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
|
transition: all 0.2s;
|
|
transition: all 0.2s;
|
|
|
background: white;
|
|
background: white;
|
|
@@ -669,9 +672,9 @@
|
|
|
|
|
|
|
|
.template-text {
|
|
.template-text {
|
|
|
flex: 1;
|
|
flex: 1;
|
|
|
- font-size: 13px;
|
|
|
|
|
|
|
+ font-size: 12px; // 🔥 减小字体
|
|
|
color: #334155;
|
|
color: #334155;
|
|
|
- line-height: 1.5;
|
|
|
|
|
|
|
+ line-height: 1.4; // 🔥 减小行高
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
@@ -679,20 +682,20 @@
|
|
|
|
|
|
|
|
// 自定义消息输入
|
|
// 自定义消息输入
|
|
|
.custom-message-section {
|
|
.custom-message-section {
|
|
|
- margin-bottom: 14px; // 🔥 减小下边距
|
|
|
|
|
|
|
+ margin-bottom: 10px; // 🔥 进一步减小下边距
|
|
|
|
|
|
|
|
.custom-input {
|
|
.custom-input {
|
|
|
width: 100%;
|
|
width: 100%;
|
|
|
- padding: 10px 12px; // 🔥 优化内边距
|
|
|
|
|
- border: 2px solid #e2e8f0;
|
|
|
|
|
- border-radius: 8px;
|
|
|
|
|
- font-size: 13px; // 🔥 调整字体大小
|
|
|
|
|
|
|
+ padding: 8px 10px; // 🔥 紧凑型内边距
|
|
|
|
|
+ border: 1.5px solid #e2e8f0; // 🔥 减小边框
|
|
|
|
|
+ border-radius: 6px; // 🔥 减小圆角
|
|
|
|
|
+ font-size: 12px; // 🔥 减小字体
|
|
|
color: #334155;
|
|
color: #334155;
|
|
|
resize: vertical;
|
|
resize: vertical;
|
|
|
- min-height: 70px; // 🔥 减小最小高度
|
|
|
|
|
- max-height: 120px; // 🔥 减小最大高度
|
|
|
|
|
|
|
+ min-height: 60px; // 🔥 进一步减小最小高度
|
|
|
|
|
+ max-height: 100px; // 🔥 进一步减小最大高度
|
|
|
transition: border-color 0.2s;
|
|
transition: border-color 0.2s;
|
|
|
- line-height: 1.5; // 🔥 调整行高
|
|
|
|
|
|
|
+ line-height: 1.4; // 🔥 减小行高
|
|
|
|
|
|
|
|
&:focus {
|
|
&:focus {
|
|
|
outline: none;
|
|
outline: none;
|
|
@@ -707,36 +710,38 @@
|
|
|
|
|
|
|
|
// 只发图片选项
|
|
// 只发图片选项
|
|
|
.send-options {
|
|
.send-options {
|
|
|
- margin-bottom: 12px; // 🔥 减小下边距
|
|
|
|
|
- padding: 10px 12px; // 🔥 优化内边距
|
|
|
|
|
- background: #f8fafc; // 🔥 添加背景色
|
|
|
|
|
- border-radius: 6px; // 🔥 圆角
|
|
|
|
|
|
|
+ margin-bottom: 10px;
|
|
|
|
|
+ padding: 8px 10px;
|
|
|
|
|
+ background: #f8fafc;
|
|
|
|
|
+ border-radius: 5px;
|
|
|
|
|
|
|
|
.checkbox-option {
|
|
.checkbox-option {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
- gap: 10px; // 🔥 增加间距
|
|
|
|
|
|
|
+ gap: 8px;
|
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
|
- user-select: none; // 🔥 禁止文字选中
|
|
|
|
|
|
|
+ user-select: none;
|
|
|
|
|
|
|
|
input[type="checkbox"] {
|
|
input[type="checkbox"] {
|
|
|
- width: 18px; // 🔥 增大尺寸
|
|
|
|
|
- height: 18px;
|
|
|
|
|
|
|
+ width: 16px;
|
|
|
|
|
+ height: 16px;
|
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
|
- flex-shrink: 0; // 🔥 防止收缩
|
|
|
|
|
|
|
+ flex-shrink: 0;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.checkbox-label {
|
|
.checkbox-label {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
- gap: 6px;
|
|
|
|
|
- font-size: 13px; // 🔥 调整字体大小
|
|
|
|
|
|
|
+ gap: 5px;
|
|
|
|
|
+ font-size: 12px;
|
|
|
color: #475569;
|
|
color: #475569;
|
|
|
- font-weight: 500; // 🔥 加粗
|
|
|
|
|
- white-space: nowrap; // 🔥 防止换行
|
|
|
|
|
|
|
+ font-weight: 500;
|
|
|
|
|
+ white-space: nowrap;
|
|
|
|
|
|
|
|
svg {
|
|
svg {
|
|
|
color: #6366f1;
|
|
color: #6366f1;
|
|
|
|
|
+ width: 14px;
|
|
|
|
|
+ height: 14px;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
@@ -768,7 +773,7 @@
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.gallery-footer, .modal-footer {
|
|
.gallery-footer, .modal-footer {
|
|
|
- padding: 12px 16px; // 🔥 优化内边距
|
|
|
|
|
|
|
+ padding: 10px 14px; // 🔥 紧凑型内边距
|
|
|
border-top: 1px solid #e2e8f0;
|
|
border-top: 1px solid #e2e8f0;
|
|
|
display: flex;
|
|
display: flex;
|
|
|
justify-content: flex-end;
|
|
justify-content: flex-end;
|
|
@@ -778,7 +783,7 @@
|
|
|
|
|
|
|
|
// 🔥 移动端适配
|
|
// 🔥 移动端适配
|
|
|
@media (max-width: 480px) {
|
|
@media (max-width: 480px) {
|
|
|
- padding: 10px 12px;
|
|
|
|
|
|
|
+ padding: 8px 10px;
|
|
|
gap: 6px;
|
|
gap: 6px;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -804,10 +809,10 @@
|
|
|
background: white;
|
|
background: white;
|
|
|
border: 1px solid #e2e8f0;
|
|
border: 1px solid #e2e8f0;
|
|
|
color: #64748b;
|
|
color: #64748b;
|
|
|
- padding: 9px 16px; // 🔥 优化内边距
|
|
|
|
|
- border-radius: 6px;
|
|
|
|
|
|
|
+ padding: 8px 14px; // 🔥 紧凑型内边距
|
|
|
|
|
+ border-radius: 5px; // 🔥 减小圆角
|
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
|
- font-size: 13px; // 🔥 调整字体
|
|
|
|
|
|
|
+ font-size: 12px; // 🔥 减小字体
|
|
|
font-weight: 500; // 🔥 加粗
|
|
font-weight: 500; // 🔥 加粗
|
|
|
transition: all 0.2s;
|
|
transition: all 0.2s;
|
|
|
|
|
|
|
@@ -820,14 +825,14 @@
|
|
|
.btn-send {
|
|
.btn-send {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
- gap: 6px; // 🔥 调整图标间距
|
|
|
|
|
|
|
+ gap: 5px; // 🔥 减小间距
|
|
|
background: #10b981;
|
|
background: #10b981;
|
|
|
color: white;
|
|
color: white;
|
|
|
border: none;
|
|
border: none;
|
|
|
- padding: 9px 18px; // 🔥 优化内边距
|
|
|
|
|
- border-radius: 6px;
|
|
|
|
|
|
|
+ padding: 8px 16px; // 🔥 紧凑型内边距
|
|
|
|
|
+ border-radius: 5px; // 🔥 减小圆角
|
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
|
- font-size: 14px; // 🔥 调整字体
|
|
|
|
|
|
|
+ font-size: 13px; // 🔥 减小字体
|
|
|
font-weight: 600;
|
|
font-weight: 600;
|
|
|
transition: all 0.2s;
|
|
transition: all 0.2s;
|
|
|
box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2); // 🔥 添加阴影
|
|
box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2); // 🔥 添加阴影
|