diff --git a/src/views/portal/course/Detail.vue b/src/views/portal/course/Detail.vue index 2ede1ee4..7d8a0beb 100644 --- a/src/views/portal/course/Detail.vue +++ b/src/views/portal/course/Detail.vue @@ -420,7 +420,7 @@ export default { .course-title{ position: relative; - height: 60px; + height: auto; display: flex; justify-content: space-between; .title { @@ -462,9 +462,17 @@ export default { margin: 5px 0; min-height: 20px; .label-item { - padding: 0 7px; + padding: 0px 8px; + margin-top: 5px; + float: left; + line-height: 24px; + font-size: 12px; + border-radius: 2px; margin-right: 8px; - margin-bottom: 0px; + color: #2C68FF; + height: 24px; + background: rgba(44, 104, 255, 0.06); + border: none; // 或者使用 border-color: transparent; } } ::v-deep .el-rate__icon {