<template>
  <div class="module">
    <div class="displayFlex">
      <div class="flex1">
        <div class="yd_title left_1">
          <span class="text">
            <img src="@/assets/images/ylbx_1.png" style="width: 130px; height: 30px"/>
            <img src="@/assets/images/ylbx_2.png" style="width: 130px; height: 30px"/>
          </span>
        </div>
        <ePie></ePie>
      </div>
      <div class="flex1">
        <div class="yd_title left_2">
          <!-- <span class="text">基本信息</span> -->
        </div>
        <eP2></eP2>
      </div>
      <div class="flex1">
        <div class="yd_title left_3">
          <!-- <span class="text">基本信息</span> -->
        </div>
        <eP3></eP3>
      </div>
    </div>
    <div class="displayFlex">
      <div class="flex1">
        <div class="yd_title">
          <span class="text">活动数据分析</span>
        </div>
        <ePie3d></ePie3d>
      </div>
      <div class="flex1">
        <div class="yd_title">
          <span class="text">走访日志</span>
        </div>
        <div class="visitLog">
          <div class="visitLog_item">
            <img src="../assets/img_02.png" width="48px" height="51px" alt="" />
            <div class="visitLog_item_box">
              <h4>故居走访</h4>
              <p>走访人员：陈思思</p>
              <p>走访时间：2023-03-19 09:00:03</p>
            </div>
            <span class="check">点击查看</span>
          </div>
          <div class="visitLog_item">
            <img src="../assets/img_02.png" width="48px" height="51px" alt="" />
            <div class="visitLog_item_box">
              <h4>节日走访</h4>
              <p>走访人员：陈思思</p>
              <p>走访时间：2023-03-19 09:00:03</p>
            </div>
            <span class="check">点击查看</span>
          </div>
          <div class="visitLog_item">
            <img src="../assets/img_02.png" width="48px" height="51px" alt="" />
            <div class="visitLog_item_box">
              <h4>新年走访</h4>
              <p>走访人员：陈思思</p>
              <p>走访时间：2023-03-19 09:00:03</p>
            </div>
            <span class="check">点击查看</span>
          </div>
        </div>
      </div>
    </div>
    <div class="displayFlex">
      <div class="flex1">
        <div class="yd_title">
          <span class="text">个人经历</span>
        </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/bubble.vue";
import ePie from "./echarts/pie.vue";
import eP2 from "./echarts/eP2.vue";
import eP3 from "./echarts/eP3.vue";
import ePie2 from "./echarts/pie2.vue";
import eGraph from "./echarts/graph.vue";
import ePie3d from "./echarts/pie3d.vue";
</script>

<style lang="scss" scoped>
.displayFlex {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.flex1 {
  flex: 1;
  padding: 0 28px;
  box-sizing: border-box;
}
.module {
  display: flex;
}

.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 {
    display: flex;
    position: absolute;
    font-size: 16px;
    font-family: SourceHanSansCN;
    font-weight: bold;
    color: #ffffff;
    position: absolute;
    right: 33px;
    top: 3px;
  }
}
.left_1 {
  background-image: url(@/assets/images/ylbx.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  
}
.left_2 {
  background-image: url(@/assets/images/gllrbt.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.left_3 {
  background-image: url(@/assets/images/tkjz.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.text_1_left{
  //   background-image: url(@/assets/images/ylbx_1.png);
  // background-repeat: no-repeat;
  // background-size: 100% 100%;
  width: 100px;
  height: 50px;
}
.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;
      }
    }
  }
}
</style>
