提交修改

This commit is contained in:
daihh
2022-05-30 23:03:25 +08:00
parent faa7afb65f
commit ab382aca7b
18 changed files with 539 additions and 401 deletions

View File

@@ -43,9 +43,9 @@
<course-image :course="item" width="262upx" height="147upx"></course-image>
</view>
<view class="course-title">
<view style="height: 70upx;">
<span class="common" :class="contentTypeFilter(item.contentType).class">{{ contentTypeFilter(item.contentType).text }}</span>
<span style="font-weight: bold; font-size: 32rpx;" v-html="$keywordActiveShow(item.title, query.keyword)"></span>
<view class="course-name">
<text class="common" :class="contentTypeFilter(item.contentType).class">{{ contentTypeFilter(item.contentType).text }}</text>
<text style="font-weight: bold; font-size: 32rpx;" v-html="$keywordActiveShow(item.title, query.keyword)"></text>
</view>
<view class="course-content">
<view class="course-text">讲师{{ item.authorName }}</view>
@@ -598,6 +598,17 @@ export default {
height: 147upx;
margin-left: 10rpx;
padding-bottom: 10upx;
.course-name{
// height: 70upx;
display: -webkit-box;
// white-space:pre-wrap;
word-wrap: break-word;
word-break:break-all;
overflow: hidden;
text-overflow:ellipsis;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
}
.course-content {
display: flex;