<template>
  <div class="bml-caption">
    <div class="bml-caption-title">
        <text class="bml-caption-title_text" v-if="title">{{title}}</text>
        <slot v-else name="title"/>
    </div>
    <div class="bml-caption-content">
      <text class="bml-caption-content_text" v-if="text">{{text}}</text>
      <slot v-else></slot>
    </div>
  </div>
</template>

<script>
const prefixCls = 'bml-cell';
export default {
  name: 'bml-article-caption',
  props: {
    
    title: { // 和icon二选一，都是放在cell_hd里面
      type: String,
      default: '',
    },
    text: {
      type: String,
      default: '',
    }
  },
  data() {
    return {
      outerClass:'',
      error:''
    }
  },
  methods: {
    
  },
  computed: {
    
  }
}
</script>
<style lang="scss" src="../css/articles.scss"/>