修改页面显示

master
于肖磊 2026-03-13 16:43:16 +08:00
parent 47adfa1816
commit c34de3be62
1 changed files with 2 additions and 2 deletions

View File

@ -356,8 +356,8 @@
commentContentStyle() {
const baseHeight = Math.round(this.windowHeight * 0.7);
return this.show_comment_modal && this.move_distance > 0
? `transform: translateY(3px); width:${this.windowWidth}px; height: ${baseHeight - 10 - this.move_distance}px;`
: `transform: translateY(0); width:${this.windowWidth}px; height: ${baseHeight + 10}px;`;
? `transform: translateY(3px); width:${this.windowWidth}px; height: ${baseHeight - this.move_distance}px;`
: `transform: translateY(0); width:${this.windowWidth}px; height: ${baseHeight}px;`;
},
// 当前播放视频的索引
current_video_index() {