Skip to content

Commit 8208b83

Browse files
committed
🎨 comment
1 parent 72b2f9c commit 8208b83

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

components/common/pinItem.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
<div class="pin-content">
6363
{{ item.content }}
6464
</div>
65+
<!-- 网页链接 -->
6566
<a v-if="item.url" :href="item.url" target="_blank" rel="noopener noreferrer">
6667
<div v-if="item.url" class="pin-link">
6768
<div class="link-info">
@@ -71,11 +72,13 @@
7172
<div class="link-image" :style="`background-image: url(${item.urlPic})`"></div>
7273
</div>
7374
</a>
75+
<!-- 图片 -->
7476
<div v-if="item.pictures && item.pictures.length" class="pin-images" :class="{'pin-images--more': item.pictures.length > 1}">
7577
<div v-for="url in item.pictures" :key="url" class="pin-img" :style="`background-image: url(${url})`" @click="showPicturesModal(url, item.pictures)">
7678
<div class="img-holder"></div>
7779
</div>
7880
</div>
81+
<!-- 话题 -->
7982
<div class="pin-topic" v-if="item.topic">
8083
<nuxt-link class="topic-title" :to="'/topic/'+topicId" target="_blank">{{ item.topic.title }}</nuxt-link>
8184
</div>
@@ -309,6 +312,7 @@ export default {
309312
.user-job-title{
310313
margin-top: 6px;
311314
font-size: 13px;
315+
line-height: 1.3;
312316
color: #8a9aa9;
313317
}
314318
}

0 commit comments

Comments
 (0)