From eb197db4fd6c58a49a343ca1d89abe263210335d Mon Sep 17 00:00:00 2001 From: lyc Date: Tue, 26 Nov 2024 16:07:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A1=86=E6=9E=B6=E8=AE=BE=E8=AE=A1-edit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/teachingDesign/container/left.vue | 50 ++++++++++----- .../views/teachingDesign/container/right.vue | 64 +++++++++++++++---- 2 files changed, 85 insertions(+), 29 deletions(-) diff --git a/src/renderer/src/views/teachingDesign/container/left.vue b/src/renderer/src/views/teachingDesign/container/left.vue index f994a55..ab6f38b 100644 --- a/src/renderer/src/views/teachingDesign/container/left.vue +++ b/src/renderer/src/views/teachingDesign/container/left.vue @@ -7,18 +7,22 @@ {{ item.name }} 选择模式 - -
- -

{{ el.name }}

-
- - {{ el.prompt }} - -
-
-
-
+
+
+ +

+ + {{ el.name }} + +

+
+ + {{ el.prompt }} + +
+
+
+
@@ -97,30 +101,44 @@ onMounted(() => { justify-content: space-between; margin-bottom: 5px; } - .con-item { margin-bottom: 20px; + display: flex; + flex-direction: column + } + .item-list{ + margin-bottom: 10px; } - .item-card { width: 130px; font-size: 13px; padding: 10px; margin-right: 20px; - + flex-shrink: 0; + border-radius: 10px; :deep(.el-card__body) { padding: 0 !important; } .card-name { text-align: center; + font-size: 14px; } .card-text { text-align: left; - font-size: 12px; + + .el-text{ + font-size: 12px !important; + } } } } } +.content-list{ + overflow-x: auto +} +.content-list::-webkit-scrollbar { + height: 8px; +} \ No newline at end of file diff --git a/src/renderer/src/views/teachingDesign/container/right.vue b/src/renderer/src/views/teachingDesign/container/right.vue index 48c1ce3..f973469 100644 --- a/src/renderer/src/views/teachingDesign/container/right.vue +++ b/src/renderer/src/views/teachingDesign/container/right.vue @@ -52,26 +52,55 @@