| | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="pdf-container"> |
| | | <PDFViewer :pdfUrl="'/helloworld.pdf'"></PDFViewer> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | import NormalHeader from '@/components/NormalHeader/index.vue'; |
| | | import { Search } from '@element-plus/icons-vue'; |
| | | import { getFileList } from '@/api/modules/file.js'; |
| | | |
| | | import PDFViewer from '@/components/PDFViewer/index.vue'; |
| | | |
| | | const fileType = { |
| | | 'img': { |
| | |
| | | margin-right: 20px; |
| | | } |
| | | } |
| | | |
| | | .pdf-container { |
| | | width: 800px; |
| | | height: 800px; |
| | | position: absolute; |
| | | z-index: 2; |
| | | top: 50%; |
| | | left: 50%; |
| | | transform: translate(-50%, -50%); |
| | | } |
| | | </style> |