<template>
  <span class="btn" @click="btnClick"> 在线咨询 </span>

</template>

<script>
export default {
  name: "onlineInformation",
  props: {
    myType: {
      type: String,
      default: 'kaoshi'
    }
  },
  methods: {
    btnClick() {
      this.$router.push({name: 'courseware'});
    }
  }
}
</script>

<style lang="scss" scoped>
.btn {
  width: 154px;
  height: 47px;
  color: #00b96b;
  border-radius: 24px;
  padding: 10px 30px;
  background: #fff;
  border: 1px solid #00b96b;
  cursor: pointer;
}
</style>
