12345678910111213141516171819 |
- <van-tabs id='tabs' active="{{ content.type }}" color='var(--assist)' tab-active-class='tab-active-class' bind:change="tabChange">
- <van-tab title="{{language['应用消息']||'应用消息'}}" name='应用' />
- <van-tab title="{{language['系统消息']||'系统消息'}}" name='系统' />
- </van-tabs>
- <Yl_Headline class="headline" title="{{language['总数']||'总计'+':'+ total}}" type='switch' switchLabel="{{language['未读']||'只看未读'}}" switch='{{isread}}' bind:callBack='onSwitchChange' />
- <Yl_ListBox id="ListBox" bind:getlist='getlist'>
- <navigator url="#" class='list' wx:for="{{list}}" data-item="{{item}}" bindtap="toDetails">
- <view class="title line-1">{{item.title}}</view>
- <view class="content line-3">{{item.message}}</view>
- <view class="time">
- <view class="tag" wx:if="{{item.name}}">{{language[item.name]||item.name}}</view>
- <view style="flex: 1;"></view>
- {{item.createdate}}
- </view>
- <view wx:if="{{item.isread=='0'}}" class="unread-item" />
- </navigator>
- <Yl_Empty wx:if="{{!list.length}}" />
- <view style="height: 180rpx;" />
- </Yl_ListBox>
|