Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

4 anni fa
12345678910111213141516171819202122
  1. <template>
  2. <view :class="[card ? 'card-menu margin-tb' : '', message ? 'menu-avatar' : 'menu']" class="cu-list">
  3. <slot></slot>
  4. <view v-if="empty" class="padding text-gray text-center">{{ emptyTips }}</view>
  5. <view v-if="!empty && nomore" class="padding text-gray text-center">{{ nomoreTips }}</view>
  6. </view>
  7. </template>
  8. <script>
  9. export default {
  10. name: 'l-list',
  11. props: {
  12. card: {},
  13. message: {},
  14. empty: {},
  15. emptyTips: { default: '列表为空' },
  16. nomore: { default: false },
  17. nomoreTips: { default: '没有更多了' }
  18. }
  19. }
  20. </script>