|
@@ -1,13 +1,9 @@
|
|
|
<template>
|
|
|
<div class="pdf-view-example j-contanter">
|
|
|
<div class="pdf-container j-main">
|
|
|
- <iframe
|
|
|
- frameborder="0"
|
|
|
- :src="pdfUrl"
|
|
|
- sandbox="allow-same-origin allow-scripts"
|
|
|
- allow="pdf"
|
|
|
- :style="{ height: '100%' }"
|
|
|
- />
|
|
|
+ <object :data="pdfUrl" type="application/pdf" width="100%" height="100%">
|
|
|
+ <p>PDF 无法显示,请下载查看:<a :href="pdfUrl">下载 PDF</a></p>
|
|
|
+ </object>
|
|
|
</div>
|
|
|
<div v-if="!getUserId" class="j-footer">
|
|
|
<a href="/jyapp/free/login?back=index&to=back&activity=bidCreditReportPreview" class="adsense-container">
|