TextMiniCard.vue 438 B

12345678910111213141516171819202122232425
  1. <template>
  2. <text-card-base v-bind="$attrs" ellipsis>
  3. <template v-slot:footer-extra="{ text }">
  4. <b-button @click="$emit('open', text.id)" size="sm">
  5. {{ $t('text.read') }}
  6. </b-button>
  7. </template>
  8. </text-card-base>
  9. </template>
  10. <script>
  11. import TextCardBase from './TextCardBase'
  12. export default {
  13. name: 'TextMiniCard',
  14. components: {
  15. TextCardBase
  16. }
  17. }
  18. </script>
  19. <style lang="scss" scoped>
  20. </style>