Selaa lähdekoodia

fix: 更新多语言及样式

lixuan 2 viikkoa sitten
vanhempi
commit
3a761566ba

+ 7 - 0
apps/web-velofex/src/components/login/login.vue

@@ -433,6 +433,13 @@ defineExpose({
                   "
                 />
                 <span class="text-sm">{{ $t('auth.agreeTerms') }}</span>
+                <a
+                  class="text-[14px] text-[#8B0046]"
+                  href="/Views/UseTerms/index.html"
+                  target="_blank"
+                >
+                  {{ $t('auth.agreeName') }}
+                </a>
               </label>
             </template>
           </RegisterForm>

+ 2 - 1
apps/web-velofex/src/locales/langs/en-US/page.json

@@ -24,7 +24,8 @@
     "verificationCode": "Verification Code",
     "mobileNumber": "Mobile Number",
     "accountName": "Account Name",
-    "agreeTerms": "I agree with user's terms",
+    "agreeTerms": "I agree with",
+    "agreeName": "User's terms",
     "newUser": "New user?",
     "createAccount": "Create an account",
     "alreadyHaveAccount": "Already have an account?",

+ 2 - 1
apps/web-velofex/src/locales/langs/zh-CN/page.json

@@ -24,7 +24,8 @@
     "verificationCode": "验证码",
     "mobileNumber": "手机号",
     "accountName": "账号名称",
-    "agreeTerms": "我同意用户条款",
+    "agreeTerms": "我同意",
+    "agreeName": "用户条款",
     "newUser": "新用户?",
     "createAccount": "创建账号",
     "alreadyHaveAccount": "已有账号?",

+ 1 - 1
apps/web-velofex/src/views/dashboard/home/delivery-partners.vue

@@ -116,7 +116,7 @@ watch(
       </div>
     </div>
     <div
-      v-else
+      v-if="!props.jurisdiction && isLogin"
       class="mt-[10px] flex flex-col items-center justify-center text-center"
     >
       <img

+ 15 - 4
apps/web-velofex/src/views/dashboard/tool-downloads/index.vue

@@ -233,9 +233,7 @@ function toggleCategory(categoryId: string) {
         </div>
       </div>
 
-      <div
-        class="h-[600px] flex-1 overflow-y-auto rounded-lg bg-white p-6 shadow-md"
-      >
+      <div class="h-[600px] flex-1 rounded-lg bg-white p-6 shadow-md">
         <div v-if="selectedTool" class="space-y-6">
           <div class="flex items-center justify-between">
             <div class="text-xl font-bold text-[#462424]">
@@ -245,11 +243,24 @@ function toggleCategory(categoryId: string) {
               class="h-[40px] rounded-[8px] bg-[#462424] px-8 text-white"
               @click="handleDownload(selectedTool.downloadUrl)"
             >
+              <svg
+                class="mr-2 h-4 w-4"
+                fill="none"
+                stroke="currentColor"
+                viewBox="0 0 24 24"
+              >
+                <path
+                  d="M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"
+                  stroke-linecap="round"
+                  stroke-linejoin="round"
+                  stroke-width="2"
+                />
+              </svg>
               {{ $t('toolDownloads.download') }}
             </Button>
           </div>
           <div
-            class="leading-relaxed text-gray-600"
+            class="h-[500px] overflow-y-auto leading-relaxed text-gray-600"
             v-html="selectedTool.body"
           ></div>
         </div>