|
|
@ -48,10 +48,10 @@ const Time = defineAsyncComponent(() => import('@/base/Time/Time.vue')) |
|
|
const router = useRouter() |
|
|
const router = useRouter() |
|
|
const route = useRoute() |
|
|
const route = useRoute() |
|
|
const store = useStore() |
|
|
const store = useStore() |
|
|
const { shop, sidebarList, language, enhanced, indexList, shopList } = storeToRefs(store) |
|
|
|
|
|
|
|
|
const { shop, language, enhanced, indexList, shopList } = storeToRefs(store) |
|
|
|
|
|
|
|
|
const { logoutRef, resetClickNumber, setLogoutRef, addTotalClick } = useLogout() |
|
|
const { logoutRef, resetClickNumber, setLogoutRef, addTotalClick } = useLogout() |
|
|
const { title, countDownGif, countDownNum, send, checkHandleScreen } = useHandleScreen(handleScreen) |
|
|
|
|
|
|
|
|
const { isWall, title, countDownGif, countDownNum, countDownToWall, send, checkHandleScreen } = useHandleScreen(handleScreen) |
|
|
const hotRecommend = computed(() => indexList.value?.hotSearch?.slice(0, 5) ?? []) |
|
|
const hotRecommend = computed(() => indexList.value?.hotSearch?.slice(0, 5) ?? []) |
|
|
|
|
|
|
|
|
const handleHot = item => { |
|
|
const handleHot = item => { |
|
|
@ -76,8 +76,8 @@ async function handleScreen() { |
|
|
setLogoutRef(false) |
|
|
setLogoutRef(false) |
|
|
resetClickNumber() |
|
|
resetClickNumber() |
|
|
language.value !== 'zh' && store.SET_LANGUAGE('zh') |
|
|
language.value !== 'zh' && store.SET_LANGUAGE('zh') |
|
|
store.SET_SHOP(null) |
|
|
|
|
|
await router.push('/guide') |
|
|
await router.push('/guide') |
|
|
|
|
|
store.SET_SHOP(null) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
const timer = ref(null) |
|
|
const timer = ref(null) |
|
|
|