diff --git a/.gitignore b/.gitignore index 4a7f73a..676f52a 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,4 @@ logs .env .env.* !.env.example +.vscode diff --git a/nuxt.config.ts b/nuxt.config.ts index 3c8ca3b..78e2d17 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -39,7 +39,7 @@ export default defineNuxtConfig({ server: { proxy: { '/api': { - target: "http://naweigetetest2.hschool.com.cn/", + target: "https://www.navigatortrades.com/", changeOrigin: true, rewrite: (path) => path.replace(/^\/api/, ''), } diff --git a/pages/index.vue b/pages/index.vue index 634b1a7..54e1924 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -431,10 +431,10 @@ const getNewsList = () => { console.dir(err) }) } -const top_one=ref({}); -const top_two=ref({}); -const top_three=ref({}); -const top_four=ref({}); +const top_one = ref({}); +const top_two = ref({}); +const top_three = ref({}); +const top_four = ref({}); const topOneList = () => { $api.get("/api/sys_config?name=top_one") .then((res: any) => { @@ -640,10 +640,15 @@ const scrollToTop = () => { .box2ybs3 { height: 180px; } - - } - +.t4::after { + content: ''; + width: 120px; + height: 20px; + background: #A3C8FF; + display: block; + margin-top: -13px; + } .box19y { padding-right: 10px; } diff --git a/pages/index_about.vue b/pages/index_about.vue index 48d95c0..dc56ecb 100644 --- a/pages/index_about.vue +++ b/pages/index_about.vue @@ -33,7 +33,7 @@
-

{{ locale=='zh'?info.about_desc:info.en_about_desc }}

+

{{ $t('about_a3') }}

@@ -125,12 +125,12 @@ const getInfo=()=>{ .aboutTit h2::after { content: ''; - margin-top: -20px; + margin-top: -15px; width: 100%; height: 20px; @media (min-width: 768px) { - margin-top: -30px; - width: 598px; + margin-top: -25px; + width: 450px; height: 34px; } background: #A8CBFF; diff --git a/pages/index_clients.vue b/pages/index_clients.vue index b2950fd..c0302b3 100644 --- a/pages/index_clients.vue +++ b/pages/index_clients.vue @@ -121,13 +121,13 @@ const getList = () => { width: 180px; height: 20px; @media (min-width: 768px) { - width: 300px; + width: 250px; height: 28px; - margin-top: -30px; + margin-top: -15px; } background: #A8CBFF; display: block; - margin-top: -20px; + margin-top: -15px; } .clientBox1 h3 { @@ -144,10 +144,10 @@ const getList = () => { .clientBg1imgt h3::after { content: ''; - width: 150px; + width: 100%; height: 16px; @media (min-width: 768px) { - margin-top: -20px; + margin-top: -10px; width: 100%; height: 20px; margin-left: -4px; diff --git a/pages/index_contact.vue b/pages/index_contact.vue index b6dbe2b..54412af 100644 --- a/pages/index_contact.vue +++ b/pages/index_contact.vue @@ -115,6 +115,9 @@ const submitForm = () => { }else{ alert(t('contact_error')) } + formData.name = ''; + formData.mobile = ''; + formData.content = ''; }) .catch((err) => { console.dir(err) @@ -199,7 +202,7 @@ const shareToX = () => { line-height: 20px; } } -.contactInput{border: 0px solid;border-bottom:1px solid #A8CBFF;font-size: 24px;color: #A8CBFF;height: 50px;} +.contactInput{border: 0px solid;border-bottom:1px solid #A8CBFF;font-size: 24px;color: #000;height: 50px;} .contactInput::placeholder {color: #A8CBFF;} .contactInput:focus {outline: none;} @media (max-width: 768px) { @@ -208,7 +211,7 @@ const shareToX = () => { height: 40px; } } -#myTextarea {padding: 10px;border-radius: 10px;margin-top: 32px;border: 1px solid #A8CBFF;font-weight: 400;font-size: 22px;color: #A8CBFF;line-height: 22px;resize: none; /* 禁止用户调整文本域大小 */} +#myTextarea {padding: 10px;border-radius: 10px;margin-top: 32px;border: 1px solid #A8CBFF;font-weight: 400;font-size: 22px;color: #000;line-height: 22px;resize: none; /* 禁止用户调整文本域大小 */} #myTextarea::placeholder {color: #A8CBFF;} #myTextarea:focus {outline: none;} @media (max-width: 768px) { diff --git a/pages/index_news.vue b/pages/index_news.vue index cbf383e..ac6aa5f 100644 --- a/pages/index_news.vue +++ b/pages/index_news.vue @@ -233,9 +233,10 @@ const getCurrentLanguage = () => { width: 120px; height: 20px; @media (min-width: 768px) { - width: 200px; + width: 100%; height: 28px; - margin-top: -30px; + margin: 0 auto; + margin-top: -15px; } background: #A8CBFF; display: block;