<template>
  <div class="page">
      <el-header v-if="$route.meta.isAuth">
        <img src="./assets/img/sclogo3.png" alt="">
        <div class="homeExitContent">
          <div>{{ $store.state.userInfo.tname }}</div>
          <div class="homeExit" @click="homeExit">退出</div>
        </div>
      </el-header>

    <router-view></router-view>
  </div>
</template>

<script>
    export default {
        data() {
          return {
            
          }
        },
        methods:{
          homeExit(){
          this.$router.push('/login')
        }
        }
    }
</script>

<style lang="less">
  *{
    margin: 0;
    padding: 0;
  }
  html,body{
    height: 100%;
    width: 100%;
    overflow:hidden ;
  }
  .textArea{
    font-size: 16px !important;
  }
  .page{  //app最基础页面
    height: 100%;
    width: 100%;
    background: #e6eaf0;
    img{
      height: 40px;
    }
    .el-header {    //顶部退出区域
        background-color: #3d67bc;
        color: #333;
        text-align: center;
        display: flex;
        justify-content: space-between;
        align-items: center;
        .homeExitContent{
          color: #fff;
          display: flex;
          justify-content:flex-end;
          width: 300px;
          .homeExit{
            background: #ffffff;
            color: #000;
            cursor: pointer;
            margin-left: 15px;
            width: 90px;
          }
        }
    }
  }
  hr{   //hr横线
    border: none;
    height: 1px;
    width: 100%;
    margin: 0px 0px 10px 0px;
    background: #ccc;
  }

  .pAHeader{    //一级页面一级标题 
    width: 100%;
    display: flex;
    height: 35px;
    justify-content: space-between;
    margin-bottom: 15px;
    .pAHeader1{
      font-weight: 600;
      font-size: 22px;
      text-align: left;
    }
    [type='button']{
        background: #0e72e6 !important;
        color: #fff !important;
        display: flex;
        font-size: 16px;
        display: flex;
        border-radius: 5px;
        justify-content: center;
        align-items: center;
      }
      [type='button']:hover{
        background: #3b85d9 !important;
      }
  }

  .vfpHeader{   //二级页面一级标题
    width: 100%;
    display: flex;
    justify-content:flex-start;
    margin-bottom: 15px;
    position: relative;
    .titleOne{
      text-align: left;
      font-weight: 600;
      font-size: 22px;
      flex-shrink: 0;
    }
    .smallTitle{
      position: absolute;
      top: 8px;
      left: 160px;
      font-size: 16px;
    }
    [type='button']{
      background: #0e72e6 !important;
      color: #fff !important;
      display: flex;
      position: absolute;
      top: -8px;
      right: 0;
      border-radius: 5px;
      box-sizing: border-box;
      padding: 9px 0;
      justify-content: center;
      font-size: 16px;
      width: 100px;
      align-items: center;
    }
  }

  .tabTit{   //二级页面二级标题
        width: 100%;
        font-size: 18px;
        font-weight:bold;
        margin-top: 20px;
        height: 29px;
        margin-bottom: 15px;
        display: flex;
        text-align: end;
        border-radius: 5px;
        position: relative;
        justify-content: space-between;
        div{
          position: relative;
          p{
            position: absolute;
            width: 200px;
            text-align: left;
            left: 0;
            bottom: 0;
          }
        }
        [type='button']{
          background: #0e72e6 !important;
          color: #fff !important;
          display: flex;
          position: absolute;
          right: 0;
          top: -8px;
          box-sizing: border-box;
          padding: 9px 0;
          justify-content: center;
          font-size: 16px;
          width: 100px;
          border-radius: 5px;
          align-items: center;
        }
    }

  .fontSize{   //所有表格字体大小
    margin-top: 15px;
    font-size: 16px !important;
    .operations{   //所有表格按钮栏
      flex-shrink: 0;
      [type='button']{
        font-size: 14px;
        border-radius: 5px;
      }
    }
  }
  // 滚动条样式
  .core_dialogue {
      height: 100%;
      overflow: scroll;
    }
    .core_dialogue::-webkit-scrollbar-track-piece {
      background-color: #f8f8f800;
    }
    .core_dialogue::-webkit-scrollbar {
      width: 6px;
      transition: all 2s;
    }
    .core_dialogue::-webkit-scrollbar-thumb {
      background-color: #929292;
      border-radius: 100px;
    }
    .core_dialogue::-webkit-scrollbar-thumb:hover {
      background-color: #bbb;
    }
  .core_dialogue::-webkit-scrollbar-corner {
    background-color: rgba(255, 255, 255, 0);
  }


  .select{ //活动申请填写信息区域
          width: 100%;
          box-sizing: border-box;
          margin-top: 16px;
          .label{   //label标签
            min-width: 98px;
            margin-right: 5px;
            display: inline-block;
            text-align: justify;
            text-justify:distribute-all-lines;
            text-align-last: justify;
            transform: translate(0,22%);
            padding-right: 15px;
            font-size: 16px;
          }
          .inpBlock{    //一个个输入框小方块
            display: flex;
            margin-bottom: 15px;
          }

          .selectTop{
            width: 64.3%;
            display: flex;
          }

          .selectMid{
            display: flex;
            margin-top: 16px;

            .selectLeft{
              width: 30%;
              display: flex;
              flex-direction: column;
              margin-right: 70px;
              // align-items: center;              
            }
            .selectRight{
              width: 29%;
              height: 150px;
              display: flex;
              flex-direction: column;
            }
            
          }
    }

  .AppBar{    //横行的跳转导航栏
    display: flex;
    margin-top: 15px;
    margin-bottom: 20px;
    div{
      // width: 110px;
      cursor: pointer;
      font-weight: 550;
      font-size: 18px;
      margin-right: 30px;
      position: relative;
    }
    .AppBarActive::after{
      content: "";
      position: absolute;
      width: 100%;
      height: 4px;
      left: 0;
      top: 28px;
      border-radius: 2px;
      background: #2a7ea9;
    }
    // .pr1TitBass{
    //     margin-top: 2px;
    //     height: 4px;
    //     border-radius: 2px;
    //     width: 100%;
    //     background: #2a7ea9;
    //   }
  }

  .addMoneyBtn{     //自定义写的的添加框
      width: 120px;
      cursor: pointer;
      height: 40px;
      border: #000 1px dashed;
      border-radius: 5px;
      margin: 18px 10px 30px;
      display: flex;
      justify-content: center;
      line-height: 40px;
      font-size: 16px;
        .jia{
            border-radius: 50%;
            border: 1.5px #ccc solid;
            font-size: 25px;
            line-height: 26px;
            font-weight: 10;
            margin-top: 6px;
            margin-right: 5px;
            height: 27px;
            width: 27px;
            color: #ccc;
        }
      }
  .baseBtn{     //所有页面底部按钮框
    width:100%;
    display: flex;
    justify-content: flex-end;
    margin: 10px 0;
    .blockWidth{
      display: flex;
      justify-content:space-between;
        [type='button']{
          background: #409eff !important;
          color: #fff !important;
          display: flex;
          justify-content: center;
          font-size: 16px;
          width: 120px;
          margin-left: 20px;
          height: 40px;
          align-items: center;
        }
    }  
  }

  .twoStyle{  //左边两边对齐，右边靠右的靠右样式资金管理页面里的
    display: flex !important;
    justify-content: flex-end;
  }

  .AddMember{    //添加对话框
      .el-input__inner{
          width: 300px;
      }
      .el-dialog{
          width: 600px;
          border-radius: 5px;
          overflow: hidden;
        }

        .el-dialog__body{
          display: flex;
          align-items: center;
          flex-direction: column;
        }
        
        .el-dialog__header{
          background: #32455b;
          text-align: center;
        }
        .el-dialog__title{
          color: #fff;
          position: relative;
          top: -5px;
          font-size: 18px;
        }
        .littleBlock{   //添加对话框 label和input框
            display: flex;
            width: 70%;
            margin-top: 20px;
            .dialogLabel{      //label
              max-width: 60px;
              min-width: 65px;
              font-size: 16px;
              margin-right: 10px;
              display: inline-block;
              text-align: justify;
              text-justify:distribute-all-lines;
              text-align-last: justify;
              transform: translate(0,22%);
            }
          }
        .footer{
          width: 100%;
          display: flex;
          justify-content: center;
          [type="button"]{
            font-size: 16px;
          }

        }
    }


    .selects{  //一级页面搜索框，不包含项目管理、成果展示
      width: 100%;
      margin-top: 20px;
      display: flex;
      flex-wrap: wrap;
      margin-bottom: 20px 0 10px;
      .selectsBlock{
        display: flex;
        margin-right: 30px;
        margin-bottom: 20px;
      }
      .selectLabel{
        width: 64px;
        font-size: 16px;
        margin-right: 10px;
        display: inline-block;
        font-weight:bolder;
        text-align: justify;
        text-justify:distribute-all-lines;
        text-align-last: justify;
        transform: translate(0,22%);
      }
    }

    .selectInp{// 一级页面搜索框 项目管理、成果展示 
      display: flex;
      justify-content: space-between;
      margin-top: 20px;
      position: relative;
      width: 99%;
      .manageSelects{
        display: flex;
        flex-wrap: wrap;
        width: 80%;
        .selectsBlock{
          display: flex;
          margin-right: 30px;
          margin-bottom: 20px;
        }
        .selectLabel{
          width: 64px;
          font-size: 16px;
          margin-right: 10px;
          display: inline-block;
          font-weight:bolder;
          text-align: justify;
          text-justify:distribute-all-lines;
          text-align-last: justify;
          transform: translate(0,22%);
        }
      }
      .ProjectManagementQuery{
          display: flex;
          position: absolute;
          right: 0;
          .btn{
            font-size: 16px;
            margin-left: 10px;
            background: #2268bc;
          }
        }
    }


    .twoSelectInp{   //一级页面搜索框 创业公司登记、消息提示
      width: 100%;
      display: flex;
      justify-content: space-between;
      margin-top: 20px;
      margin-bottom: 10px;
      .selectTwo{
          display: flex;
          flex-wrap: wrap;
          width: 80%;
          .selectsBlock{
            margin-bottom: 5px;
            .btn2{
                font-size: 14px;
                margin-left: 10px;
                background: #2268bc;
            }
          }

        }
      }
    




</style>
