From 226057ce8f3520590936ffe71e23df71c6821782 Mon Sep 17 00:00:00 2001 From: xingyy <64720302+Concur-max@users.noreply.github.com> Date: Wed, 12 Feb 2025 16:50:52 +0800 Subject: [PATCH] =?UTF-8?q?feat(i18n):=20=E4=BC=98=E5=8C=96=E5=9B=BD?= =?UTF-8?q?=E9=99=85=E5=8C=96=E6=96=87=E6=A1=88=E5=B9=B6=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E9=80=9A=E7=94=A8=E6=8B=8D=E5=8D=96=E6=9C=AF=E8=AF=AD-=20?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BA=86=E5=A4=9A=E4=B8=AA=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E4=B8=AD=E7=9A=84=E5=9B=BD=E9=99=85=E5=8C=96=E6=96=87=E6=A1=88?= =?UTF-8?q?=EF=BC=8C=E4=BD=BF=E5=85=B6=E6=9B=B4=E5=8A=A0=E7=BB=9F=E4=B8=80?= =?UTF-8?q?=E5=92=8C=E5=87=86=E7=A1=AE=20-=20=E5=9C=A8=20zh-CN.json=20?= =?UTF-8?q?=E4=B8=AD=E6=B7=BB=E5=8A=A0=E4=BA=86"common"=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=EF=BC=8C=E7=94=A8=E4=BA=8E=E5=AD=98=E5=82=A8=E9=80=9A=E7=94=A8?= =?UTF-8?q?=E6=8B=8D=E5=8D=96=E6=9C=AF=E8=AF=AD=20-=20=E8=B0=83=E6=95=B4?= =?UTF-8?q?=E4=BA=86=E9=83=A8=E5=88=86=E7=BB=84=E4=BB=B6=E7=9A=84=E5=B8=83?= =?UTF-8?q?=E5=B1=80=E5=92=8C=E6=A0=B7=E5=BC=8F=EF=BC=8C=E4=BB=A5=E6=9B=B4?= =?UTF-8?q?=E5=A5=BD=E5=9C=B0=E5=B1=95=E7=A4=BA=E5=9B=BD=E9=99=85=E5=8C=96?= =?UTF-8?q?=E6=96=87=E6=A1=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/components/AppHeader.vue | 8 +- app/components/drag-window/index.vue | 199 ++++++++++++++++++ app/components/itemDetail/index.vue | 12 +- app/pages/countryRegion/index.vue | 1 - app/pages/home/components/ItemList/index.vue | 3 +- app/pages/home/index.vue | 18 +- app/pages/index.vue | 1 - .../components/SideButton/tangPopup.vue | 2 +- app/pages/login/index.vue | 3 +- app/pages/profile/index.vue | 3 + app/pages/test/index.client.vue | 24 --- app/stores/live/index.js | 24 +-- i18n/locales/zh-CN.json | 31 ++- 13 files changed, 269 insertions(+), 60 deletions(-) create mode 100644 app/components/drag-window/index.vue delete mode 100644 app/pages/test/index.client.vue diff --git a/app/components/AppHeader.vue b/app/components/AppHeader.vue index d8dca6a..598c472 100644 --- a/app/components/AppHeader.vue +++ b/app/components/AppHeader.vue @@ -1,9 +1,11 @@ + + + + \ No newline at end of file diff --git a/app/components/itemDetail/index.vue b/app/components/itemDetail/index.vue index 43ce8b2..c6e8f92 100644 --- a/app/components/itemDetail/index.vue +++ b/app/components/itemDetail/index.vue @@ -20,29 +20,29 @@ const props = defineProps({
{{detailInfo?.artworkTitle}}
-
作者:
+
{{$t('detail.text1')}}:
{{detailInfo?.artwork?.artistName??'-'}}
-
总平尺数:
+
{{$t('detail.text2')}}:
{{detailInfo?.artwork?.ruler??'-'}}
-
长*宽:
+
{{$t('detail.text3')}}*{{$t('detail.text4')}}:
{{detailInfo?.artwork?.length}}*{{detailInfo?.artwork?.width}}cm
-
画作简介:
+
{{$t('detail.text5')}}:
{{detailInfo?.artwork?.abstract??'-'}}
-
起拍价:
+
{{$t('detail.text6')}}:
RMB 1,000
-
竞价表:
+
{{$t('detail.text7')}}:
diff --git a/app/pages/countryRegion/index.vue b/app/pages/countryRegion/index.vue index d6dacf5..fc4efd5 100644 --- a/app/pages/countryRegion/index.vue +++ b/app/pages/countryRegion/index.vue @@ -5,7 +5,6 @@ import countryCode from './data/index.js'; import { useI18n } from 'vue-i18n' import { useRouter } from 'vue-router' definePageMeta({ - title: '国家地区', i18n: 'countryRegion.title', }) const router = useRouter() diff --git a/app/pages/home/components/ItemList/index.vue b/app/pages/home/components/ItemList/index.vue index dfdeb9b..d2e46f1 100644 --- a/app/pages/home/components/ItemList/index.vue +++ b/app/pages/home/components/ItemList/index.vue @@ -52,12 +52,11 @@ const openShow = async (item) => {
{ fullLive.value = true; }; -if (!auctionDetail.value.uuid){ +if (!auctionDetail.value.uuid) { await getAuctionDetail() } @@ -18,7 +19,15 @@ if (!auctionDetail.value.uuid){