Browse Source

讲义进度埋点

canghailong 6 tháng trước cách đây
mục cha
commit
bbcbf2e360
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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>