Sfoglia il codice sorgente

docs: 多语言打开验证

chenpeng 2 mesi fa
parent
commit
26cf3d7044
1 ha cambiato i file con 3 aggiunte e 6 eliminazioni
  1. 3 6
      components/AppHeader.vue

+ 3 - 6
components/AppHeader.vue

@@ -23,15 +23,12 @@ const { t } = useI18n()
     </div>
     <div class="flex items-center ">
       <!-- 使用 t 方法获取翻译文本 -->
-      <NuxtLink to="/blog" class="underline !text-#333333">
-        <!-- {{ t('Popular_test') }} -->
-        BLOGS
-      </NuxtLink>
+      {{ t('Popular_test') }}
       <!-- <NuxtLink to="/" class="hover:underline">
         SELL ON EJET
       </NuxtLink> -->
-      <!-- <div class="w-1px bg-#D8D8D8 h-20px mx-20px" />
-      <select-lang /> -->
+      <div class="w-1px bg-#D8D8D8 h-20px mx-20px" />
+      <select-lang />
       <!-- <div class="w-1px bg-#D8D8D8 h-20px mx-20px" v-if="isLogin"/>
       <NuxtLink v-if="isLogin" to="/cart">
         <svgo-cart class="!w-24px !h-24px ml-20px" />