10.10综合交易所原始源码_移动端
1
admin
2026-02-10 c547081aa61be5c7b6d4c12853c675954c2156eb
src/views/customerService/index - 副本.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]()
})