2293cbe5 by yangwei

证书预览样式

1 parent 486510c1
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-09-07 16:28:14 4 * @LastEditTime: 2023-09-11 11:31:17
5 --> 5 -->
6 <template> 6 <template>
7 <transition name="msgbox-fade"> 7 <transition name="msgbox-fade">
...@@ -166,7 +166,7 @@ ...@@ -166,7 +166,7 @@
166 width: 100%; 166 width: 100%;
167 min-height: 30%; 167 min-height: 30%;
168 max-height: 90vh; 168 max-height: 90vh;
169 overflow-y: scroll; 169 // overflow-y: scroll;
170 box-sizing: border-box; 170 box-sizing: border-box;
171 } 171 }
172 172
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-09-06 16:15:09 4 * @LastEditTime: 2023-09-11 11:29:36
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues loadingtext" v-Loading="loading" element-loading-text="拼命加载中..." style="height:720px;text-align: center;"> 7 <div class="from-clues loadingtext" v-Loading="loading" element-loading-text="拼命加载中..." style="height:720px;text-align: center;">
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
12 </el-tab-pane> 12 </el-tab-pane>
13 </el-tabs> 13 </el-tabs>
14 <el-empty description="暂无数据" v-if="headTabBdcqz.length == 0 && noData"></el-empty> 14 <el-empty description="暂无数据" v-if="headTabBdcqz.length == 0 && noData"></el-empty>
15 <div style="width:1180px;"> 15 <div :style="{'width':'1180px','height': `calc(100% - ${hdiffHeight}px)`,'overflow-y': 'auto'}">
16 <canvas ref="zs" width="1000" v-show="this.bdcqz.bdcqzlx==1" height="700"></canvas> 16 <canvas ref="zs" width="1000" v-show="this.bdcqz.bdcqzlx==1" height="700"></canvas>
17 <canvas ref="zm" width="1180" v-show="this.bdcqz.bdcqzlx==2" height="780"></canvas> 17 <canvas ref="zm" width="1180" v-show="this.bdcqz.bdcqzlx==2" height="780"></canvas>
18 </div> 18 </div>
...@@ -517,6 +517,11 @@ ...@@ -517,6 +517,11 @@
517 517
518 image.src = this.bdczmSrc; 518 image.src = this.bdczmSrc;
519 } 519 }
520 },
521 computed:{
522 hdiffHeight(){
523 return this.headTabBdcqz.length > 1 ? 54 :0
524 }
520 } 525 }
521 } 526 }
522 </script> 527 </script>
......