Skip to content

Commit 2c35cde

Browse files
YunaiVgitee-org
authored andcommitted
!706 【功能优化】1. 上传图片等待时间调整成15秒;2. 商城客服页面匹配暗黑模式;
Merge pull request !706 from 卢越/master
2 parents ead7fa2 + 2081dda commit 2c35cde

File tree

6 files changed

+10
-9
lines changed

6 files changed

+10
-9
lines changed

src/components/Editor/src/Editor.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ const editorConfig = computed((): IEditorConfig => {
105105
},
106106
107107
// 超时时间,默认为 10 秒
108-
timeout: 5 * 1000, // 5
108+
timeout: 15 * 1000, // 15
109109
110110
// form-data fieldName,后端接口参数名称,默认值wangeditor-uploaded-image
111111
fieldName: 'file',

src/views/mall/promotion/kefu/components/KeFuConversationList.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ onBeforeUnmount(() => {
200200

201201
<style lang="scss" scoped>
202202
.kefu {
203-
background-color: #e5e4e4;
203+
background-color: var(--app-content-bg-color);
204204
205205
&-conversation {
206206
height: 60px;

src/views/mall/promotion/kefu/components/KeFuMessageList.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ const showTime = computed(() => (item: KeFuMessageRespVO, index: number) => {
373373

374374
<style lang="scss" scoped>
375375
.kefu {
376-
background-color: #f5f5f5;
376+
background-color: var(--app-content-bg-color);
377377
position: relative;
378378
width: calc(100% - 300px - 260px);
379379
@@ -389,7 +389,7 @@ const showTime = computed(() => (item: KeFuMessageRespVO, index: number) => {
389389
}
390390
391391
.kefu-header {
392-
background-color: #f5f5f5;
392+
background-color: var(--app-content-bg-color);
393393
position: relative;
394394
display: flex;
395395
align-items: center;
@@ -511,7 +511,7 @@ const showTime = computed(() => (item: KeFuMessageRespVO, index: number) => {
511511
512512
::v-deep(textarea) {
513513
resize: none;
514-
background-color: #f5f5f5;
514+
background-color: var(--app-content-bg-color);
515515
}
516516
517517
:deep(.el-input__wrapper) {

src/views/mall/promotion/kefu/components/member/MemberInfo.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ const getUserData = async () => {
167167
.kefu {
168168
position: relative;
169169
width: 300px !important;
170-
background-color: #f5f5f5;
170+
background-color: var(--app-content-bg-color);
171171
172172
&::after {
173173
content: '';
@@ -181,7 +181,7 @@ const getUserData = async () => {
181181
}
182182
183183
&-header {
184-
background-color: #f5f5f5;
184+
background-color: var(--app-content-bg-color);
185185
position: relative;
186186
display: flex;
187187
align-items: center;

src/views/mall/promotion/kefu/components/message/OrderItem.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ function formatOrderStatus(order: any) {
112112
border-radius: 10px;
113113
padding: 10px;
114114
border: 1px var(--el-border-color) solid;
115-
background-color: #fff; // 透明色,暗黑模式下也能体现
115+
background-color: rgba(128, 128, 128, 0.3); // 透明色,暗黑模式下也能体现
116116
117117
.order-card-header {
118118
height: 28px;

src/views/mall/promotion/kefu/components/message/ProductItem.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ const openDetail = (spuId: number) => {
7777
7878
.product-warp {
7979
width: 100%;
80-
background-color: #fff;
80+
background-color: rgba(128, 128, 128, 0.3);
81+
border: 1px solid var(--el-border-color);
8182
border-radius: 8px;
8283
display: flex;
8384
align-items: center;

0 commit comments

Comments
 (0)