This commit is contained in:
柏码の讲师 2023-10-12 19:42:04 +08:00
parent 87305cd555
commit cdb8051dee

View File

@ -88,7 +88,7 @@ navigator.geolocation.getCurrentPosition(position => {
<span style="margin-left: 7px;font-weight: bold">{{ item.title }}</span> <span style="margin-left: 7px;font-weight: bold">{{ item.title }}</span>
</div> </div>
<div class="topic-preview-content">{{ item.text }}</div> <div class="topic-preview-content">{{ item.text }}</div>
<div style="display: grid;grid-template-columns: repeat(3, 1fr);grid-gap: 10px;margin: 0 10px"> <div style="display: grid;grid-template-columns: repeat(3, 1fr);grid-gap: 10px">
<el-image v-for="img in item.images" fit="cover" :src="img" class="topic-image"></el-image> <el-image v-for="img in item.images" fit="cover" :src="img" class="topic-image"></el-image>
</div> </div>
</light-card> </light-card>
@ -182,7 +182,7 @@ navigator.geolocation.getCurrentPosition(position => {
.topic-preview-content { .topic-preview-content {
font-size: 13px; font-size: 13px;
color: grey; color: grey;
margin: 10px; margin: 10px 0;
display: -webkit-box; display: -webkit-box;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
-webkit-line-clamp: 3; -webkit-line-clamp: 3;