<template>
  <div class="dialog-video-reminder pl-16 pr-16 pt-16">
    <div class="flex-row justify-content-between align-items-center pb-16">
      <div class="width70">
        <div class="color-000 f-weight600 f16">
          {{videoReminderData.content}}即将要开始了
        </div>
        <div class="f12">预约时间:{{ this.$util.formatDate(videoReminderData.bookingTime, 'YYYY-MM-DD HH:mm:ss') }}</div>
      </div>
      <el-button size="small" type="primary" @click="viewCase">查看案件</el-button>
    </div>
  </div>
</template>

<script>
export default {
  name: "videoReminderPopover",
  props: {
    videoReminderData: {
      type: Object,
      default: () => {
        return {}
      },
    },
  },
  methods: {
    viewCase() {
      this.$router.push(`/mediation-page?sourcePage=sourcePage&caseId=${this.videoReminderData.caseId}`);
    }
  }
}
</script>

<style scoped lang="scss">
.dialog-video-reminder{
  width: 395px;
}
</style>