<template>
  <div class="PersonalAnswer" @click="tab">
    <div class="title">
      <p>{{operation}}</p>
      <p>{{day}}</p>
    </div>
    <div class="center">
      {{title}}
    </div>
  </div>
</template>
<style lang="scss" scoped>
.PersonalAnswer {
  padding: 0 0 39px 0;
  border-bottom: 1px solid #dfdfdf;
  .title {
    display: flex;
    justify-content: space-between;
    font-size: 26px;
    color: #95998f;
    margin-bottom: 28px;
  }
  .center {
    font-size: 30px;
    color: #000;
    line-height: 46px;
  }
}
</style>
<script>
export default {
  name: "PersonalAnswer",
  data() {
    return {};
  },
  props:['operation','day','title',"types","id"],
  methods:{
    tab(){
      window.console.log(this.types,"llk")
      this.$emit("wz",this.types,this.id)
           window.console.log( this.$router)
      }
    }
  
};
</script>