This commit is contained in:
shijingjing
2023-02-17 10:05:26 +08:00
parent 2b3258c63a
commit 4ef3723d03

View File

@@ -13,7 +13,10 @@
</div> </div>
<div class="card_right"> <div class="card_right">
<div class="title">{{ item.title }}</div> <div class="title">{{ item.title }}</div>
<div class="num">{{ item.learnerNumber }}人已学习</div> <div class="num">
<div>{{ item.learnerNumber }}人已学习</div>
<div v-if="item.videoDuration">视频时长{{ item.videoDuration }}</div>
</div>
</div> </div>
</div> </div>
</div> </div>
@@ -97,6 +100,7 @@ export default {
} }
.card_right { .card_right {
width: calc(100% - 184px);
.title { .title {
font-weight: 500; font-weight: 500;
font-size: 34px; font-size: 34px;
@@ -108,6 +112,8 @@ export default {
-webkit-line-clamp: 2; -webkit-line-clamp: 2;
} }
.num { .num {
display: flex;
justify-content: space-between;
margin-top: 28px; margin-top: 28px;
font-weight: 400; font-weight: 400;
font-size: 26px; font-size: 26px;