| | |
| | | </a> |
| | | |
| | | <div class="article-meta-wrap" style="display: flex;"> |
| | | <span class="post-meta-date"> |
| | | <span class="post-meta-date" style="margin-right: 7px;"> |
| | | <a-icon type="calendar" /> |
| | | <span class="article-meta-label"></span> |
| | | <span class="article-meta__categories"> {{publishDate}} </span> |
| | | </span> |
| | | <span class="article-meta__separator" style="margin: 0px 5px ;">|</span> |
| | | |
| | | <span class="article-meta"> |
| | | <a-icon type="book" /> |
| | |
| | | </a> |
| | | |
| | | <span v-if="jumpURL !=null && jumpURL!=''"> |
| | | <span class="article-meta__separator" style="margin: 0px 3px 5px 0px ;">|</span> |
| | | <span class="post-meta-date"> |
| | | <a-icon type="share-alt" /> |
| | | <a :href="jumpURL" target="_blank" class="no-underline"> 外链 </a> |
| | | </span> |
| | | <a-icon type="share-alt" /> |
| | | <a :href="jumpURL" target="_blank" class="no-underline"> 外链 </a> |
| | | </span> |
| | | <span v-else-if="articleFileType==fileType.fileTypeTalking_9"> |
| | | <span> |
| | | <span class="article-meta__separator" style="margin: 0px 3px 5px 0px ;">|</span> |
| | | <span class="post-meta-date"> |
| | | <a-icon type="thunderbolt" />碎碎念 |
| | | </span> |
| | | </span> |
| | | <a-icon type="thunderbolt" /> |
| | | <span class="post-meta-date">碎碎念</span> |
| | | </span> |
| | | |
| | | <span v-if="articleFileType==fileType.fileTypeVideo_3"> |
| | | <span class="article-meta__separator" style="margin: 0px 3px ;"> | </span> |
| | | <a-icon type="video-camera" /> |
| | | <span class="post-meta-date"> |
| | | <a-icon type="video-camera" /> |
| | | <a @click="routerToPlatform()"> |
| | | 视频 |
| | | </a> |
| | | <a @click="routerToPlatform()">视频</a> |
| | | </span> |
| | | </span> |
| | | <!-- <a class="article-meta__categories" href="#"> {{tag}}</a> --> |
| | |
| | | methods: { |
| | | routerJump(id, articleFileType, typeId) { |
| | | let routerName = "mdDetail"; |
| | | if (articleFileType == this.fileType.fileTypeVideo_3) { |
| | | routerName = "videoDetail"; |
| | | } |
| | | // if (articleFileType == this.fileType.fileTypeVideo_3) { |
| | | // routerName = "videoDetail"; |
| | | // } |
| | | |
| | | this.$router.push({ |
| | | name: routerName, |
| | |
| | | articleFileType: articleFileType, |
| | | typeId: typeId |
| | | }, |
| | | params: { |
| | | id: id, |
| | | articleFileType: articleFileType, |
| | | typeId: typeId |
| | | } |
| | | // params: { |
| | | // id: id, |
| | | // articleFileType: articleFileType, |
| | | // typeId: typeId |
| | | // } |
| | | }) |
| | | }, |
| | | routerToPlatform() { |
| | |
| | | box-shadow: aliceblue; |
| | | } |
| | | |
| | | |
| | | |
| | | // #recent-posts>.recent-post-item:not(:first-child) { |
| | | // margin-top: 1rem; |
| | | // } |