Forráskód Böngészése

笔记/问答样式调整

canghailong 6 hónapja
szülő
commit
a7dc37b69f

+ 6 - 10
src/views/student/classCentre/index.vue

@@ -67,21 +67,17 @@
 				<div style="display: flex; justify-content: center">
 					<a-card :bordered="false" class="mt-2" style="width: 1200px">
 						<a-tabs v-model:activeKey="tabsActiveKey">
-							<a-tab-pane key="1" tab="讲义" style="height: 900px">
+							<a-tab-pane key="1" tab="讲义" style="height: 800px">
 								<handouts :itemObj="itemObj" :hourId="classHourData.id" v-if="classHourData"></handouts>
 							</a-tab-pane>
-							<a-tab-pane key="2" tab="字幕">
+							<a-tab-pane key="2" tab="字幕" style="height: 800px">
 								<subtitleBox :url="danmuObj.url" v-if="tabsActiveKey == 2" @videoSpeed="videoSpeed"></subtitleBox>
 							</a-tab-pane>
-							<a-tab-pane key="3" tab="笔记">
-								<div style="min-height: 600px">
-									<note :idsObj="idsObj" ref="noteRef" v-if="tabsActiveKey == 3" @edit="noteEdit"></note>
-								</div>
+							<a-tab-pane key="3" tab="笔记" style="min-height: 800px">
+								<note :idsObj="idsObj" ref="noteRef" v-if="tabsActiveKey == 3" @edit="noteEdit"></note>
 							</a-tab-pane>
-							<a-tab-pane key="4" tab="问答">
-								<div style="min-height: 600px">
-									<askDiv :idsObj="idsObj" ref="askDivRef" v-if="tabsActiveKey == 4" @edit="askEdit"></askDiv>
-								</div>
+							<a-tab-pane key="4" tab="问答" style="min-height: 800px">
+								<askDiv :idsObj="idsObj" ref="askDivRef" v-if="tabsActiveKey == 4" @edit="askEdit"></askDiv>
 							</a-tab-pane>
 						</a-tabs>
 					</a-card>

+ 1 - 1
src/views/student/classCentre/subtitle.vue

@@ -1,6 +1,6 @@
 <template>
 	<a-input v-model:value="subtitleVal" allowClear placeholder="请输入" />
-	<div style="height: 900px; overflow-y: auto" class="mt-2">
+	<div style="height: 98%; overflow-y: auto" class="mt-2 pb-4">
 		<div v-if="subtitle">{{ subtitle }}</div>
 		<div v-for="(item, idx) in subtitleList" :key="idx">
 			<div>{{ item.startTimeStr }}~{{ item.endTimeStr }}</div>