diff --git a/src/views/Home/PdfDialog/index.vue b/src/views/Home/PdfDialog/index.vue index b9ec78b808089e08a0560096cb2d9e147857aaaa..0eb2f96f3c19798c9905beaff201f3dcd5c6c05a 100644 --- a/src/views/Home/PdfDialog/index.vue +++ b/src/views/Home/PdfDialog/index.vue @@ -3,6 +3,7 @@ {{ curPdf.articleTitle }}
- +
@@ -33,8 +34,16 @@ export default { data() { return { showPdf: false, + width: 750, + dWidth: 750, } }, + methods: { + setScale(val) { + console.log(val) + this.dWidth = this.width * (val / 100) + }, + }, watch: { showPdf(v) { if (v) { @@ -66,8 +75,7 @@ export default {