diff --git a/.gitignore b/.gitignore index 8251194..0b9c001 100644 --- a/.gitignore +++ b/.gitignore @@ -89,3 +89,6 @@ sw.* # Vim swap files *.swp dist.zip + +.specstory/history/ +.cursorindexingignore diff --git a/.specstory/.project.json b/.specstory/.project.json new file mode 100644 index 0000000..cf0c0aa --- /dev/null +++ b/.specstory/.project.json @@ -0,0 +1,6 @@ +{ + "workspace_id": "6bd1-6b72-4fd1-06ef", + "workspace_id_at": "2025-04-29T01:32:19.325Z", + "git_id": "6d07-2686-bb33-e057", + "git_id_at": "2025-04-29T01:32:19.769Z" +} \ No newline at end of file diff --git a/components/Location.vue b/components/Location.vue new file mode 100644 index 0000000..4d2e37d --- /dev/null +++ b/components/Location.vue @@ -0,0 +1,210 @@ + + + + + diff --git a/nuxt.config.js b/nuxt.config.js index a11dc66..9a63fa0 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -22,7 +22,10 @@ export default { innerHTML: `(function(d,w,c){if(w[c])return;var s=d.createElement("script");w[c]=function(){(w[c].z=w[c].z||[]).push(arguments);};s.async=true;s.src="https://static.ahc.ink/hecong.js";if(d.head)d.head.appendChild(s);})(document,window,"_AIHECONG");_AIHECONG("ini",{channelId:"9BgJ9p"});`, type: 'text/javascript', body: true - } + }, + ], + link: [ + { rel: "icon", type: "image/x-icon", href: "favicon.ico" } ], __dangerouslyDisableSanitizers: ['script'], // 允许内联脚本 htmlAttrs: { diff --git a/pages/contactUs.vue b/pages/contactUs.vue index e687ec8..49163a2 100644 --- a/pages/contactUs.vue +++ b/pages/contactUs.vue @@ -28,12 +28,13 @@ 我们将尽快给您回复 We will respond as soon as possible

- - @@ -58,6 +55,7 @@ import NavMenu from "../components/NavMenu.vue"; import FooterMenu from "../components/FooterMenu.vue"; import { contactLinks } from "../static/js/contact_link.js"; import {updateTDK} from "../assets/js/dynamic-tdk.js"; +import Location from "../components/Location.vue" export default { components: { @@ -92,6 +90,8 @@ export default { min-height: 100vh; background: url("../assets/back/ri.webp") no-repeat; background-size: 100% 100%; + /* background-size: fit; */ + object-fit: fill; display: flex; justify-content: left; padding: 0 clamp(2rem, 10vw, 16rem); @@ -108,6 +108,7 @@ export default { align-self: end; margin-bottom: 15%; min-height: 58%; + bottom: 145px; } .contact-form-container { background-color: rgba(255, 255, 255, 0.8); /* 半透明白色背景 */ @@ -203,17 +204,25 @@ export default { background: url("../assets/back/ri2.webp") no-repeat; background-size: 100% 100%; padding: 0; + flex-direction: column; + align-items: center; } .contact-form-container { width: 90%; - margin: 0 auto; - height: 68%; + margin: 20px auto; + height: auto; min-width: 90%; max-width: 90%; } - .footer-social{ - display: none; + + .footer-social { + position: relative; + display: block; + margin: 20px auto; + width: 90%; + min-height: auto; + bottom: 0; } } diff --git a/static/favicon.ico b/static/favicon.ico index d751f60..120635e 100644 Binary files a/static/favicon.ico and b/static/favicon.ico differ diff --git a/static/images/location.png b/static/images/location.png new file mode 100644 index 0000000..ad2c180 Binary files /dev/null and b/static/images/location.png differ diff --git a/static/images/phone.webp b/static/images/phone.webp new file mode 100644 index 0000000..ee143a4 Binary files /dev/null and b/static/images/phone.webp differ