ZhangXianQiang
2024-07-03 eebf6591511daa7c92a7b009a0fef5fb2bea501b
src/views/folder/index.vue
@@ -49,6 +49,10 @@
        </div>
      </div>
    </div>
    <div class="pdf-container">
      <PDFViewer :pdfUrl="'/helloworld.pdf'"></PDFViewer>
    </div>
  </div>
</template>
@@ -143,4 +147,14 @@
    margin-right: 20px;
  }
}
.pdf-container {
  width: 800px;
  height: 800px;
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
</style>