<view class="box">
  <view class="view" wx:for="{{notice}}" wx:key="key" bindtap="detail" data-id="{{item.id}}" wx:if="{{notice!=''}}">
    <view class="top">
        <image src="{{img}}weapp/announcement.png"  style="width:71rpx;height:32rpx;"></image>
        <text>{{item.created_at}}</text>
    </view>
    <view class="center">
      <text>{{item.title}}</text>
      <text>{{item.description}}</text>
    </view>
    <view class="bottom">
      <text>查看详情</text>
      <image src="/img/you.png" style="width:48rpx;height:48rpx;margin-right:-12rpx;"></image>
    </view>
  </view>
  <view class="none" wx:if="{{notice==''}}">
    <image src="/img/none.png" style="width:300rpx;height:300rpx;"></image>
    <text>暂无数据</text>
  </view>
</view>