<template>
  <div class="chat-time">
     <span class="chat-time__info">
    {{ (info.addTime * 1000) | formatDate }}
     </span>
  </div>
</template>

<script>
export default {
  name: 'chat-time',
  props: {
    info: {}
  }
};
</script>

<style lang="less" scoped>
.chat-time {
  font-size: 0.12rem;
  text-align: center;
  margin-bottom: 10px;
  transform: scale(0.9);
   &__info {
    display: inline-block;
    margin: auto;
    max-width: 90%;
    padding: 0.05rem 0.1rem;
    border-radius: 0.05rem;
    font-size: 0.12rem;
    background: rgba(0, 0, 0, 0.1);
    text-align: center;
  }
}
</style>
