index.wxml 595 B

12345678910111213
  1. <van-tabs wx:if="{{tabshow}}" active="{{ content.type }}" color='var(--assist)' tab-active-class='tab-active-class' bind:change="tabChange">
  2. <van-tab title="应用消息" name='应用' />
  3. <van-tab title="系统消息" name='系统' />
  4. </van-tabs>
  5. <view id='tabs' class="unread">
  6. <text>总共{{total}}条</text>
  7. <text bindtap="onAllRead">一键已读</text>
  8. </view>
  9. <Yl_ListBox id="ListBox" height="{{height}}" bind:getlist='getlist'>
  10. <list list="{{list}}" bindcallback="callback" />
  11. <Yl_Empty wx:if="{{!list.length}}" />
  12. <view style="height: 180rpx;" />
  13. </Yl_ListBox>