inleft
2022-08-26 fa1bd95d533444d7360d1ada127b7a3279a3901f
src/components/mini/box-new-article.vue
@@ -26,12 +26,11 @@
            </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" />
@@ -40,28 +39,18 @@
                  </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> -->
@@ -96,9 +85,9 @@
      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,
@@ -107,11 +96,11 @@
                  articleFileType: articleFileType,
                  typeId: typeId
               },
               params: {
                  id: id,
                  articleFileType: articleFileType,
                  typeId: typeId
               }
               // params: {
               //    id: id,
               //    articleFileType: articleFileType,
               //    typeId: typeId
               // }
            })
         },
         routerToPlatform() {
@@ -209,6 +198,8 @@
      box-shadow: aliceblue;
   }
   // #recent-posts>.recent-post-item:not(:first-child) {
   //    margin-top: 1rem;
   // }