<template>
  <view class="cu-chat">
    <slot></slot>
    <view v-if="empty" class="padding text-gray text-center">{{ emptyTips }}</view>
    <view v-if="!empty && nomore" class="padding text-gray text-center">{{ nomoreTips }}</view>
  </view>
</template>

<script>
export default {
  name: 'l-chat',

  props: {
    empty: {},
    emptyTips: { default: '暂无消息' },
    nomore: { default: true },
    nomoreTips: { default: '没有更多消息了' }
  }
}
</script>
