<template>
  <div class="page core_dialogue">
      <el-header v-if="$route.meta.isAuth">
        <img src="./assets/img/sclogo4.png" alt="">
        <!-- <img src="@/assets/img/szjsxy.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%;
    max-width: 100%;
    min-width: 700px;
    overflow:hidden ;
  }
  .textArea{
    font-size: 16px !important;
  }
  .page{  //app最基础页面
    height: 100%;
    width: 100%;
    background: #e6eaf0;
    img{
      height: 60px;
    }
    .el-header {    //顶部退出区域
        background-color: #3d67bc;
        color: #333;
        text-align: center;
        display: flex;
        justify-content: space-between;
        align-items: center;
        min-height: 70px;
        .homeExitContent{
          color: #fff;
          display: flex;
          justify-content:flex-end;
          width: 400px;
          .homeExit{
            background: #ffffff;
            color: #000;
            cursor: pointer;
            margin-left: 15px;
            width: 90px;
            // height: 30px;
          }
        }
    }
  }
  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: 26px;
      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: 40px;
        height: 29px;
        margin-bottom: 15px;
        display: flex;
        text-align: end;
        border-radius: 5px;
        position: relative;
        justify-content: space-between;
        align-items: flex-end;
        div{
          position: absolute;
          left: 0;
          bottom: 0;
          text-align: left;
          display: flex;
          align-items: flex-end;
          p{
            position: relative;
            width: auto;
          }
          span{
            font-size: 14px;
            margin-left: 10px;
            color: gray;
          }
        }
        [type='button']{
          color: #fff !important;
          display: flex;
          position: absolute;
          right: 0;
          top: -4px;
          box-sizing: border-box;
          padding: 7px 0;
          justify-content: center;
          font-size: 16px;
          width: 100px;
          border-radius: 5px;
          align-items: center;
        }
    }

  
  // 滚动条样式
  .core_dialogue {
      height: 100%;
      overflow: overlay !important;
    }
    .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);
  }
