From aaae0dc856599772482797a703193a2cc6dc8d37 Mon Sep 17 00:00:00 2001 From: lmj <3407000732@qq.com> Date: Mon, 21 Nov 2022 15:56:23 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/styles/portal.scss | 17 +++++++ src/components/HomePage/courseList.vue | 64 +++++++++++++++----------- 2 files changed, 53 insertions(+), 28 deletions(-) diff --git a/src/assets/styles/portal.scss b/src/assets/styles/portal.scss index 3ac39e38..e21fe7a6 100644 --- a/src/assets/styles/portal.scss +++ b/src/assets/styles/portal.scss @@ -370,6 +370,12 @@ body {margin: 0px;padding: 0px;} .title-myqalist{ margin-right: 5px !important; } + .btn-right{ + .btn{ + width: 120px !important; + height: 40px !important; + } + } .course-card { padding:20px; margin-right: 20px; @@ -384,6 +390,17 @@ body {margin: 0px;padding: 0px;} height: 122px; } } + .course-tit{ + float: none !important; + } + .sysType-box{ + margin-top: 10px; + float: none !important; + } + .tit-float{ + height: 45px !important; + } + } @media screen and (max-width: 1680px) and (min-width:1367px){ diff --git a/src/components/HomePage/courseList.vue b/src/components/HomePage/courseList.vue index ed94fba3..1058fc6d 100644 --- a/src/components/HomePage/courseList.vue +++ b/src/components/HomePage/courseList.vue @@ -15,26 +15,28 @@
-
{{item.info.courseName || item.contentInfo}} - {{sysTypeName(item.info.sysType1)}} - {{sysTypeName(item.info.sysType2)}} - {{sysTypeName(item.info.sysType3)}} - {{toScore(item.info.lastScore)}}分 +
+
{{item.info.courseName || item.contentInfo}}
+
+ {{sysTypeName(item.info.sysType1)}} + {{sysTypeName(item.info.sysType2)}} + {{sysTypeName(item.info.sysType3)}} + {{toScore(item.info.lastScore)}}分 +
+
+

{{item.info.summary}}

当前进度:

最新一次学习时间:{{item.eventTime}}

+
-
- -
- - {{personal? '继续学习' : '我也去学'}} -
-
+
+
+ {{personal? '继续学习' : '我也去学'}} +
+
+ @@ -110,6 +112,23 @@