|
@@ -1,17 +1,10 @@
|
|
|
-<van-tabs id='tabs' active="{{ content.type }}" color='var(--assist)' tab-active-class='tab-active-class' bind:change="tabChange">
|
|
|
+<van-tabs id='tabs' wx:if="{{tabshow}}" active="{{ content.type }}" color='var(--assist)' tab-active-class='tab-active-class' bind:change="tabChange">
|
|
|
<van-tab title="应用消息" name='应用' />
|
|
|
<van-tab title="系统消息" name='系统' />
|
|
|
</van-tabs>
|
|
|
<Yl_ListBox id="ListBox" height="{{height}}" bind:getlist='getlist'>
|
|
|
<view class="unread">总共{{total}}条</view>
|
|
|
- <navigator url="#" class='list' wx:for="{{list}}" data-item="{{item}}" bindtap="toDetails">
|
|
|
- <view class="title line-1">{{item.title}}</view>
|
|
|
- <view class="content line-1">{{item.message}}</view>
|
|
|
- <view class="time">
|
|
|
- <van-tag class="tag" wx:if="{{item.objectname}}" plain type="primary">{{type.query(item.objectname)}}</van-tag>{{item.createdate}}
|
|
|
- </view>
|
|
|
- <view wx:if="{{item.isread=='0'}}" class="unread-item" />
|
|
|
- </navigator>
|
|
|
+ <list list="{{list}}" />
|
|
|
<Yl_Empty wx:if="{{!list.length}}" />
|
|
|
<view style="height: 180rpx;" />
|
|
|
</Yl_ListBox>
|