<template>
  <div class="module">
    <div class="displayFlex left_bg">
      <div class="flex1">
        <div class="yd_title left_1"></div>
        <div style="width: 100%; height:calc(100% - 46px);display: flex;flex-wrap:wrap;">
          <ePie1></ePie1>
          <ePie2></ePie2>
          <ePie3></ePie3>
          <ePie4></ePie4>
        </div>
      </div>
      <div class="flex1">
        <div class="yd_title left_2"></div>
        <div class="selectLint">
          <div class="selectBox">
            <el-select v-model="value" placeholder="Select" size="large">
              <el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value" />
            </el-select>
          </div>
          <div class="selectBox">
            <el-select v-model="value" placeholder="Select" size="large">
              <el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value" />
            </el-select>
          </div>
        </div>
        <ePieRose></ePieRose>
      </div>
    </div>
    <div class="displayFlex">
      <div class="flex1">
        <div class="yd_title center_1"></div>
        <eGraph></eGraph>
      </div>
    </div>
    <div class="displayFlex right_bg">
      <div class="flex1">
        <div class="yd_title right_1"></div>
        <div class="history">
          <p>2002年至2009年担任浙江大学计算机学院和软件学院院长；</p>
          <p>1984年获得浙江大学计算机应用专业硕士学位，之后留校任教；</p>
          <p>1990年获得浙江大学计算机应用专业博士学位；</p>
          <p>1994年至1996年担任浙江大学计算机系副系主任；</p>
          <p>1997年至2002年担任浙江大学计算机系系主任；</p>
          <p>2002年至2009年担任浙江大学计算机学院和软件学院院长；</p>
        </div>
      </div>
      <div class="flex1">
        <div class="yd_title">
          <span class="text">职位</span>
        </div>
        <eBubble></eBubble>
      </div>
    </div>
  </div>
</template>

<script setup>
import eBubble from "./echarts_education/bubble.vue";
import ePie1 from "./echarts_education/pie1.vue";
import ePie2 from "./echarts_education/pie2.vue";
import ePie3 from "./echarts_education/pie3.vue";
import ePie4 from "./echarts_education/pie4.vue";
import ePieRose from "./echarts_education/pieRose.vue";
// import ePie2 from "./echarts/pie2.vue";
// import eGraph from "./echarts/graph.vue";
import { ref } from 'vue'

const value = ref('')
const options = [
  {
    value: 'Option1',
    label: 'Option1',
  },
  {
    value: 'Option2',
    label: 'Option2',
  },
  {
    value: 'Option3',
    label: 'Option3',
  },
  {
    value: 'Option4',
    label: 'Option4',
  },
  {
    value: 'Option5',
    label: 'Option5',
  },
]
</script>

<style lang="scss" scoped>
.displayFlex {
  box-sizing: border-box;
  height: 100%;
  display: flex;
  flex-direction: column;
  // flex: 1;
  width: 30%;
}

.flex1 {
  flex: 1;
  // padding: 0 28px;
  box-sizing: border-box;
}

.module {
  display: flex;
  width: 100%;
  height: calc(100vh - 112px);
}

