From 23317b2e11aca690e8f1f349edf6f35da7ee65d3 Mon Sep 17 00:00:00 2001
From: 李凌 <344137771@qq.com>
Date: Wed, 04 Feb 2026 15:00:02 +0800
Subject: [PATCH] 1

---
 src/views/customerService/index.vue |   19 ++++++++++++++-----
 1 files changed, 14 insertions(+), 5 deletions(-)

diff --git a/src/views/customerService/index.vue b/src/views/customerService/index.vue
index 6d3b92d..8087bc1 100644
--- a/src/views/customerService/index.vue
+++ b/src/views/customerService/index.vue
@@ -5,7 +5,7 @@
       <div class="px-3.5 py-5" :style="{ 'margin-top': navHeight + 'px' }" v-if="state == 0">
         <div class="white">{{ $t('OrdersWill') }} <span style="color: #1194F7">{{ msgTitle }}</span> {{
           $t('afterCancel')
-          }}</div>
+        }}</div>
         <div class="mt-3">
           <span class="mr-1" style="color: #8A919E">{{ $t('lumpSum') }}</span>
           <span class="white">{{ payInfo.currency }} {{ payInfo.amount }}</span>
@@ -29,7 +29,7 @@
             }}</p> -->
             <p class="font-13 text-center pb-3 text-grey font-15">{{
               item.createtime
-              }}</p>
+            }}</p>
             <div class="flex" :class="item.send_receive === 'send' ? 'justify-end' : ''">
               <template v-if="item.send_receive === 'receive'">
                 <img src="@/assets/image/service/responser.png" class="w-10 h-10 mr-5" />
@@ -66,7 +66,7 @@
 import { Uploader, showImagePreview } from 'vant'
 import { _getMsg, _getUnreadMsg, _sendMsg } from '@/service/im.api'
 import { _uploadImage } from '@/service/upload.api'
-import { ref, onMounted, onUnmounted } from "vue";
+import { ref, onMounted, onUnmounted, onBeforeUnmount } from "vue";
 import { useI18n } from "vue-i18n";
 import { throttle } from '@/utils/index'
 import { closeToast, showToast, showLoadingToast } from "vant";
@@ -256,10 +256,17 @@
 onUnmounted(() => {
   clearIntervalTimer()
 })
-
+onBeforeUnmount(() => {
+  let lastTimerId = setInterval(() => { }, 1000);
+  for (let i = 1; i <= lastTimerId; i++) {
+    clearInterval(i);
+  }
+})
 
 </script>
 <style lang="scss" scoped>
+@import "@/assets/theme/index.scss";
+
 .service-box {
   font-size: 14px;
   width: 100%;
@@ -341,6 +348,8 @@
 }
 
 .left-chatBg {
-  background: $input_background;
+  @include themify() {
+    background: themed("input_background");
+  }
 }
 </style>

--
Gitblit v1.9.3