From 8bf8a3814f6921b64c288a0c69d60e89a67eb70b Mon Sep 17 00:00:00 2001 From: XaoLi717 <144221124+XaoLi717@users.noreply.github.com> Date: Fri, 1 Nov 2024 13:34:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=A6=96=E9=A1=B5=E4=BC=98?= =?UTF-8?q?=E5=8C=96,=E5=8E=BB=E6=8E=89=E4=B8=AA=E4=BA=BA=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E4=B8=8B=E7=9A=84=E9=A1=B9=E7=9B=AE=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/UserInfo/src/UserInfo.vue | 8 ++++---- src/views/Home/Index.vue | 19 ++++++++++--------- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/src/layout/components/UserInfo/src/UserInfo.vue b/src/layout/components/UserInfo/src/UserInfo.vue index 5c5e373..8141217 100644 --- a/src/layout/components/UserInfo/src/UserInfo.vue +++ b/src/layout/components/UserInfo/src/UserInfo.vue @@ -68,10 +68,10 @@ const toDocument = () => {
{{ t('common.profile') }}
- - -
{{ t('common.document') }}
-
+ + + +
{{ t('lock.lockScreen') }}
diff --git a/src/views/Home/Index.vue b/src/views/Home/Index.vue index 76047a1..26ef63d 100644 --- a/src/views/Home/Index.vue +++ b/src/views/Home/Index.vue @@ -13,7 +13,7 @@ target="_blank" style="margin-top: 10px" > - 更多>> + {{ t('action.more') }} >> @@ -43,7 +43,7 @@ target="_blank" style="margin-top: 10px" > - 更多>> + {{ t('action.more') }} >> @@ -69,7 +69,7 @@ target="_blank" style="margin-top: 10px" > - 更多>> + {{ t('action.more') }} >> @@ -98,7 +98,7 @@ @click.prevent="more" style="margin-top: 10px" > - 更多>> + {{ t('action.more') }} >> @@ -180,7 +180,7 @@ target="_blank" style="margin-top: 10px" > - 更多>> + {{ t('action.more') }} >> @@ -206,7 +206,7 @@ target="_blank" style="margin-top: 10px" > - 更多>> + {{ t('action.more') }} >> @@ -235,7 +235,7 @@ @click.prevent="moreNews" style="margin-top: 10px" > - 更多>> + {{ t('action.more') }} >> @@ -267,7 +267,7 @@ target="_blank" style="margin-top: 10px" > - 更多>> + {{ t('action.more') }} >> @@ -296,7 +296,7 @@ target="_blank" style="margin-top: 10px" > - 更多>> + {{ t('action.more') }} >> @@ -351,6 +351,7 @@ const { push } = useRouter() defineOptions({ name: 'Home' }) +const { t } = useI18n() const loading = ref(false) const imgList = ref([]) // 列表的数据 const total = ref(0) // 列表的总页数