<template>
  <div class="page-box">
    <div class="about-title">Contact us</div>
    <div class="MuiCardContent-root">
      <img src="../../assets/about.jpg" alt="" />
      <div class="user-info">
        <div class="name">姓名</div>
        <div class="other">
          <div class="icon"><i class="el-icon-picture-outline-round"></i></div>
          <div class="content">Post code: 250101</div>
        </div>
        <div class="other">
          <div class="icon"><i class="el-icon-s-home"></i></div>
          <div class="content">
            E-mail: <a href="mailto:weileyi@sdu.edu.cn">weileyi@sdu.edu.cn</a>
          </div>
        </div>
        <div class="other">
          <div class="icon"><i class="el-icon-camera"></i></div>
          <div class="content">
            Room 404,Joint SDU-NTU Centre for Artificial Intelligence Research
            (C-FAIR) Shandong University, Jinan, Shandong, China
          </div>
        </div>
      </div>
    </div>
    <div class="send-message">
      <div class="about-title sub-title">
        If you have any questions, please send message below.
      </div>
      <div>
        <el-form ref="form" :model="form" label-width="80px">
          <el-form-item label="Name">
            <el-input v-model="form.name"></el-input>
          </el-form-item>
          <el-form-item label="E-Mail">
            <el-input v-model="form.email"></el-input>
          </el-form-item>

          <el-form-item label="Message">
            <el-input type="textarea" v-model="form.desc"></el-input>
          </el-form-item>
          <el-form-item>
            <el-button type="primary" @click="onSubmit">SENF EMAIL</el-button>
          </el-form-item>
        </el-form>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {
      form: {},
    };
  },
  methods: {
    onSubmit() {},
  },
};
</script>
<style lang="less" scoped>
.page-box {
  padding: 24px;
  .about-title {
    margin: 20px auto;
    width: 300px;
    font-size: 40px;
    text-align: center;
    &::before,
    &::after {
      content: "";
      display: block;
      width: 50%;
      border-bottom: solid 2px currentColor;
    }
    &::after {
      margin-left: 50%;
    }
    .about-title-text {
      color: black;
      text-align: center;
    }
  }
  .MuiCardContent-root {
    background-color: rgb(255, 255, 255);
    color: rgba(0, 0, 0, 0.87);
    transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    border-radius: 4px;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 1px -1px,
      rgba(0, 0, 0, 0.14) 0px 1px 1px 0px, rgba(0, 0, 0, 0.12) 0px 1px 3px 0px;
    overflow: hidden;
    min-width: 300px;
    border-left: 6px solid #f6903d;
    display: flex;
    img {
      display: block;
      width: 200px;
      margin-top: 10px;
      margin-left: 24px;
      margin-bottom: 24px;
    }
    .user-info {
      margin-left: 10px;
      margin-top: 24px;
      .name {
        margin: 24px 0px;
        font-family: Roboto, Helvetica, Arial, sans-serif;
        line-height: 1.167;
        letter-spacing: 0em;
        color: #f6903d;
        font-size: 30px;
        font-weight: 700;
      }
      .other {
        display: flex;
        margin-bottom: 10px;
        .icon {
          display: flex;
          align-items: center;
          margin-right: 3px;
        }
        .content {
        }
      }
    }
  }

  .sub-title {
    white-space: nowrap;
    // margin: initial;
    text-align: center;
    font-size: 20px;
    width: 500px;
    margin-top: 40px;
    margin-bottom: 40px;
  }
}
</style>
