From a47140f6c0b5706fe484a8032e936c27754bb05c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=83=A1=E9=91=AB?= <1219654535@qq.com> Date: Wed, 7 Jun 2023 17:53:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A8=E6=80=81=E9=A1=B5=E9=9D=A2=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E6=A0=B7=E5=BC=8F=20=E9=A6=96=E9=A1=B5=E8=BD=AE?= =?UTF-8?q?=E6=92=AD=E5=9B=BE=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/Carousel.vue | 12 ++++--- components/Typography.vue | 6 ++-- locales/en-UK.json | 7 +++- locales/zh-CN.json | 7 +++- pages/community/vamx.vue | 18 +++++----- pages/release/index.vue | 72 +++++++++++++++++---------------------- 6 files changed, 65 insertions(+), 57 deletions(-) diff --git a/components/Carousel.vue b/components/Carousel.vue index 7767784..dfc6dfd 100644 --- a/components/Carousel.vue +++ b/components/Carousel.vue @@ -15,27 +15,31 @@ onMounted(() => { diff --git a/components/Typography.vue b/components/Typography.vue index 94a1a06..8c56708 100644 --- a/components/Typography.vue +++ b/components/Typography.vue @@ -6,6 +6,8 @@ $defineProps<{ topicClass?: string description?: string descriptionClass?: string + linkClass?: string + linkBtnClass?: string link?: { href: string name: string @@ -27,8 +29,8 @@ $defineProps<{ description }}

- - + + {{ link?.name }} diff --git a/locales/en-UK.json b/locales/en-UK.json index 05254d2..048f27c 100644 --- a/locales/en-UK.json +++ b/locales/en-UK.json @@ -194,5 +194,10 @@ "wechat": "微信公众号:ttsetset", "waiting": "waiting...", "notfound": "not found", - "copylink": "Copy share link" + "copylink": "Copy share link", + "filtrate": "Filtrate", + "filtrate.discription": "Filter by condition", + "level": [ + "EASY", "NORMAL", "HARD" + ] } diff --git a/locales/zh-CN.json b/locales/zh-CN.json index f4b7a8f..7a3465c 100644 --- a/locales/zh-CN.json +++ b/locales/zh-CN.json @@ -189,5 +189,10 @@ "wechat": "微信公众号", "waiting": "建设中...", "notfound": "未知区域", - "copylink": "复制分享链接" + "copylink": "复制分享链接", + "filtrate": "筛选", + "filtrate.discription": "根据条件过滤", + "level": [ + "入门", "中级", "专家" + ] } diff --git a/pages/community/vamx.vue b/pages/community/vamx.vue index 55314cf..1478ad6 100644 --- a/pages/community/vamx.vue +++ b/pages/community/vamx.vue @@ -19,16 +19,16 @@ const list = computed(() => { const status = [ { - color: 'bg-rose', - text: '入门', + color: 'bg-green', + text: 'level[0]', }, { color: 'bg-amber', - text: '中级', + text: 'level[1]', }, { - color: 'bg-green', - text: '专家', + color: 'bg-rose', + text: 'level[2]', }, ] @@ -39,8 +39,8 @@ const status = [