<template>
  <div class="menu-li card">
    <div class="li-border">
      <div class="li-header">
        <span>目录</span>
      </div>
      <div class="li-content scroll">
        <ul class="li-size">
          <li v-for="(item,index) in myMenuList" :class="[item.LEVEL_DIR =='2'?'second-level':'first-level']" :key="index">
            {{item.CONTENT_TEXT}}
          </li>
        </ul>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "ReportMenu",
  props:{
    myMenuList:{

    }
  }
}
</script>

<style scoped lang="scss">
.menu-li{
  height: 100%;
  width: 100%;
  display: flex;
  justify-content:center;
  align-items: center;
  .li-border{
    display: flex;
    flex-direction: column;
    width: 98%;
    height: 98%;
    .li-header{
      display: flex;
      justify-content: center;
      align-items: center;
      height: 40px;
      color:#b3b3b3;
      font-size: 18px;
      border-bottom: solid 1px #3388FF;
      span{
        font-size: 18px;
        font-family: Microsoft YaHei;
        font-weight: bold;
        color: #005AD9;
      }
    }
    .li-content{
      padding: 10px;
      overflow-x:hidden;
      overflow-y: auto;
      height: 93.5%;
      .li-size{
        li{
          display: flex;
          align-items: center;
          padding-left: 10px;
          font-family: Microsoft YaHei;
          color: #404040;
        }
        .first-level{
          margin: 18px;
          font-size: 16px;
          font-weight: 600;
        }
        .second-level{
          margin: 10px;
          padding-left: 40px;
          font-size: 16px;
          font-weight: 400;
        }
      }
    }
  }
}
.card {
  background-color: #FFFFFF;
}
</style>
