diff --git a/public/QRCodeBottom.png b/public/QRCodeBottom.png new file mode 100644 index 0000000..1cadbde Binary files /dev/null and b/public/QRCodeBottom.png differ diff --git a/src/components/ContactUs.vue b/src/components/ContactUs.vue new file mode 100644 index 0000000..773b41e --- /dev/null +++ b/src/components/ContactUs.vue @@ -0,0 +1,13 @@ + + + + + diff --git a/src/components/Footer.vue b/src/components/Footer.vue index 7374677..4a27f30 100644 --- a/src/components/Footer.vue +++ b/src/components/Footer.vue @@ -1,6 +1,39 @@ @@ -18,25 +51,53 @@ export default { #footerroot { + display: flex; background-color: black; width:100%; + align-items: center; justify-content: center; } #footercontent { + color:white; +} +.itemtitle +{ + width: 179px; + height: 60px; + overflow-wrap: break-word; + color: rgba(255, 255, 255, 0.6); + font-size: 16px; + font-family: PingFangSC-Regular; + font-weight: normal; + text-align: left; + line-height: 30px; +} +.itemcontent +{ + width: 198px; + height: 60px; + overflow-wrap: break-word; + color: rgba(255, 255, 255, 1); + font-size: 20px; + font-family: PingFangSC-Regular; + font-weight: normal; + text-align: left; + line-height: 30px; } @include media-breakpoint-between(xs, md) { #footerroot { - background-color: black; - width:100%; - justify-content: center; - height:806px; + min-height:806px; } - #footercontent - { + #footercontent{ + display: grid; + max-width: 304px; + min-height: 614px; + grid-template-columns: repeat(1, 1fr); /* 1列等分 */ + grid-template-rows: repeat(8,minmax(60px,1fr)); /* 8行高度120px */ } } @@ -44,15 +105,14 @@ export default { @include media-breakpoint-up(md) { #footerroot { - background-color: black; - width:100%; - justify-content: center; - height: 759px; + min-height: 759px; } #footercontent { - width:1912px; - align-content: center; + width:714px; + min-height: 338px; + grid-template-columns: repeat(2, 1fr); /* 2列等分 */ + grid-template-rows: repeat(4, 60px); /* 2行高度120px */ } } diff --git a/vite.config.js b/vite.config.js index de5cb31..af9b58f 100644 --- a/vite.config.js +++ b/vite.config.js @@ -6,6 +6,10 @@ import vue from '@vitejs/plugin-vue' // https://vitejs.dev/config/ export default defineConfig({ plugins: [vue()], + server: { + host: '0.0.0.0', + port: 8991 + }, resolve: { alias: { '@': fileURLToPath(new URL('./src', import.meta.url))