<commit_before><template>
  <div>
    <ul>
      <li class="list" v-for="list in lists">
        <router-link :to="list.tab">{{list.name}}</router-link>
      </li>
    </ul>

  </div>
</template>
<style lang="less">

</style>
<script>

  export default{
    data(){
      return {
        lists:[{
          tab:"all",
          name:"全部"
          },
          {
          	tab:"esse",
            name:"精华"
          },
          {
            tab:"share",
            name:"分享"
          },
          {
            tab:"aks",
            name:"问答"
          },
        ]
      }
    },
    components: {}
  }
</script>
<commit_msg>写好了文章list样式<commit_after><template>
  <div class="main">
    <div class="main-top">
      <ul>
        <li class="list" v-for="(list ,index) in lists" :class="{active:isactive==index}"  @click="actived(index)">
          <router-link :to="list.tab">{{list.name}}</router-link>
        </li>
      </ul>
    </div>
  </div>
</template>
<style lang="less">
  .main{
    width: 98%;
    margin:0 auto;
  }
  .main-top{
     background-color:#f6f6f6;
   }
  .active {
    background-color:#80bd01;
  }
  .list{
    display: inline-block;
    padding: 10px 5%;
    font-size: 15px;
  }
  .list a{
    color:#80bd01
  }
  .active a{
    color:white;
  }
</style>
<script>

  export default{
    data(){
      return {
      	isactive:null,
        lists:[{
          tab:"?tab=all",
          name:"全部",
          },
          {
          	tab:"?tab=esse",
            name:"精华",
          },
          {
            tab:"?tab=share",
            name:"分享",
          },
          {
            tab:"?tab=ask",
            name:"问答",
          }
        ]
      }
    },
    methods:{
      actived(index){
      	this.isactive =index
      }
    }
  }
</script>

{'fraction_non_alphanumeric': 0.18080357142857142, 'fraction_numerical': 0.010602678571428572, 'mean_word_length': 1.353018372703412, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 33, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2116611', 'n_tokens_mistral': 652, 'n_tokens_neox': 638, 'n_words': 100}