diff --git a/src/components/ePreviewPdf/index.vue b/src/components/ePreviewPdf/index.vue index 6157cba..7b00e3e 100644 --- a/src/components/ePreviewPdf/index.vue +++ b/src/components/ePreviewPdf/index.vue @@ -107,8 +107,8 @@ export default { if (canvas) { canvas.width = width * ratio; canvas.height = height * ratio; - canvas.style.width = width/10 + "em"; - canvas.style.height = height/10 + "em"; + canvas.style.width = width / 10 + "em"; + canvas.style.height = height / 10 + "em"; ctx.setTransform(ratio, 0, 0, ratio, 0, 0); let renderTask = page.render({ diff --git a/src/layout/eFooter/eCopy.vue b/src/layout/eFooter/eCopy.vue index 147b414..3ec7cc0 100644 --- a/src/layout/eFooter/eCopy.vue +++ b/src/layout/eFooter/eCopy.vue @@ -1,16 +1,16 @@ - + {{ el.name }} - {{ el.name }} - - - + {{ el.name }} + + + {{ el.name }} - + @@ -59,12 +59,10 @@ a { background-color: #e6e6e6; text-align: center; color: #666; + padding: 1em 0; .container { width: 100%; - height: 5em; - display: flex; - justify-content: center; align-items: center; } diff --git a/src/views/Home/main/eRecommend.vue b/src/views/Home/main/eRecommend.vue index 9d48711..0befd79 100644 --- a/src/views/Home/main/eRecommend.vue +++ b/src/views/Home/main/eRecommend.vue @@ -141,35 +141,35 @@ export default { @media (min-width: 320px) { .frame { width: 220px; - height: 180px; + height: 120px; } } @media (min-width: 480px) { .frame { width: 300px; - height: 200px; + height: 180px; } } @media (min-width: 760px) { .frame { - width: 560px; - height: 220px; + width: 600px; + height: 180px; } } @media (min-width: 960px) { .frame { width: 1000px; - height: 260px; + height: 220px; } } @media (min-width: 1200px) { .frame { width: 1100px; - height: 300px; + height: 280px; } } diff --git a/src/views/PreviewPdf/index.vue b/src/views/PreviewPdf/index.vue index aee3038..8d3868a 100644 --- a/src/views/PreviewPdf/index.vue +++ b/src/views/PreviewPdf/index.vue @@ -49,14 +49,31 @@ export default { diff --git a/src/views/Relation.vue b/src/views/Relation.vue index 38617fb..4443252 100644 --- a/src/views/Relation.vue +++ b/src/views/Relation.vue @@ -31,6 +31,7 @@ export default { background: #f7f7f9; padding: 1em; width: 100%; + min-height: 100vh; .container { margin: auto;