From 075cf0c1604a951f33faf5c3cab3221e048b8c5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=A2=E8=B6=8A?= <552369664@qq.com> Date: Sun, 25 Aug 2024 19:08:33 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=8A=9F=E8=83=BD=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E3=80=91=E5=95=86=E5=9F=8E=E5=AE=A2=E6=9C=8D=E9=80=82=E9=85=8D?= =?UTF-8?q?=E9=BB=91=E6=9A=97=E6=A8=A1=E5=BC=8F=EF=BC=8C=E7=82=B9=E5=87=BB?= =?UTF-8?q?=E5=8D=A1=E7=89=87=E8=BF=9B=E5=85=A5=E8=AE=A2=E5=8D=95=E6=88=96?= =?UTF-8?q?=E8=80=85=E5=95=86=E5=93=81=E8=AF=A6=E6=83=85=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../kefu/components/KeFuMessageList.vue | 13 +++++++------ .../history/ProductBrowsingHistory.vue | 1 + .../kefu/components/message/OrderItem.vue | 13 +++++++++++-- .../kefu/components/message/ProductItem.vue | 19 ++++++++++++++++--- 4 files changed, 35 insertions(+), 11 deletions(-) diff --git a/src/views/mall/promotion/kefu/components/KeFuMessageList.vue b/src/views/mall/promotion/kefu/components/KeFuMessageList.vue index 41084303..bd1b9ce0 100644 --- a/src/views/mall/promotion/kefu/components/KeFuMessageList.vue +++ b/src/views/mall/promotion/kefu/components/KeFuMessageList.vue @@ -71,6 +71,7 @@ (item: KeFuMessageRespVO, index: number) => { border-left: 5px solid transparent; border-bottom: 5px solid transparent; border-top: 5px solid transparent; - border-right: 5px solid #ffffff; + border-right: 5px solid var(--app-content-bg-color); } } } @@ -412,7 +413,7 @@ const showTime = computed(() => (item: KeFuMessageRespVO, index: number) => { right: -19px; top: calc(50% - 10px); position: absolute; - border-left: 5px solid #ffffff; + border-left: 5px solid var(--app-content-bg-color); border-bottom: 5px solid transparent; border-top: 5px solid transparent; border-right: 5px solid transparent; @@ -422,9 +423,9 @@ const showTime = computed(() => (item: KeFuMessageRespVO, index: number) => { // 消息气泡 .kefu-message { - color: #333; + color: #A9A9A9; border-radius: 5px; - box-shadow: 3px 5px 15px rgba(0, 0, 0, 0.2); + box-shadow: 3px 3px 5px rgba(220,220,220, 0.1); padding: 5px 10px; width: auto; max-width: 50%; @@ -432,7 +433,7 @@ const showTime = computed(() => (item: KeFuMessageRespVO, index: number) => { display: inline-block !important; position: relative; word-break: break-all; - background-color: #ffffff; + background-color: var(--app-content-bg-color); transition: all 0.2s; &:hover { @@ -454,7 +455,7 @@ const showTime = computed(() => (item: KeFuMessageRespVO, index: number) => { .chat-tools { width: 100%; - border: #e4e0e0 solid 1px; + border: var(--el-border-color) solid 1px; border-radius: 10px; height: 44px; } diff --git a/src/views/mall/promotion/kefu/components/history/ProductBrowsingHistory.vue b/src/views/mall/promotion/kefu/components/history/ProductBrowsingHistory.vue index c9bff188..8bc4aeaf 100644 --- a/src/views/mall/promotion/kefu/components/history/ProductBrowsingHistory.vue +++ b/src/views/mall/promotion/kefu/components/history/ProductBrowsingHistory.vue @@ -1,6 +1,7 @@