<template>
  <div class="info-list-item" style="padding: 0; width: 100%">
    <div class="info-list-date" v-if="date">{{ date }}</div>
    <div class="info-list-title">{{ name }}</div>

    <el-image
      class="evaluation-card-icon"
      :src="require('@/assets/images/icon_rightArrow.png')"
    />
  </div>
</template>
<script>
export default {
  props: {
    date: {
      type: String,
      default: "",
    },
    name: {
      type: String,
      default: "",
    },
  },
};
</script>
<style lang="scss" scoped>
.info-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;

  width: 100%;
  font-size: 14px;
  font-weight: 400;
  color: #414141;
  cursor: pointer;
}
.info-list-date {
  margin-right: 50px;
}
.info-list-title {
  flex: 1;
  margin-right: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.evaluation-card-icon {
  width: 16px;
  height: 16px;
}
</style>