审查视图

pages/index/message/message.wxml 1.7 KB
刘晓艳 authored
1 2
<!--pages/index/message/message.wxml-->
<view class='banner_box'>
刘晓艳 authored
3 4 5
  <view class="label {{status==1?'active':''}}" bindtap='readState' data-status='1'>评论消息</view>
  <view class="label {{status==2?'active':''}}" bindtap='readState' data-status='2'>点赞消息</view>
  <view class="label {{status ==3?'active':''}}" bindtap='readState' data-status='3'>审核消息</view>
刘晓艳 authored
6 7
</view>
<view class='content_box'>
刘晓艳 authored
8 9 10 11
  <block wx:if='{{status==1}}'>
    <view class='item_list'>
      <view class='list_left'>
        <image class='head_img' src='/images/img3.png'></image>
刘晓艳 authored
12
        <view>
刘晓艳 authored
13 14 15 16 17
          <view class='user_name'>Rose | ローズ</view>
          <view>
            <text>评论了你的</text>
            <text class='list_hint'>今日打卡</text>
          </view>
刘晓艳 authored
18 19
        </view>
      </view>
刘晓艳 authored
20
      <view class='point'></view>
刘晓艳 authored
21
    </view>
刘晓艳 authored
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
  </block>
  <block wx:if='{{status==2}}'>
    <view class='item_list'>
      <view class='list_left'>
        <image class='head_img' src='/images/img3.png'></image>
        <view>
          <view class='user_name'>Rose | ローズ</view>
          <view>
            <text>评论了你的</text>
            <text class='list_hint'>今日打卡</text>
          </view>
        </view>
      </view>
      <view class='point'></view>
    </view>
  </block>
  <block wx:if='{{status==3}}'>
    <view class='item_list'>
      <view class='list_left'>
        <view>
          <view class='user_name' style='font-weight:normal;'>
            <text>Rose | ローズ您好,您发布的今日打卡审核</text>
            <text class='list_hint2'>未通过</text>
          </view>
          <view>原因:发布内容有歧义</view>
          <view>2018-11-22 14:00</view>
刘晓艳 authored
48 49 50
        </view>
      </view>
    </view>
刘晓艳 authored
51
  </block>
刘晓艳 authored
52
</view>