chore: 更新图片资源并调整Vue配置

将部分图片资源从SVG格式更改为PNG格式,以提高兼容性。同时,调整Vue配置以禁用开发服务器的错误覆盖层。
This commit is contained in:
DESKTOP-RQ919RC\Pc 2025-04-10 18:04:51 +08:00
parent 457b67a812
commit a320cb9d97
6 changed files with 6 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 307 KiB

After

Width:  |  Height:  |  Size: 133 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 115 KiB

View File

@ -61,7 +61,7 @@
</div> </div>
<div class="information-box-right"> <div class="information-box-right">
<div class="block mini flexcenter"> <div class="block mini flexcenter">
<img class="bj" src="@/assets/homeImage/mini-bj.svg" /> <img class="bj" src="@/assets/homeImage/mini-bj.png" />
<img class="img" src="https://oss.gter.net/Zvt57TuJSUvkyhw-xG7Y2l-c_5gpdHfqqsgFptxhT66SWgrlI64uMxcfWaHf9cMB8t1dD3zZ5RLrizQ0Mjk~" /> <img class="img" src="https://oss.gter.net/Zvt57TuJSUvkyhw-xG7Y2l-c_5gpdHfqqsgFptxhT66SWgrlI64uMxcfWaHf9cMB8t1dD3zZ5RLrizQ0Mjk~" />
</div> </div>
<div class="block QRCode flexcenter"> <div class="block QRCode flexcenter">
@ -348,12 +348,12 @@ const publicJump = path => {
const otherPlatforms = [ const otherPlatforms = [
{ {
image: require("@/assets/homeImage/red-book.svg"), image: require("@/assets/homeImage/red-book.png"),
qrcode: require("@/assets/homeImage/red-book-code.png"), qrcode: require("@/assets/homeImage/red-book-code.png"),
name: "小红书扫码关注", name: "小红书扫码关注",
}, },
{ {
image: require("@/assets/homeImage/see-apartment.svg"), image: require("@/assets/homeImage/see-apartment.png"),
qrcode: require("@/assets/homeImage/see-apartment-code.png"), qrcode: require("@/assets/homeImage/see-apartment-code.png"),
name: "微信扫码关注", name: "微信扫码关注",
}, },

View File

@ -41,6 +41,9 @@ module.exports = defineConfig({
}, },
devServer: { devServer: {
hot: true, hot: true,
client: {
overlay: false
},
proxy: { proxy: {
'/Api': { '/Api': {
target: 'https://app.gter.net',//请求的接口的前缀 target: 'https://app.gter.net',//请求的接口的前缀