1
李凌
2026-02-04 23317b2e11aca690e8f1f349edf6f35da7ee65d3
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>