| | |
| | | import img1 from "@/assets/image/slider/1.png"; |
| | | import img2 from "@/assets/image/slider/2.png"; |
| | | import { useI18n } from 'vue-i18n' |
| | | import { customerServiceUrl } from "@/config"; |
| | | import { useRouter } from 'vue-router'; |
| | | import { ref, onMounted, reactive, onUnmounted } from 'vue'; |
| | | import { showToast } from "vant"; |
| | |
| | | if (path == 'back') { |
| | | router.go(-1) |
| | | } else { |
| | | if (path == '/customerService') { |
| | | if (customerServiceUrl()) { |
| | | window.location.href = customerServiceUrl(); |
| | | } else { |
| | | router.push(path) |
| | | } |
| | | } else { |
| | | router.push(path) |
| | | } |
| | | router.push(path) |
| | | } |
| | | } |
| | | const userStore = useUserStore(); |