<h3 style="margin-bottom: 15px">单人课程统计</h3>
            <a-dropdown :trigger="['click']">
              <a class="ant-dropdown-link" style="font-size: 16px;">
                全部(队员:{{ people }}) <a-icon type="down" />
              </a>
              <a-menu slot="overlay">
                <a-col :md="24" :lg="3">
                  <a-menu-item v-for="item in peopleTreeData" :key="item.course_id" style="width: 160px">
                    <a href="" style="font-size: 16px" @click.prevent="linkClick(item)">{{ item.course_name }}-{{ item.course_times }}</a>
                  </a-menu-item>
                </a-col>
              </a-menu>
            </a-dropdown>

<style lang="less" scoped>
  li{
    margin-left: 10px;
    width: 138px;
    list-style: none;
    line-height: 2rem;
    color: black;
    transition: background-color 1s linear,color 1s linear;
    -webkit-transition: background-color 1s linear,color 1s linear;
    -moz-transition: background-color 1s linear,color 1s linear;
    -o-transition: background-color 1s linear,color 1s linear;
  }
  li:hover{
    background-color: #ADFF2F;
    color: blue;
  }
  .ant-dropdown-menu{
    padding: 0px 0;
  }

  

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-04
  • 2022-01-07
  • 2021-07-02
  • 2022-01-02
  • 2022-12-23
  • 2021-12-30
猜你喜欢
  • 2021-04-13
  • 2021-12-18
  • 2022-12-23
  • 2021-10-28
  • 2022-12-23
  • 2021-09-02
  • 2022-02-25
相关资源
相似解决方案