<!--pages/notice/notice.wxml-->
<view>
    <view wx:if="{{noticeList.length == 0}}">
        <text class="noticeList">暂无公告内容</text>
    </view>
    <view wx:else>
        <view wx:for="{{noticeList}}" wx:key="key">
            <view class="noticeList" bindtap="toNoticeDetail" data-item="{{item}}" wx:if="{{item.status == 1}}">
                <text class="noticeTitle">{{item.title}}</text>
                <text class="noticeBtn">查看详情</text>
            </view>
            <view class="interval"></view>
        </view>
    </view>
</view>