From 929253ffd276ca51c3742dcfe783e948803beef4 Mon Sep 17 00:00:00 2001 From: zhangkai <847704969@qq.com> Date: Tue, 22 Apr 2025 19:23:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E4=BA=A7=E5=93=81=E5=88=97?= =?UTF-8?q?=E8=A1=A8=20=E8=AF=A6=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/AppHeader.vue | 22 +- pages/index_clients.vue | 9 +- pages/index_product_s.vue | 354 ------------------ pages/index_product_t.vue | 354 ------------------ ...index_product_f.vue => index_products.vue} | 62 ++- pages/product/[id].vue | 301 +++++++++++++++ plugins/locales/en.ts | 17 +- plugins/locales/zh.ts | 16 +- public/images/zixun.png | Bin 0 -> 769 bytes 9 files changed, 368 insertions(+), 767 deletions(-) delete mode 100644 pages/index_product_s.vue delete mode 100644 pages/index_product_t.vue rename pages/{index_product_f.vue => index_products.vue} (79%) create mode 100644 pages/product/[id].vue create mode 100644 public/images/zixun.png diff --git a/components/AppHeader.vue b/components/AppHeader.vue index e6be020..78bfb3b 100644 --- a/components/AppHeader.vue +++ b/components/AppHeader.vue @@ -49,19 +49,10 @@ {{ locale == 'zh' ? web_site_cate.biaoti7 : web_site_cate.biaoti7_en }} -
  • - {{ locale == 'zh' ? web_site_cate.biaoti5 : web_site_cate.biaoti5_en }} - +
  • + + {{ locale == 'zh' ? web_site_cate.biaoti5 : web_site_cate.biaoti5_en }} +
  • @@ -106,6 +97,11 @@ {{ $t('index_contact') }} +
  • + + {{ $t('index_products') }} + +
  • 中文版 English diff --git a/pages/index_clients.vue b/pages/index_clients.vue index c0302b3..fda2777 100644 --- a/pages/index_clients.vue +++ b/pages/index_clients.vue @@ -36,8 +36,8 @@
    - Client - +
    @@ -64,7 +64,7 @@ import { useI18n } from 'vue-i18n' import { useStore } from '~/store' // 导入 Swiper 相关模块 import { Swiper, SwiperSlide } from 'swiper/vue' -import { Navigation, Pagination, Autoplay } from 'swiper/modules' +import { Navigation, Pagination, Autoplay,Thumbs } from 'swiper/modules' import 'swiper/css' import 'swiper/css/navigation' import 'swiper/css/pagination' @@ -76,6 +76,7 @@ const { locale } = useI18n() const SwiperNavigation = Navigation const SwiperPagination = Pagination const SwiperAutoplay = Autoplay +const SwiperThumbs = Thumbs onMounted(() => { getList(); diff --git a/pages/index_product_s.vue b/pages/index_product_s.vue deleted file mode 100644 index 1947d8e..0000000 --- a/pages/index_product_s.vue +++ /dev/null @@ -1,354 +0,0 @@ - - - - - diff --git a/pages/index_product_t.vue b/pages/index_product_t.vue deleted file mode 100644 index 1947d8e..0000000 --- a/pages/index_product_t.vue +++ /dev/null @@ -1,354 +0,0 @@ - - - - - diff --git a/pages/index_product_f.vue b/pages/index_products.vue similarity index 79% rename from pages/index_product_f.vue rename to pages/index_products.vue index 1947d8e..ba7fa0e 100644 --- a/pages/index_product_f.vue +++ b/pages/index_products.vue @@ -1,17 +1,17 @@