diff --git a/src/pages/course/index.module.scss b/src/pages/course/index.module.scss index a7bb7ae..7110bbe 100644 --- a/src/pages/course/index.module.scss +++ b/src/pages/course/index.module.scss @@ -161,11 +161,12 @@ margin-bottom: 0px; } .left-cont { - flex: 1; + width: calc(100% - 34px); display: flex; flex-direction: column; margin-right: 10px; .label { + width: 100%; height: 16px; display: flex; align-items: center; @@ -178,7 +179,7 @@ } } .title { - width: 276px; + width: 100%; margin-top: 14px; height: 16px; font-size: 14px; diff --git a/src/pages/course/index.tsx b/src/pages/course/index.tsx index 7559a97..c1d5d6f 100644 --- a/src/pages/course/index.tsx +++ b/src/pages/course/index.tsx @@ -261,9 +261,9 @@ const CoursePage = () => { /> 课件 - + {item.title}({item.type}) - +