|
@@ -15,7 +15,7 @@
|
|
|
<div slot="tip" class="el-upload__tip"></div>
|
|
|
</el-upload> -->
|
|
|
</div>
|
|
|
- <div style="height:calc(100% - 120px)" v-loading="loading">
|
|
|
+ <div style="height:calc(100% - 0px)" v-loading="loading">
|
|
|
<myIframe v-if="show" :src="src" frameborder="0" :height="height" width="100%"></myIframe>
|
|
|
<div v-else class="no-pdf-file">
|
|
|
<span>暂无文档</span>
|
|
@@ -67,7 +67,7 @@ export default {
|
|
|
// 获取外部的pdf地址
|
|
|
getData() {
|
|
|
|
|
|
- this.height = (this.fullHeight - 230) + 'px'
|
|
|
+ this.height = (this.fullHeight - 240) + 'px'
|
|
|
if (this.patent.pdf && this.patent.pdf.length > 0) {
|
|
|
this.getSrc()
|
|
|
return false
|
|
@@ -147,7 +147,7 @@ export default {
|
|
|
// 请求内部pdf的guid
|
|
|
refreshData() {
|
|
|
this.show = false
|
|
|
- this.height = (this.fullHeight - 230) + 'px'
|
|
|
+ this.height = (this.fullHeight - 240) + 'px'
|
|
|
if(this.patent.pdf && this.patent.pdf.length>0){
|
|
|
this.getSrc()
|
|
|
return
|
|
@@ -183,7 +183,7 @@ export default {
|
|
|
text-align: center;
|
|
|
width: 100%;
|
|
|
background: #e3e2e2;
|
|
|
- height: calc(100% - 120px);
|
|
|
+ height: calc(100% - 50px);
|
|
|
padding-top: 50px;
|
|
|
|
|
|
span {
|