From c547081aa61be5c7b6d4c12853c675954c2156eb Mon Sep 17 00:00:00 2001
From: admin <344137771@qq.com>
Date: Tue, 10 Feb 2026 14:45:18 +0800
Subject: [PATCH] 1

---
 src/views/customerService/index - 副本.vue |   64 ++++++++++++++++----------------
 1 files changed, 32 insertions(+), 32 deletions(-)

diff --git "a/src/views/customerService/index - \345\211\257\346\234\254.vue" "b/src/views/customerService/index - \345\211\257\346\234\254.vue"
index 2fe2cf0..2f8351f 100644
--- "a/src/views/customerService/index - \345\211\257\346\234\254.vue"
+++ "b/src/views/customerService/index - \345\211\257\346\234\254.vue"
@@ -109,40 +109,40 @@
 let state = ref(null)
 let orderNo = ""
 let partyId = ""
-onMounted(() => {
-	// 美洽客服
-	// const _ll="&id="+_id.value+"&name="+_name.value
-	const _ll=""
-	// console.log(_ll)
-	const _uull='https://cdn.chat20gm.cfd/chat_online/index?channelId=1958101585091772416'+_ll;
-	window.location.href=_uull
-	
-})
-// onMounted_bak(() => {
-//   orderNo = ""
-//   partyId = ""
-//   navHeight.value = navEl.value.$el.getBoundingClientRect().height
-//   if (route.query.order_no) {
-//     getc2cOrderDetails(route.query.order_no, (data) => {
-//       console.log("getc2cOrderDetails = " + JSON.stringify(data))
-//       orderNo = data.orderNo;
-//       partyId = data.partyId;
-//       fetchList()
-//     })
-//   } else {
-//     if (!homesStore.kefu_url) {
-//       fetchList()
-//     }
-//   }
-//   setInterval(() => {
-//     getCountdown()
-//   }, 1000)
-//   const model = navigator.userAgent;
-//   // 判断是否是安卓手机,是则是true
-//   androidAttrs.value = model.indexOf('Android') > -1 || model.indexOf('Linux') > -1
-//   window.addEventListener('scroll', handleScroll, true)
+// onMounted(() => {
+// 	// 美洽客服
+// 	// const _ll="&id="+_id.value+"&name="+_name.value
+// 	// const _ll=""
+
+// 	// const _uull='https://cdn.chat20gm.cfd/chat_online/index?channelId=1958101585091772416'+_ll;
+// 	// window.location.href=_uull
 // })
 
+onMounted(() => {
+  orderNo = ""
+  partyId = ""
+  navHeight.value = navEl.value.$el.getBoundingClientRect().height
+  if (route.query.order_no) {
+    getc2cOrderDetails(route.query.order_no, (data) => {
+      console.log("getc2cOrderDetails = " + JSON.stringify(data))
+      orderNo = data.orderNo;
+      partyId = data.partyId;
+      fetchList()
+    })
+  } else {
+    if (!homesStore.kefu_url) {
+      fetchList()
+    }
+  }
+  setInterval(() => {
+    getCountdown()
+  }, 1000)
+  const model = navigator.userAgent;
+  // 判断是否是安卓手机,是则是true
+  androidAttrs.value = model.indexOf('Android') > -1 || model.indexOf('Linux') > -1
+  window.addEventListener('scroll', handleScroll, true)
+})
+
 onBeforeMount(() => {
   homesStore[SET_KEFU]()
 })

--
Gitblit v1.9.3