| | |
| | | import store from '@/store/store' |
| | | import { LOGO, customerServiceUrl } from "@/config"; |
| | | const { t } = useI18n() |
| | | const customer_service_url = ref(customerServiceUrl) // 客服链接,有值的话就会跳转到客服外链 |
| | | |
| | | const router = useRouter() |
| | | const onRoute = (path) => { |
| | |
| | | router.go(-1) |
| | | } else { |
| | | if (path == '/customerService') { |
| | | if (customer_service_url.value) { |
| | | window.location.href = customer_service_url.value; |
| | | if (customerServiceUrl()) { |
| | | window.location.href = customerServiceUrl(); |
| | | } else { |
| | | router.push(path) |
| | | } |
| | |
| | | width: 100%; |
| | | |
| | | img { |
| | | width: 8.5rem; |
| | | width: auto; |
| | | max-width: 280px; |
| | | height: auto; |
| | | max-height: 120px; |
| | | object-fit: contain; |
| | | } |
| | | } |
| | | |