This commit is contained in:
王创世 2025-04-08 09:08:12 +08:00
parent 682614ed29
commit 670431e89f
7 changed files with 31 additions and 21 deletions

1
.gitignore vendored
View File

@ -22,3 +22,4 @@ logs
.env .env
.env.* .env.*
!.env.example !.env.example
.vscode

View File

@ -39,7 +39,7 @@ export default defineNuxtConfig({
server: { server: {
proxy: { proxy: {
'/api': { '/api': {
target: "http://naweigetetest2.hschool.com.cn/", target: "https://www.navigatortrades.com/",
changeOrigin: true, changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, ''), rewrite: (path) => path.replace(/^\/api/, ''),
} }

View File

@ -640,10 +640,15 @@ const scrollToTop = () => {
.box2ybs3 { .box2ybs3 {
height: 180px; height: 180px;
} }
} }
.t4::after {
content: '';
width: 120px;
height: 20px;
background: #A3C8FF;
display: block;
margin-top: -13px;
}
.box19y { .box19y {
padding-right: 10px; padding-right: 10px;
} }

View File

@ -33,7 +33,7 @@
<div class="flex flex-col items-center animated fadeInUp"> <div class="flex flex-col items-center animated fadeInUp">
<img class="w-[120px] h-[120px] md:w-[150px] md:h-[150px] object-cover mb-4" src="/images/group53.png"> <img class="w-[120px] h-[120px] md:w-[150px] md:h-[150px] object-cover mb-4" src="/images/group53.png">
<div class="oneBox1Bg1imgt"> <div class="oneBox1Bg1imgt">
<h3 class="text-xl md:text-2xl font-medium text-[#333]">{{ locale=='zh'?info.about_desc:info.en_about_desc }}</h3> <h3 class="text-xl md:text-2xl font-medium text-[#333]">{{ $t('about_a3') }}</h3>
</div> </div>
</div> </div>
@ -125,12 +125,12 @@ const getInfo=()=>{
.aboutTit h2::after { .aboutTit h2::after {
content: ''; content: '';
margin-top: -20px; margin-top: -15px;
width: 100%; width: 100%;
height: 20px; height: 20px;
@media (min-width: 768px) { @media (min-width: 768px) {
margin-top: -30px; margin-top: -25px;
width: 598px; width: 450px;
height: 34px; height: 34px;
} }
background: #A8CBFF; background: #A8CBFF;

View File

@ -121,13 +121,13 @@ const getList = () => {
width: 180px; width: 180px;
height: 20px; height: 20px;
@media (min-width: 768px) { @media (min-width: 768px) {
width: 300px; width: 250px;
height: 28px; height: 28px;
margin-top: -30px; margin-top: -15px;
} }
background: #A8CBFF; background: #A8CBFF;
display: block; display: block;
margin-top: -20px; margin-top: -15px;
} }
.clientBox1 h3 { .clientBox1 h3 {
@ -144,10 +144,10 @@ const getList = () => {
.clientBg1imgt h3::after { .clientBg1imgt h3::after {
content: ''; content: '';
width: 150px; width: 100%;
height: 16px; height: 16px;
@media (min-width: 768px) { @media (min-width: 768px) {
margin-top: -20px; margin-top: -10px;
width: 100%; width: 100%;
height: 20px; height: 20px;
margin-left: -4px; margin-left: -4px;

View File

@ -115,6 +115,9 @@ const submitForm = () => {
}else{ }else{
alert(t('contact_error')) alert(t('contact_error'))
} }
formData.name = '';
formData.mobile = '';
formData.content = '';
}) })
.catch((err) => { .catch((err) => {
console.dir(err) console.dir(err)
@ -199,7 +202,7 @@ const shareToX = () => {
line-height: 20px; 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::placeholder {color: #A8CBFF;}
.contactInput:focus {outline: none;} .contactInput:focus {outline: none;}
@media (max-width: 768px) { @media (max-width: 768px) {
@ -208,7 +211,7 @@ const shareToX = () => {
height: 40px; 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::placeholder {color: #A8CBFF;}
#myTextarea:focus {outline: none;} #myTextarea:focus {outline: none;}
@media (max-width: 768px) { @media (max-width: 768px) {

View File

@ -233,9 +233,10 @@ const getCurrentLanguage = () => {
width: 120px; width: 120px;
height: 20px; height: 20px;
@media (min-width: 768px) { @media (min-width: 768px) {
width: 200px; width: 100%;
height: 28px; height: 28px;
margin-top: -30px; margin: 0 auto;
margin-top: -15px;
} }
background: #A8CBFF; background: #A8CBFF;
display: block; display: block;