//   .core_dialogue::-webkit-scrollbar {
//  /*滚动条整体样式*/
//  width: 6px;
// /*高宽分别对应横竖滚动条的尺寸*/
// height: 6px;
// }
// /*定义滚动条轨道 内阴影+圆角*/
// .core_dialogue::-webkit-scrollbar {
//  border-radius: 10px;
//  background-color: #b8bdc9;
// }
// /*定义滑块 内阴影+圆角*/
// .core_dialogue::-webkit-scrollbar-thumb {
//   border-radius: 10px;
//   -webkit-box-shadow: inset 0 0 6px rgb(96, 125, 184);
//   background-color: #2c5ab3;
//   }

  .select{      //活动申请填写信息区域
          width: 100%;
          box-sizing: border-box;
          margin-top: 30px;
          // margin-bottom: 8px;
          .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;
            position: relative;
            input::-webkit-outer-spin-button,
            input::-webkit-inner-spin-button {
              -webkit-appearance: none !important;
            }
            input[type='number'] {
              -moz-appearance: textfield;
            }
          }

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

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

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

              
            }
            
          }
    }

  .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;
      .pr1TitBass{
          // position: absolute;
          // width: 100%;
          // height: 4px;
          // left: 0;
          // top: 28px;
          // border-radius: 2px;
          // background: #2a7ea9;
          position: absolute;
          width: 100%;
          height: 4px;
          left: 0;
          top: 30px;
          border-radius: 2px;
          background: #2a7ea9;
      }
    }
    // .AppBarActive::after{
      
    // }
    
  }

  .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;
      position: relative;
        .jia{
            border-radius: 50%;
            border: 1.5px #ccc solid;
            font-size: 25px;
            line-height: 26px;
            font-weight: 10;
            display: flex;
            justify-content: center;
            margin-top: 6px;
            margin-right: 5px;
            height: 27px;
            width: 27px;
            color: #ccc;
        }
        #upFile{
          position: absolute;
          width: 100%;
          height: 100%;
          transform: scale(1.1,1.1);
          opacity: 0;
        }
      }


  .baseBtn{     //所有页面底部按钮框
    width:100%;
    display: flex;
    justify-content: flex-end;
    margin: 10px 0;
    margin-top: 30px;
    .blockWidth{
      display: flex;
      justify-content:space-between;
        [type='button']{
          background: #409eff;
          color: #fff !important;
          display: flex;
          border: none;
          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: -2px;
          font-size: 18px;
        }
        .littleBlock{   //添加对话框 label和input框
            display: flex;
            // width: 70%;
            justify-content: center;
            width: 100%;
            margin: 10px;
            .dialogLabel{      //label
              width: 14%;
              font-size: 16px;
              align-items: center;
              margin-right: 10px;
              line-height: 25px;
              display: inline-block;
              text-align: justify;
              text-justify:distribute-all-lines;
              text-align-last: justify;
            }
          }
          .littleBlock:nth-last-of-type(-n+2){
            // line-height: 20px !important;
            // color: #0e72e6;
            display: flex;
            align-items: center;
          }
          .el-dialog__footer{
            padding-top: 0;
          }
        .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;
            }
          }
        }
      }
      
      .inputNumber{       //输入框只能数字
        /* 普通IE浏览器 样式清除 */
        input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{
        -webkit-appearance: none !important;
        }
        /* 火狐浏览器样式清除 */
        input[type="number"]{
        -moz-appearance:textfield;
        }
      }


      .disa{   //禁用按钮样式
            background-color: #c8c9cc !important;border-color: #c8c9cc;cursor: no-drop !important;
        }
      .fontSize{   //所有表格字体大小
        margin-top: 15px;
        // margin-bottom: 60px;
        font-size: 16px !important;
        .operations{   //所有表格按钮栏
          flex-shrink: 0;
          [type='button']{
            width: 80px !important;
            font-size: 14px;
            border: none;
            box-sizing: border-box;
            border-radius: 5px;
            padding: 8px 0;
            
          }
        }
      }
      .paginations{   //分页栏
          position: relative;
          display: flex;
          justify-content: flex-end;
          margin: 20px 50px 0 0;
          right: 30px;
          bottom: 0;
      }
      .AllDialogBtn{          //所有对话框按钮
        width: 120px;
        font-size: 16px !important;
      }
      
  .showFileArea {      //在线查看文档内容居中
    width: 100%;
    height: 70vh;
    display: flex;
    justify-content: center;
  }


    .pTit{        //项目详情类大标题
      color: #3994ff;
      font-weight: 550;
      font-size: 18px;
      margin: 15px 0;
    }
    .pTit2{    //项目详情类小标题
      margin-top: 15px;
      color: #3994ff;
      font-weight: 550;
      font-size: 16px;
    }
    .editor{    //显示栏
      width: 100%;
      box-sizing: border-box;
      padding: 15px 0px 10px 0px;
    }

    .pageSubmitData{     //页面提交数据,删除成员，审核对话框样式
        .el-dialog__header{
            display: flex;
            justify-content: center;
        }
        .el-dialog{
          border-radius: 5px;
          overflow: hidden;
          top: 10%;
        }
        .el-dialog__body{
          display: flex;
          justify-content: center;
          flex-wrap: wrap;
          align-items: center;
        }
        .deleteContent{
          width: 100%;
          text-align: center;
          font-size: 22px;
          color: #000;
        }
        .addDialogLogo{
          width: 60px;
            height: 30px;
            border-radius: 5px;
            display: flex;
            justify-content: center;
            line-height: 30px;
            background: #f2f2f2;
            position: absolute;
            left: 20px; top: 15px; 
        }
        .el-dialog__header{
        background: #32455b;
        }
        .el-dialog__title{
          color:#fff;
            display: flex;
            justify-content: center;
            font-size: 18px;
            position: relative;
            top: -2px;
        }
        .diaTit{     //项目名称、负责人
            width: 100%;
            display: flex;
            box-sizing: border-box;
            padding: 0 50px;
            .spans{
              width: auto;
              font-size: 16px;
              // margin-right: 10px;
              display: inline-block;
              text-align: justify;
              color: #000;
              font-size: 16px;
              text-justify:distribute-all-lines;
              text-align-last: justify;
              transform: translate(0,22%);
              margin-bottom: 10px;
            }
            .spanCon{
              font-size: 16px;
              margin-top: 5px;
              color: #a0a0a0;
              width: 150px;
              overflow: hidden;
              white-space: nowrap;
              text-overflow: ellipsis;
            }
        }
  
          .diaTit1{   //label和input框
            display: flex;
            width: 80%;
            margin-top: 20px;
            .inp{
              width: 100%;
            }
            .spans1{      //label
              min-width: 84px;
              font-size: 16px;
              color: #000;
              margin-right: 10px;
              display: inline-block;
              text-align: justify;
              text-justify:distribute-all-lines;
              text-align-last: justify;
              transform: translate(0,22%);
            }
          }
      //   .addDialogMid{
      //     box-sizing: border-box;
      //     padding:0 60px 0 10px;
      //     .addDialogTit{
      //       display: flex;
      //       span{
      //         width: 80px;
      //         line-height: 40px;
      //         text-align: left;
      //       }
      //     }
      //     .addDialogTit1{
      //       display: flex;
      //       justify-content: space-between;
      //       margin-bottom: 15px;
      //     }
      //     .addDialogTit2{
      //       margin-top: 10px;
      //       font-size: 18px;
      //       color: #000;
      //       text-indent: 2em;
      //     }
      //     .addDialogCon{
      //       margin-top: 20px;
      //     }
      // }
      .dialog-footer{
        display: flex;
        justify-content: center;
      }
    }

</style>
