From f59c179f458fa6103b3c9e279a1d13d36c9a6f7c Mon Sep 17 00:00:00 2001 From: wanghongjian Date: Wed, 6 Mar 2024 10:11:09 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4key=20=EF=BC=8C=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E6=BB=9A=E5=8A=A8=E7=9A=84=E5=AD=97=E4=BD=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Scroll.vue | 332 ++++++++++++++++----------------- src/components/ScrollTable.vue | 7 +- 2 files changed, 165 insertions(+), 174 deletions(-) diff --git a/src/components/Scroll.vue b/src/components/Scroll.vue index 784b03a..8bf2173 100644 --- a/src/components/Scroll.vue +++ b/src/components/Scroll.vue @@ -1,21 +1,29 @@ - - diff --git a/src/components/ScrollTable.vue b/src/components/ScrollTable.vue index 7f3c2df..712129c 100644 --- a/src/components/ScrollTable.vue +++ b/src/components/ScrollTable.vue @@ -2,10 +2,10 @@
序号
-
{{ head }}
+
{{ head }}
-
+
{{ i + 1 }}
{{ row.split('.')[0] }}
@@ -104,7 +104,8 @@ const gridStyle = computed(() => { background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAADYSURBVBiVTY8xSkNBGAbnX/YZHwTUEwQ9QCptbGwsxcJSEWxt0z1IEbBIZ+sBxPIpSC4ggim0sxc8gabJLtnNfikEyRxgmDGA+Drec0s3crhDgEJ5K7mMNo+bL9PLzW7KPJu0zRoy+608py6FMCSFLiW2Ps77Ps77lNiSQjeFMLTFZPAJ1BXhwE7ufgA0ud5J1O8GwVuOGZRRR//+1JFZzA6ytxymgqOi2OjpagxQyqxBLIWbmtrznpLuBVvrkQYzq+zSAMLDWW8DDUy2/3egjwV2W188fq8AvYtk5QJg+FMAAAAASUVORK5CYII=') center center no-repeat; } - &.red { // 实例样式 + &.red { + // 实例样式 &::before { --iconwidth: 16px; content: ' ';