소스 검색

讲义进度埋点

canghailong 6 달 전
부모
커밋
bbcbf2e360
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      src/views/student/classCentre/handouts.vue

+ 2 - 1
src/views/student/classCentre/handouts.vue

@@ -1,5 +1,5 @@
 <template>
-	<div style="height: 900px;overflow-y: auto;">
+	<div style="height: 100%;overflow-y: auto;">
 		<div v-if="!showPdf">渲染pdf失败</div>
 		<div class="mb-4" v-if="showPdf">
 			<a-button type="primary" @click="downPdf">下载讲义</a-button>
@@ -10,6 +10,7 @@
 			ref="scrollDiv"
 			@scroll="handleScroll"
 			:options="{width:'100%'}"
+			style="height:calc(100% - 50px);"
 		/>
 	</div>
 </template>