12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- <import src="../../../components/local/wxParse/wxParse"></import>
- <!-- 切换栏 -->
- <view class="tabs-wrap flex-align-center">
- <view class="item flex-center {{current == 1 ? 'active' : ''}}" bindtap="onTabsChange" data-id="1">
- 业务消息
- <view class="message-icon" wx:if="{{workMessageTotal!=0}}">{{workMessageTotal}}</view>
- </view>
- <view class="item flex-center {{current == 2 ? 'active' : ''}}" bindtap="onTabsChange" data-id="2">
- 通知
- <view class="message-icon" wx:if="{{notMessageTotal!=0}}">{{notMessageTotal}}</view>
- </view>
- <image bindtap="clearMessage" src="../../../images/clearMessage.png"></image>
- </view>
- <view class="message-box">
- <!-- 业务消息内容 -->
- <view class="work-box" wx:if="{{current==1}}">
- <view class="message-item" wx:for="{{workMessageList}}" wx:key="index">
- <view class="message-content">
- <view>{{item.content}}</view>
- </view>
- <view class="line"></view>
- <view class="message-bottom">{{item.create_time}}
- <view class="message-cicle" wx:if="{{item.status==0}}"></view>
- </view>
- </view>
- </view>
- <!-- 通知内容 -->
- <view class="inform-box" wx:if="{{current==2}}">
- <view class="inform" wx:for="{{messageList}}" wx:key="index">
- <view class="inform-title">{{item.title}}</view>
- <view class="inform-time">{{item.create_time}}</view>
- <view class="inform-content">
- <view class="inform-content-item">
- <template is="wxParse" data="{{wxParseData:askItemsArr[index]}}"></template>
- </view>
- </view>
- <view class="inform-line"></view>
- <view class="inform-see" data-url="{{item.url}}" data-type='{{item.url_type}}' data-id="{{item.id}}" bindtap="toMessageDetail">去看看<image src="../../../images/go_on.png"></image>
- </view>
- <view class="inform-icon" wx:if="{{item.status==0}}"></view>
- </view>
- </view>
- </view>
|