From 92de3d45198f83ede9dadbba3a6bdaf3996b6880 Mon Sep 17 00:00:00 2001 From: Phoenix <64720302+Concur-max@users.noreply.github.com> Date: Wed, 21 Feb 2024 11:54:09 +0800 Subject: [PATCH] submit --- index.html | 2 +- src/components/operateTitle/index.vue | 2 ++ src/views/logon/index.vue | 5 +++-- src/views/reg-details/index.vue | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 3b61d63..2383f41 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@ - + Vite + Vue diff --git a/src/components/operateTitle/index.vue b/src/components/operateTitle/index.vue index bb2bb5f..943750f 100644 --- a/src/components/operateTitle/index.vue +++ b/src/components/operateTitle/index.vue @@ -9,6 +9,7 @@ const goBack = () => { } const route = useRoute(); watch(route, () => { + if (route.path.includes('title-forward/upload-id-card')) { switch (route.params.active) { case '0': @@ -26,6 +27,7 @@ watch(route, () => { } } + document.title= route.meta.title }, { immediate: true }) diff --git a/src/views/logon/index.vue b/src/views/logon/index.vue index c365f70..185d3fe 100644 --- a/src/views/logon/index.vue +++ b/src/views/logon/index.vue @@ -125,12 +125,10 @@ onBeforeUnmount(() => { position: absolute; background-color: #fff; width: 331px; - height: 89px; border-radius: 12px; padding-left: 16px; padding-right: 16px; .wrap2{ - box-sizing: border-box; display: flex; padding-top: 12px; padding-bottom: 12px; @@ -148,6 +146,9 @@ onBeforeUnmount(() => { } } .wrap2_3{ + display: flex; + justify-content: center; + align-items: center; white-space: nowrap; color: #2159C4; font-size: 12px; diff --git a/src/views/reg-details/index.vue b/src/views/reg-details/index.vue index 04bbbe2..0d7c04b 100644 --- a/src/views/reg-details/index.vue +++ b/src/views/reg-details/index.vue @@ -173,7 +173,7 @@ const goRouter=()=>{
有效日期
-
{{dayjs(submitReturnData.idCardStartDate).format('YYYY年MM月DD日')}}-{{dayjs(submitReturnData.idCardEndDate).format('YYYY年MM月DD日')}}
+
{{submitReturnData.idCardStartDate?dayjs(submitReturnData.idCardStartDate).format('YYYY年MM月DD日'):''}}-{{submitReturnData.idCardEndDate?dayjs(submitReturnData.idCardEndDate).format('YYYY年MM月DD日'):''}}