From f18eb288ffd551f922734acb2b323be46246963c Mon Sep 17 00:00:00 2001 From: zhangsir Date: Mon, 5 Feb 2024 16:40:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=9A=E8=AE=B2=E5=B8=88=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/styles/portal.scss | 3 +++ src/views/portal/course/Index.vue | 6 +++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/assets/styles/portal.scss b/src/assets/styles/portal.scss index 590fc3dd..3b5344a2 100644 --- a/src/assets/styles/portal.scss +++ b/src/assets/styles/portal.scss @@ -273,6 +273,9 @@ body {margin: 0px;padding: 0px;} font-size: 14px; color: #6E7B84; flex: 1; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; .course-info-studys { // margin-left: 12px; -moz-user-select: none; /*火狐*/ diff --git a/src/views/portal/course/Index.vue b/src/views/portal/course/Index.vue index 45aaf00c..a9fe4922 100644 --- a/src/views/portal/course/Index.vue +++ b/src/views/portal/course/Index.vue @@ -378,8 +378,12 @@
+
+ + {{ cinfo.teacher }} + +
- {{ formatNum(cinfo.studies) }}人学习