From 13a813791018279bf8765946aade01a76e5682a4 Mon Sep 17 00:00:00 2001 From: ting Date: Wed, 18 Dec 2024 16:13:46 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E6=8E=A5=E5=AE=8C=E6=88=90=EF=BC=8C?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4=E5=AE=8C=E6=88=90=EF=BC=8C?= =?UTF-8?q?=E5=A4=B4=E5=83=8F=E5=9B=BE=E7=89=87=E8=BF=98=E6=9C=AA=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/main.css | 4 +- src/views/BackView.vue | 6 +- src/views/FrontView.vue | 197 +++++++++++++++++++++++++++++++++--------------- 3 files changed, 143 insertions(+), 64 deletions(-) diff --git a/src/assets/main.css b/src/assets/main.css index aed5591..c322700 100644 --- a/src/assets/main.css +++ b/src/assets/main.css @@ -24,9 +24,9 @@ } } /* 平板 */ - @media (min-width: 750px) and (max-width:1280px){ + @media (min-width: 750px) and (max-width:1279px){ html{ - font-size: 18px; + font-size: 2.5vw; } div{ font-size: 1rem; diff --git a/src/views/BackView.vue b/src/views/BackView.vue index 9ecbf7b..55aaa13 100644 --- a/src/views/BackView.vue +++ b/src/views/BackView.vue @@ -21,11 +21,15 @@ function searchDetail(scope){ details.value = result.data; }) } +//序号 +const indexMethod = function(index) { + return index +1; +}