diff --git a/pages/form-input/components/form-input/modules/uploads.vue b/pages/form-input/components/form-input/modules/uploads.vue index 644cdf84..b1dcdf0e 100644 --- a/pages/form-input/components/form-input/modules/uploads.vue +++ b/pages/form-input/components/form-input/modules/uploads.vue @@ -40,6 +40,7 @@ 请选择文件,最多可以上传{{ propMaxNum }}个 + diff --git a/pages/plugins/video/detail/detail.vue b/pages/plugins/video/detail/detail.vue index 91c2d4d9..0fbd69ef 100644 --- a/pages/plugins/video/detail/detail.vue +++ b/pages/plugins/video/detail/detail.vue @@ -327,7 +327,7 @@ return this.show_comment_modal ? (this.move_distance > 0 ? `height: calc(30% + ${this.move_distance}px);` : 'height: 30%;') : 'height: 100%;'; }, commentContentStyle() { - return this.show_comment_modal && this.move_distance > 0 ? `transform: translateY(3px); height: calc(70% - ${this.move_distance}px);` : `transform: translateY(0); height: 70%;`; + return this.show_comment_modal && this.move_distance > 0 ? `transform: translateY(3px); height: calc(70% + 20rpx - ${this.move_distance}px);` : `transform: translateY(0); height: calc(70% + 20rpx);`; }, current_video_index() { return this.video_data_list.findIndex(item => item.id == this.current_video_id);