<template>
  <div id="commom-panel">
    <div class="my-c">
      <slot name="left-c"></slot>
      <slot name="right-c"></slot>
    </div>
  </div>
</template>

<script>
export default {
  name: "CommonPanel"
}
</script>

<style scoped lang="scss">
#commom-panel{
  padding-right: 0px;
  padding-left: 0px;
  padding-bottom: 30px;
  height: 100%;

  box-sizing: border-box;


  .my-c{
    display: flex;
    height: 100%;
    overflow: hidden;
    justify-content: center;
  }
  justify-content: space-between;
  @media screen and (max-height: 980px) {
    background: url("../../assets/imgs/带手指低.png") no-repeat;

  }

  @media screen and (min-height: 980px) {
    background: url("../../assets/imgs/带手指高.png") no-repeat;

  }
  background-size: 100% 100% !important;
  width:99%;
  margin-left: 0.5%;
  .left{
    width:2%;
    padding-top: 70px;
    //height:100%;
    //display: flex;
    //flex-direction: column;
    //align-items: center;
    .singleButton{
      cursor: pointer;
      width:34px;
      height:144px;
      border-radius: 4px;
      border: none;
      padding-top: 10px;
      display: flex;
      flex-direction: column;
      flex-wrap: nowrap;
      justify-content: center;
      align-items: center;
      font-size: 18px;
      color: #25a9ee;
      .little_span{
        width:18px;
      }
      .little_active{
        color: #fff;
      }
    }
    .top_button{
      background:url("../../assets/imgs/住建委.png") no-repeat;
      background-size: 100%;
    }
    .middle_button{
      background:url("../../assets/imgs/房管局.png") no-repeat;
      background-size: 100%;
    }
    .singleButton:focus,
    .singleButton:hover {
      color: #fff;
    }
  }
  .right{
    width:97%;
    height:100%;

    display: flex;

    flex-direction: column;
    .right_header{
      width: 100%;
      height: 100px;

      display: flex;
      flex-direction: row;
      flex-wrap: nowrap;
      justify-content: center;
      align-items: center;
      .right_header_left{
        cursor: pointer;
        width: 33%;
        height: 60px;
        color: #FFF;
        font-size: 16px;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: flex-end;
        .button_top{
          padding-right: 10px;
          color: #71d7ff;
        }
        .button_top_chosen,.button_top:hover{
          padding-right: 10px;
          color: #fdbf00;
        }
      }
      .right_header_right{
        cursor: pointer;
        width: 33%;
        height: 60px;
        color: #71d7ff;
        font-size: 16px;
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        align-items: flex-end;
        .button_top{
          padding-right: 10px;
          color: #71d7ff;
        }
        .button_top_chosen,.button_top:hover{
          padding-right: 10px;
          color: #fdbf00;
        }
      }
      .botton_top_chosen{
        width: 177px;
        height: 44px;
        color: #fdbf00;
        font-size: 24px;
        font-weight: bold;
        font-family: 微软雅黑;
        background:url("../../assets/imgs/下载1.png") no-repeat;
        background-size: 100%;
        border-color: transparent;
        text-align: center;
        line-height: 44px;
        cursor: pointer;
      }
      .botton_top:focus,
      .botton_top:hover {
        background:url("../../assets/imgs/下载1.png") no-repeat;
        background-size: 100%;
      }

      .botton_top {
        width: 177px;
        height: 44px;
        color: #FFF;
        font-size: 24px;
        font-weight: bold;
        font-family: 微软雅黑;
        background:url("../../assets/imgs/下载2.png") no-repeat;
        background-size: 100%;
        border-color: transparent;
        text-align: center;
        line-height: 44px;
        cursor: pointer;
      }
    }
    .right_content{

      padding-left: 2%;

      display: flex;
      flex-direction: row;

      .left_part{
        width: 33%;

      }
      .right_part{
        width: 66%;

        display: flex;
        flex-wrap: wrap;
        padding: 0 10px;
        justify-content: space-between;
        >div{
          @media screen and (max-height: 980px) {
            background: url("../../assets/imgs/框2.png") no-repeat;
          }

          @media screen and (min-height: 980px) {
            background: url("../../assets/imgs/框1.png") no-repeat;
          }
          background-size: 100% !important;
          width: 49.5%;
          height: 33.33%;
          box-sizing: border-box;
          padding: 0px 10px;
        }
      }
    }
  }
}
</style>
