统一分辨率切换值

This commit is contained in:
yuanshan 2025-10-10 16:53:47 +08:00
parent 54b1d1551d
commit 52d9083813
5 changed files with 6 additions and 6 deletions

View File

@ -15,9 +15,9 @@ const { t } = useI18n();
const viewComponent = computed(() => {
const viewWidth = width.value;
if (viewWidth <= 500) {
if (viewWidth <= 450) {
return size375;
} else if (viewWidth <= 960) {
} else if (viewWidth <= 1100) {
return size768;
} else if (viewWidth <= 1500) {
return size1440;

View File

@ -15,7 +15,7 @@ const { t } = useI18n();
const viewComponent = computed(() => {
const viewWidth = width.value;
if (viewWidth <= 500) {
if (viewWidth <= 450) {
return size375;
} else if (viewWidth <= 1100) {
return size768;

View File

@ -16,7 +16,7 @@ const viewComponent = computed(() => {
const viewWidth = width.value;
if (viewWidth <= 450) {
return size375;
} else if (viewWidth <= 768) {
} else if (viewWidth <= 1100) {
return size768;
} else if (viewWidth <= 1500) {
return size1440;

View File

@ -16,7 +16,7 @@ const viewComponent = computed(() => {
const viewWidth = width.value;
if (viewWidth <= 450) {
return size375;
} else if (viewWidth <= 768) {
} else if (viewWidth <= 1100) {
return size768;
} else if (viewWidth <= 1500) {
return size1440;

View File

@ -16,7 +16,7 @@ const viewComponent = computed(() => {
const viewWidth = width.value;
if (viewWidth <= 450) {
return size375;
} else if (viewWidth <= 768) {
} else if (viewWidth <= 1100) {
return size768;
} else if (viewWidth <= 1500) {
return size1440;