修改评论下沉显示逻辑
parent
36b09a2179
commit
e31af20dbc
|
|
@ -40,6 +40,7 @@
|
|||
请选择文件,最多可以上传{{ propMaxNum }}个
|
||||
</view>
|
||||
</template>
|
||||
<!-- 视频预览 -->
|
||||
<uni-popup ref="popup" type="center" border-radius="20rpx" class="forminput-popup" mask-background-color="rgba(0,0,0,0.8)">
|
||||
<view class="wh-auto ht-auto">
|
||||
<view class="popup-close oh" @tap="popup_close">
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue