perf: 视频展示比例调整

This commit is contained in:
rd
2025-08-14 09:49:55 +08:00
parent f64b460e59
commit c3c0d2e40c
4 changed files with 10 additions and 7 deletions

View File

@ -46,7 +46,7 @@ onMounted(() => {
}); });
}); });
onUnmounted(() => { onUnmounted(() => {
sideBarStore.stopUnreadInfoPolling(); sidebarStore.stopUnreadInfoPolling();
}); });
</script> </script>

View File

@ -63,8 +63,9 @@
} }
.main-video-box { .main-video-box {
width: 320px; width: 320px;
height: auto; height: 472px;
background: #fff; background: #333;
aspect-ratio: 3 / 4;
} }
.main-img-box { .main-img-box {
width: 347px; width: 347px;

View File

@ -15,8 +15,9 @@ $footer-height: 68px;
} }
.main-video-box { .main-video-box {
width: 320px; width: 320px;
height: auto; height: 472px;
background: #fff; background: #333;
aspect-ratio: 3 / 4;
} }
.main-img-box { .main-img-box {
width: 320px; width: 320px;

View File

@ -15,8 +15,9 @@ $footer-height: 68px;
} }
.main-video-box { .main-video-box {
width: 320px; width: 320px;
height: auto; height: 472px;
background: #fff; background: #333;
aspect-ratio: 3 / 4;
} }
.main-img-box { .main-img-box {
width: 320px; width: 320px;