myInform.wxml 1.3 KB
<view scroll-y='true' style='height:{{winHeight}}px' hidden='{{!ifData}}' bindscrolltolower='getMore'>
  <view class='mid'>
    <view class='mid_item' wx:for="{{noticeList}}" wx:key="index">
      <view class='mid_item_top'>
        <view class='mid_item_top_left'>
          <!-- 图片 -->
          <!-- <view class='mid_item_top_left_pic'>
            <image src='../../images/03_nav@2x.png'></image>
          </view> -->
          <!-- 文字 -->
          <view class='mid_item_top_left_text color_blue'>
            系统消息
            <view class='mid_icon' wx:if="{{item.read_switch == 0}}">
              未读
              <!-- <image src='../../images/weidu@2x.png'></image> -->
            </view>
            <view class='mid_icon color_read' wx:if="{{item.read_switch == 1}}">
              已读
              <!-- <image src='../../images/weidu@2x.png'></image> -->
            </view>
          </view>
        </view>
        <view class='mid_item_top_right '>
          15分钟前
        </view>
      </view>
      <!-- 大标题 -->
      <view class='mid_item_title'>
        {{item.title}}
      </view>
      <!-- 文字内容 -->
      <view class='mid_item_text'>
        {{item.content}}
      </view>
    </view>
  </view>
</view>
<view class="none-box" hidden="{{ifData}}">
  <view>暂无相关发文</view>
</view>