<template>
  <div class="banner-content">
    <img src="https://webapp-pub.oss-cn-beijing.aliyuncs.com/project/marywood/banner.png" alt="" />
    <div class="btn">
      <el-button class="btn1" @click="$router.push('/project-intro/introduce')">项目介绍</el-button>
      <el-button class="btn1" @click="showApplyForm">报名申请</el-button>
    </div>
    <!-- <consultingForm :visible.sync="popupVisible" /> -->
  </div>
</template>

<script>
// import consultingForm from '../consultingForm.vue'

export default {
  props: {
    popupVisible: {
      default: false,
      type: Boolean
    }
  },
  components: {
    // consultingForm
  },
  methods: {
    showApplyForm() {
      console.log('-----')
      this.popupVisible = true
    }
  }
}
</script>

<style lang="scss" scoped>
.banner-content {
  position: relative;
  width: 100%;
  img {
    width: 100%;
    height: 100%;
    z-index: 1000;
  }
  .btn {
    position: absolute;
    top: 461px;
    left: 850px;
  }
  .btn1 {
    width: 104px;
    height: 32px;
    border: 1px solid #ffffff;
    font-size: 14px;
    font-weight: 400;
    line-height: 8px;
    background: none;
    color: #fff;
  }
  .btn1:hover {
    background-color: #aa1941;
    opacity: 1;
  }
}
</style>
