<template>
  <div class="realtime-container">
    <div class="title">即时信息</div>
    <div class="info">
      <div class="item" v-for="item in messages">
        <div class="item-value">{{ item.remark }}</div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  props: {
    messages: Array,
  }
}
</script>

<style scoped>
.realtime-container {
  background: #fff;
  height: 190px;
  border-radius: 4px;
  padding: 10px 20px;
}
.title {
  font-size: 18px;
  line-height: 26px;
  font-weight: 600;
  color: #1D2738;
}
.info {
  padding-top: 5px;
  font-size: 14px;
  line-height: 18px;
  height: 140px;
  overflow: auto;
}
.item {
  padding: 5px 0;
  color: #54606C;
}
</style>
