inleft
2022-02-22 c23efbe2832d1a9eecd4ef5d20d984661b24dd22
src/components/mini/box3-archive.vue
@@ -1,19 +1,20 @@
<template>
   <div class="blog-container archive">
      <span class="blog-pigeonhole">
         <router-link to="/tagTime?type=1">
         <router-link :to="{name:'tagTime'}">
            归档信息
         </router-link>
      </span>
      <div class="blog-scroll ">
         <div v-for="yearData in myData">
            <router-link to="/tagTime?type=2">
            <router-link :to="{name:'tagTime',query:{year:yearData.year}}">
               <p class="blog-pigeonhole-p">{{yearData.year}}年</p>
            </router-link>
            <div class="blog-pigeonhole-list">
               <div class="blog-pigeonhole-item" v-for="item in yearData.list">
                  <router-link to="/tagTime?type=3">
                  <router-link :to="{name:'tagTime',
                  query:{year:yearData.year,month:item.month}}">
                     <span>{{item.month}}月</span>
                  </router-link>
                  <span>{{item.count}}篇</span>