style(survey): 调整预览页面容器样式
- 移除了 v-memo 指令 - 添加了 preview-container 类的 height 属性 - 调整了 max-height 属性的计算方式
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<!-- <layout />-->
|
||||
<div ref="scrollbar" class="preview-container" v-memo="[currentSn]">
|
||||
<div ref="scrollbar" class="preview-container">
|
||||
<!-- <van-nav-bar :title="getDomString(questionsData?.survey?.title)" left-arrow />-->
|
||||
|
||||
<!-- 进度条 -->
|
||||
@@ -1315,6 +1315,7 @@ function clearAnswer(questions) {
|
||||
|
||||
.preview-container {
|
||||
overflow: scroll;
|
||||
height: 100%;
|
||||
max-height: calc(100vh - var(--sticky-top-height) - 65px - 40px);
|
||||
|
||||
//min-height: calc(100vh - 100px);
|
||||
|
||||
Reference in New Issue
Block a user