<template>
  <div class="dm__is-delete" v-if="item.status == 0">短信模板-已删除</div>
  <span v-else class="dm-message__item__wrap">
    <div class="dm-message__item">
      <p class="dm-message__item--title">{{ item.title || '该短信模板已删除' }}</p>
      <p class="dm-message__item--content">{{ item.content || '--' }}</p>
    </div>
  </span>
</template>

<script>
export default {
  name: 'item-message',
  props: {
    item: {
      type: Object,
      default() {
        return {};
      }
    }
  }
};
</script>
