<!--pages/sysMsgDetail/sysMsgDetail.wxml-->
<wxs src="../../filters/filter.wxs" module="filters"></wxs>
<nav navName="系统消息"></nav>
<view class="page">
  <scroll-view  class="boxcon" scroll-y="true"  bindrefresherrefresh="handleRefresher" refresher-triggered="{{isTriggered}}"	refresher-threshold="100"	refresher-enabled="true">
    <view class="toptip" bindtap="goServiceList">
    <image src="{{img_host+'/servicemsg.png'}}" alt="" class="bell" ></image>
    <view class="msg">
      <view class="titlebox">
        <view class="title">服务消息</view>
        <view class="circle" wx:if="{{msg.service.count==1}}"></view>
        <view class="bage" wx:elif="{{msg.service.count>1 && filters.formatNumber(msg.service.count)}}">{{filters.formatNumber(msg.service.count)}}</view>
      </view>
      <view class="tips" wx:if="{{msg.service.info.notice_title}}">{{msg.service.info.notice_brief_title}}</view>
    </view>

  </view>
  <view class="toptip" bindtap="gofuliMsgList">
    <image src="{{img_host+'/fulimsg.png'}}"  alt="" class="bell" ></image>
    <view class="msg">
      <view class="titlebox">
        <view class="title">福利消息</view>
        <view class="circle" wx:if="{{msg.benefit.count==1}}"></view>
        <view class="bage" wx:elif="{{msg.benefit.count && filters.formatNumber(msg.benefit.count)}}">{{filters.formatNumber(msg.benefit.count)}}</view>
      </view>
      <view class="tips" wx:if="{{msg.benefit.info}}">{{msg.benefit.info.notice_brief_title}}</view>
    </view>

  </view>
  <view class="toptip" bindtap="refundMsgList">
    <image src="{{img_host+'/tuikuan.png'}}"  alt="" class="bell" ></image>
    <view class="msg">
      <view class="titlebox">
        <view class="title">退款消息</view>
        <view class="circle" wx:if="{{msg.refund.count==1}}"></view>
        <view class="bage" wx:elif="{{msg.refund.count>1 && filters.formatNumber(msg.refund.count)}}">{{filters.formatNumber(msg.refund.count)}}</view>
      </view>
      <view class="tips" wx:if="{{msg.refund.info}}">{{msg.refund.info.notice_brief_title}}</view>
    </view>

  </view>
  <view class="toptip" bindtap="goExpress">
    <image  src="{{img_host+'/expressMsg.png'}}" alt="" class="bell" ></image>
    <view class="msg">
      <view class="titlebox">
        <view class="title">物流消息</view>
        <view class="circle" wx:if="{{msg.logistics.count==1}}"></view>
        <view class="bage" wx:elif="{{msg.logistics.count>1 && filters.formatNumber(msg.logistics.count)}}">{{filters.formatNumber(msg.logistics.count)}}</view>
      </view>
      <view class="tips" wx:if="{{msg.logistics.info}}">{{msg.logistics.info.notice_brief_title}}</view>
    </view>

  </view></scroll-view >
  <image src="{{img_host+'/allread.png'}}"  class="allread" bindtap="HnaleAllRead"></image>
</view>
