|
@@ -222,7 +222,11 @@
|
|
|
<div v-html="text.url" class="textContent cont"></div>
|
|
|
</el-form>
|
|
|
</div>
|
|
|
- <div class="wheel" v-if="showType == 2" style="width: 95%; margin: 0 auto">
|
|
|
+ <div class="wheel" v-if="pptImgUrl1.indexOf('https://view.officeapps.live.com/op/view.aspx?src=') != -1 && showType == 2" style="width: 95%; margin: 0 auto">
|
|
|
+ <iframe style="width: 100%; height: 100%; border: none"
|
|
|
+ :src="pptImgUrl1"></iframe>
|
|
|
+ </div>
|
|
|
+ <div class="wheel" v-else-if="showType == 2" style="width: 95%; margin: 0 auto">
|
|
|
<iframe style="width: 100%; height: 100%; border: none" security="restricted"
|
|
|
sandbox="allow-top-navigation allow-same-origin allow-forms allow-scripts allow-popups"
|
|
|
:src="pptImgUrl1"></iframe>
|
|
@@ -4154,13 +4158,10 @@
|
|
|
</div>
|
|
|
<pdf v-if="showPDF" :pdfUrl="pptImgUrl" style="width: 100%; height: 520px; overflow: auto"
|
|
|
:class="{ fullStyle: full }"></pdf>
|
|
|
- <iframe v-else :src="pptImgUrl" frameborder="0" width="100%" height="600" :class="{ fullStyle: full }"
|
|
|
- security="restricted"
|
|
|
- sandbox="allow-top-navigation allow-same-origin allow-forms allow-scripts allow-popups"></iframe>
|
|
|
+ <iframe v-else :src="pptImgUrl" frameborder="0" width="100%" height="600" :class="{ fullStyle: full }"></iframe>
|
|
|
</el-dialog>
|
|
|
<el-dialog title="文件预览" :visible.sync="dialogVisible6" width="50%" :before-close="handleClose" class="dialog_diy">
|
|
|
- <iframe :src="pptImgUrl1" frameborder="0" width="100%" height="600" security="restricted"
|
|
|
- sandbox="allow-top-navigation allow-same-origin allow-forms allow-scripts allow-popups"></iframe>
|
|
|
+ <iframe :src="pptImgUrl1" frameborder="0" width="100%" height="600" ></iframe>
|
|
|
</el-dialog>
|
|
|
<el-dialog title="提示" :visible.sync="dialogVisible4" :append-to-body="true" width="800px" :before-close="handleClose"
|
|
|
class="dialog_diy notice">
|
|
@@ -4272,9 +4273,7 @@
|
|
|
<img src="../assets/teacherWork.png" v-if="commentDetail.ateacher" class="w_teachert" />
|
|
|
<pdf v-if="showPDF" :pdfUrl="pptImgUrl" style="width: 100%; height: 520px; overflow: auto"
|
|
|
:class="{ fullStyle: full }"></pdf>
|
|
|
- <iframe v-else :src="pptImgUrl" frameborder="0" width="100%" height="600" :class="{ fullStyle: full }"
|
|
|
- security="restricted"
|
|
|
- sandbox="allow-top-navigation allow-same-origin allow-forms allow-scripts allow-popups"></iframe>
|
|
|
+ <iframe v-else :src="pptImgUrl" frameborder="0" width="100%" height="600" :class="{ fullStyle: full }"></iframe>
|
|
|
</div>
|
|
|
<div class="worksAnswer" v-if="commentDetail.works && commentDetail.type == 0">
|
|
|
<img src="../assets/teacherWork.png" v-if="commentDetail.ateacher" class="w_teachert" style="right: 105px" />
|
|
@@ -4432,7 +4431,10 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div style="height: 100%">
|
|
|
- <iframe v-if="fulltype == 2" style="width: 100%; height: 100%; border: none" :src="fullUrl" security="restricted"
|
|
|
+ <div class="wheel" v-if="fullUrl.indexOf('https://view.officeapps.live.com/op/view.aspx?src=') != -1 && fulltype == 2" style="width: 95%; margin: 0 auto">
|
|
|
+ <iframe style="width: 100%; height: 100%; border: none" :src="fullUrl"></iframe>
|
|
|
+ </div>
|
|
|
+ <iframe v-else-if="fulltype == 2" style="width: 100%; height: 100%; border: none" :src="fullUrl" security="restricted"
|
|
|
sandbox="allow-top-navigation allow-same-origin allow-forms allow-scripts allow-popups"></iframe>
|
|
|
<pdf v-else-if="fulltype == 3" :pdfUrl="fullUrl" style="width: 100%; height: 100%; overflow: auto"></pdf>
|
|
|
<div class="wheel" v-if="fulltype == 1" style="
|
|
@@ -4560,9 +4562,7 @@
|
|
|
<div class="worksAnswer" v-if="commentDetail.works && commentDetail.type == 1">
|
|
|
<pdf v-if="showPDF" :pdfUrl="pptImgUrl" style="width: 100%; height: 520px; overflow: auto"
|
|
|
:class="{ fullStyle: full }"></pdf>
|
|
|
- <iframe v-else :src="pptImgUrl" frameborder="0" width="100%" height="600" :class="{ fullStyle: full }"
|
|
|
- security="restricted"
|
|
|
- sandbox="allow-top-navigation allow-same-origin allow-forms allow-scripts allow-popups"></iframe>
|
|
|
+ <iframe v-else :src="pptImgUrl" frameborder="0" width="100%" height="600" :class="{ fullStyle: full }"></iframe>
|
|
|
</div>
|
|
|
<div class="worksAnswer" v-if="commentDetail.works && commentDetail.type == 0">
|
|
|
<img :src="commentDetail.works" alt="" @click="previewImg(commentDetail.works)" />
|