.left_bg {
  width: 642px;
  // height: 100%;
  box-sizing: border-box;
  padding-left: 50px;
  padding-right: 20px;
  margin-right: 28px;
  background-image: url(@/assets/images/left_bg.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.right_bg {
  width: 642px;
  box-sizing: border-box;
  padding-right: 50px;
  padding-left: 20px;
  margin-left: 28px;
  background-image: url(@/assets/images/right_bg.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.left_1 {
  background-image: url(@/assets/eduImg/title1.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.left_2 {
  background-image: url(@/assets/eduImg/title2.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.center_1 {
  background-image: url(@/assets/eduImg/title3.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.right_1 {
  background-image: url(@/assets/eduImg/title4.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.yd_title {
  // background-image: url(@/assets/img_04.png);
  // background-repeat: no-repeat;
  // background-size: 100% 100%;
  box-sizing: border-box;
  width: 100%;
  height: 36px;
  position: relative;

  .text {
    font-size: 16px;
    font-family: SourceHanSansCN;
    font-weight: bold;
    color: #ffffff;
    position: absolute;
    left: 33px;
    top: 3px;
  }
}

.basicInformation {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  padding-top: 22px;

  .basicInformation_item {
    flex: 0 0 50%;
    padding: 0 2px;
    margin-bottom: 10px;
    margin-top: 10px;
    box-sizing: border-box;
    display: flex;
    align-items: center;

    .icon {
      width: 79px;
      height: 47px;
    }

    .right {
      margin-left: 4px;

      .label {
        background-image: url(@/assets/img_11.png);
        background-size: 100%;
        background-repeat: no-repeat;
        background-position: bottom;
        margin-bottom: 4px;

        span {
          font-size: 12px;
          font-weight: 400;
          color: #eff0f1;
          line-height: 19px;
          margin-left: 2px;
        }
      }

      p {
        font-size: 16px;
        font-weight: bold;
        color: #6acbff;
        line-height: 24px;
      }
    }
  }
}

.visitLog {
  .visitLog_item {
    display: flex;
    align-items: center;
    background-image: url(@/assets/img_12.png);
    background-size: 100% 100%;
    margin-top: 16px;
    padding: 15px 8px;
    box-sizing: border-box;

    img {
      display: inline-block;
      margin-right: 10px;
    }

    .visitLog_item_box {
      flex: auto;

      h4 {
        font-size: 18px;
        font-family: MicrosoftYaHei;
        font-weight: bold;
        color: #0096ff;
        margin-bottom: 2px;
      }

      p {
        font-size: 12px;
        font-family: SourceHanSansCN;
        font-weight: 400;
        color: #ffffff;
        margin-top: 6px;
      }
    }

    .check {
      font-size: 12px;
      font-family: SourceHanSansCN;
      font-weight: 400;
      color: #0096ff;
      line-height: 20px;
    }
  }
}

.history {
  padding-top: 12px;

  p {
    margin-top: 12px;
    font-size: 12px;
    font-weight: 400;
    color: #ffffff;
    line-height: 28px;
    border-bottom: 13px solid rgba(57, 59, 109, 1);
  }
}

.concernLabel {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 12px 0 20px;

  span {
    text-align: center;
    background: rgba(0, 89, 130, 0.73);
    border-radius: 10px;
    width: 118px;
    height: 49px;
    line-height: 49px;
    font-size: 18px;
    font-weight: 400;
    color: #ffffff;
    margin: 0 10px;
  }
}

.property {
  display: flex;
  padding: 14px 0 10px;

  .property_box {
    background-image: url(@/assets/img_05.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    width: 179px;
    height: 91px;
    margin: 0 12px;
    text-align: center;

    h5 {
      font-size: 14px;
      font-weight: 400;
      color: #ffffff;
      margin: 9px 0 16px;
    }

    p {
      font-size: 21px;
      font-weight: bold;
      color: #48ece7;
    }
  }
}

.activity {
  h5 {
    font-size: 14px;
    font-weight: bold;
    color: rgba(0, 164, 250, 0.8);
    line-height: 47px;
    border-bottom: 2px solid rgba(0, 164, 250, 1);
    margin-bottom: 17px;
  }

  .activity_content {
    margin: 0 -6px 12px;
    display: flex;

    .activity_box {
      width: 50%;
      display: inline-block;
      margin: 0 6px;
      box-sizing: border-box;
      background-color: rgba(15, 28, 54, 1);
      padding: 12px 12px 19px;

      p {
        font-size: 14px;
        font-weight: 400;
        color: #ffffff;
        line-height: 27px;
        height: 100%;
      }
    }
  }
}

.monitor {
  .monitor_box {
    display: flex;
    padding: 8px 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.67);

    img {
      width: 115px;
      height: 84px;
      margin-right: 21px;
    }

    .monitor_box_text {
      display: flex;
      flex-direction: column;
      justify-content: space-between;

      h4 {
        font-size: 14px;
        font-weight: 400;
        color: #ffffff;
        line-height: 20px;
      }

      p {
        font-size: 14px;
        font-weight: 400;
        color: #818181;
        line-height: 23px;
      }
    }
  }
}

.selectLint {
  width: 100%;
  display: flex;
  margin: 30px 0 10px;
  justify-content: space-between;

  .selectBox {
    width: 48%;
    background-image: url(@/assets/eduImg/title3.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  }
}
</style>
<style lang="scss">
.selectBox {
  .el-select--large .el-select__wrapper {
    font-size: 18px !important;
  }
  .el-select__wrapper {
    background-color: rgba(255,255,255,0) !important;
    
  }
  .el-select__placeholder{
    color: #fff !important;
  }
  .el-select__caret{
    color: #fff !important;
    font-size: 18px !important;
  }
  .el-select-dropdown__item{
    color: #fff !important;
  }
  .el-select-dropdown__wrap{

  }
}
</style>
