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