<import src="../../wxParse/wxParse.wxml"/> 
<view class="container">
  <view class="myorder-menu">
            <view class='{{nav==0?"hover":""}}' bindtap="onnav" data-id="0">公司公告</view>
            <view class='{{nav==1?"hover":""}}' bindtap="onnav" data-id="1">新闻动态</view>
           
      </view>  
    <view class="news-box" wx:for="{{helps}}" >
      <view class="news-item" bindtap="ondetail" data-id="{{item.id}}">
             <view class="createTime"><text>{{item.createTime}}</text></view>
             <view class="item-box">
             <view class="title">{{item.title}}</view>
             <view class="createTime2">{{item.createTime2}}</view>
             <view class="pic"><image src="{{item.pic}}"></image></view>
             <view class="content"><text>{{item.content}}</text></view>
             <view class="read"><text>阅读全文</text><image src="../../images/icon-arrowdown.png"></image></view>
             </view>
      </view> 
         
    </view>
    <view class="nodata" hidden="{{nodataHidden}}">
          <image src="../../images/order-null.png"/>
          <view>暂无数据</view>  
    </view>

</view>
<view class="Hidden_box" hidden="{{bodyHidden}}" bindtap="closeserver">
        <view class="Hidden_box_to" catchtap="inserver">
            <view class="close" bindtap="closeserver"><image src="../../images/close.png" /></view>
            <view class="title">查看详情</view>
            <view class="body">
              <view class="title">{{title}}</view>
           <template is="wxParse" data="{{wxParseData:body.nodes}}"/>
           </view>
        </view>
    </view>
   
<loading hidden="{{loadingHidden}}">
        加载中...
    </loading> 