|
|
|
@ -15,7 +15,7 @@ |
|
|
|
|
<span class="val">100</span> |
|
|
|
|
</div> |
|
|
|
|
<div> |
|
|
|
|
<span class="name">练习时长:</span> |
|
|
|
|
<span class="name">考试时长:</span> |
|
|
|
|
<span class="val">{{duration}}</span> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
@ -49,13 +49,13 @@ |
|
|
|
|
<template v-if="item.fileUrl"> |
|
|
|
|
<div v-for="(url,fileName) in item.fileUrl" :key="fileName"> |
|
|
|
|
<el-button type="text" @click="preview(url,0)">{{fileName}}</el-button> |
|
|
|
|
<el-button type="primary" size="mini" @click="download(fileName,url)">下载</el-button> |
|
|
|
|
<el-button type="primary" size="mini" @click="download(fileName,url,0)">下载</el-button> |
|
|
|
|
</div> |
|
|
|
|
</template> |
|
|
|
|
<template v-if="item.videoAudio"> |
|
|
|
|
<div v-for="(url,fileName) in item.videoAudio" :key="fileName"> |
|
|
|
|
<el-button type="text" @click="preview(url,1)">{{fileName}}</el-button> |
|
|
|
|
<!-- <el-button type="primary" size="mini" @click="download(url)">下载</el-button> --> |
|
|
|
|
<el-button type="primary" size="mini" @click="download(fileName,url,1)">下载</el-button> |
|
|
|
|
</div> |
|
|
|
|
</template> |
|
|
|
|
</div> |
|
|
|
@ -84,13 +84,12 @@ |
|
|
|
|
<button type="button" @click="save(0)">保存</button> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div v-show="playAuth" class="el-image-viewer__wrapper" :class="{active: playAuth}" style="z-index: 2000"> |
|
|
|
|
<div v-show="playAuth" class="el-image-viewer__wrapper" :class="{over: isDownload}" style="z-index: 2000"> |
|
|
|
|
<div class="el-image-viewer__mask"></div> |
|
|
|
|
<span class="el-image-viewer__btn el-image-viewer__close" @click="closePlayer"><i class="el-icon-circle-close" style="color: #fff"></i></span> |
|
|
|
|
<div class="player" id="player"></div> |
|
|
|
|
</div> |
|
|
|
|
<pdf :visible.sync="pdfVisible" :src.sync="pdfSrc"></pdf> |
|
|
|
|
<a ref="picLink" style="display: none;" crossOrigin="anonymous" download="用户上传图片.png" :href="imgSrc">下载图片</a> |
|
|
|
|
</div> |
|
|
|
|
</template> |
|
|
|
|
<script> |
|
|
|
@ -327,6 +326,9 @@ export default { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
.over{ |
|
|
|
|
top: 5000px; |
|
|
|
|
} |
|
|
|
|
.player{ |
|
|
|
|
position: absolute; |
|
|
|
|
top: 50%; |
|
|
|
|