|
@@ -26,6 +26,8 @@ let reportId=ref(route.query.reportId||'')
|
|
//获取报告对应的ppt图片
|
|
//获取报告对应的ppt图片
|
|
const pptIcon=new URL('../../assets/ppt-icon.png', import.meta.url).href
|
|
const pptIcon=new URL('../../assets/ppt-icon.png', import.meta.url).href
|
|
let pptImgs=ref([])
|
|
let pptImgs=ref([])
|
|
|
|
+let showPreViewPPT=ref(false)
|
|
|
|
+let preViewPPTIndex=ref(0)
|
|
const getReportPPTImgs=async ()=>{
|
|
const getReportPPTImgs=async ()=>{
|
|
const res=await apiReportPPtImgs({
|
|
const res=await apiReportPPtImgs({
|
|
report_id:Number(reportId.value),
|
|
report_id:Number(reportId.value),
|
|
@@ -433,12 +435,11 @@ const formatTitle=(e)=>{
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<el-image
|
|
<el-image
|
|
- style="width: 24px; height: 24px;position: absolute;right:0;bottom:0"
|
|
|
|
|
|
+ style="width: 54px; height: 54px;position: fixed;right:33px;bottom:200px;z-index: 99;cursor: pointer;"
|
|
:src="pptIcon"
|
|
:src="pptIcon"
|
|
- :preview-src-list="pptImgs"
|
|
|
|
- :initial-index="0"
|
|
|
|
fit="cover"
|
|
fit="cover"
|
|
v-if="pptImgs.length>0"
|
|
v-if="pptImgs.length>0"
|
|
|
|
+ @click="showPreViewPPT=true"
|
|
/>
|
|
/>
|
|
</div>
|
|
</div>
|
|
<!-- 音频模块 -->
|
|
<!-- 音频模块 -->
|
|
@@ -541,6 +542,17 @@ const formatTitle=(e)=>{
|
|
:url-list="preViewImgs"
|
|
:url-list="preViewImgs"
|
|
/>
|
|
/>
|
|
|
|
|
|
|
|
+ <!-- 预览ppt -->
|
|
|
|
+ <div class="ppt-preview-box" v-if="showPreViewPPT">
|
|
|
|
+ <el-image-viewer
|
|
|
|
+ v-if="showPreViewPPT"
|
|
|
|
+ :initial-index="preViewPPTIndex"
|
|
|
|
+ @close="showPreViewPPT=false"
|
|
|
|
+ :url-list="pptImgs"
|
|
|
|
+ />
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+
|
|
<!-- 免责申明 -->
|
|
<!-- 免责申明 -->
|
|
<el-dialog v-model="showDisclaimers" title="免责声明" center draggable width="40%">
|
|
<el-dialog v-model="showDisclaimers" title="免责声明" center draggable width="40%">
|
|
<div class="disclaimers-box">
|
|
<div class="disclaimers-box">
|
|
@@ -576,44 +588,14 @@ const formatTitle=(e)=>{
|
|
&::before{
|
|
&::before{
|
|
content: '';
|
|
content: '';
|
|
width: 6px;
|
|
width: 6px;
|
|
- // height: 30px;
|
|
|
|
display: inline-block;
|
|
display: inline-block;
|
|
background-color: #F3A52F;
|
|
background-color: #F3A52F;
|
|
margin-right: 10px;
|
|
margin-right: 10px;
|
|
- // position: relative;
|
|
|
|
- // top: 10px;
|
|
|
|
- }
|
|
|
|
- @media screen and (min-width: 1600px){
|
|
|
|
- ::v-deep(.el-image-viewer__close){
|
|
|
|
- top: 10vh;
|
|
|
|
- right: calc(50% - 700px);
|
|
|
|
- }
|
|
|
|
- ::v-deep(.el-image-viewer__next){
|
|
|
|
- right: calc(50% - 700px);
|
|
|
|
- }
|
|
|
|
- ::v-deep(.el-image-viewer__prev){
|
|
|
|
- left: calc(50% - 700px);
|
|
|
|
- }
|
|
|
|
}
|
|
}
|
|
-
|
|
|
|
}
|
|
}
|
|
.abstract{
|
|
.abstract{
|
|
font-size: 18px;
|
|
font-size: 18px;
|
|
- // font-weight: bold;
|
|
|
|
margin-bottom: 20px;
|
|
margin-bottom: 20px;
|
|
- // margin-top: 20px;
|
|
|
|
- // display: flex;
|
|
|
|
- // align-items: center;
|
|
|
|
- // &::before{
|
|
|
|
- // flex-shrink: 0;
|
|
|
|
- // content: '';
|
|
|
|
- // display: block;
|
|
|
|
- // width: 6px;
|
|
|
|
- // min-height: 30px;
|
|
|
|
- // background-color: #F3A52F;
|
|
|
|
- // margin-right: 10px;
|
|
|
|
- // position: relative;
|
|
|
|
- // }
|
|
|
|
}
|
|
}
|
|
.rich-content{
|
|
.rich-content{
|
|
margin-top: 30px;
|
|
margin-top: 30px;
|