<view class='banner_box' bindtap='uoloadImg'>
  <view class='banner_info'>
    <view class='' bindtap='goBox'>
      <text class='iconfont icon-caogaoxiang'></text>
      <text>草稿箱</text>
    </view>
    <view class='' bindtap='goMessage'>
      <text class='iconfont icon-xiaoxi'></text>
      <text>消息</text>
    </view>
  </view>
  <view class='head_img'>
    <image class='banner_img' src='{{avatar}}'></image>
    <view class='edit_box' bindtap='editInfo'>
      <i class='iconfont icon-bianji'></i>
    </view>
  </view>
  <view class='user_name'>{{user_nickname}}</view>
  <view class='user_brief'>{{signature}}</view>
  <view class='banner_info' style='padding:0 50rpx;'>
    <view bindtap='goList' data-status='2'>
      <text class='' style='color:#999;'>粉丝</text>
      <text class='user_num'>{{fans_num}}</text>
    </view>
    <view bindtap='goList' data-status='1'>
      <text class='' style='color:#999;'>关注</text>
      <text class='user_num'>{{host_num}}</text>
    </view>
  </view>
</view>

<view class='content_box'>
  <view class='list_tab_box'>
    <view class="tab_item {{tab_current==1?'tab_active':''}}" data-current='1' bindtap='chargeTime'>
      <view>从前</view>
      <view class="iconfont icon-caret-up {{tab_current==1?'icon_active':''}}"></view>
    </view>
    <view class="tab_item {{tab_current==2?'tab_active':''}}" data-current='2' bindtap='chargeTime'>
      <view>赞过</view>
      <view class="iconfont icon-caret-up {{tab_current==2?'icon_active':''}}"></view>
    </view>
    <view class="tab_item {{tab_current==3?'tab_active':''}}" data-current='3' bindtap='chargeTime'>
      <view>评论</view>
      <view class="iconfont icon-caret-up {{tab_current==3?'icon_active':''}}"></view>
    </view>
    <view class="tab_item {{tab_current==4?'tab_active':''}}" data-current='4' bindtap='chargeTime'>
      <view>收藏</view>
      <view class="iconfont icon-caret-up {{tab_current==4?'icon_active':''}}"></view>
    </view>
  </view>
  <view class='item_list' wx:key='' wx:for='{{list}}' wx:key>
    <view class='list_title'>{{item.open_time}}</view>
    <view class='content_item_box' data-id='{{item.id}}' bindtap='messageDetail'>
      <view class='list_content_box'>
        <view class='list_img'>
          <image src='{{item.img}}' wx:key=''></image>
        </view>
        <view class='list_content'>
          <view class='content'>
            <view class='content_info'>{{item.title}}</view>
            <view class='list_label'>{{item.style}}</view>
          </view>
          <view class='list_state_box'>
            <view class='time'>{{item.open_time}}</view>
            <view class='list_icon'>
              <view bindtap='likeCharge' data-index="{{index}}" data-id='{{item.list_id}}' data-status='2' wx:if='{{tab_current!=4&&tab_current!=3}}'>
                <text class='iconfont icon-dianzan2 zan'></text>
                <!-- <text class='iconfont icon-huida pinglun1' wx:else></text> -->
                <text class=''>{{item.support}}</text>
              </view>
              <view bindtap='review' data-id='{{item.list_id}}' data-type='review'>
                <text class='iconfont icon-pinglun pinglun1'></text>
                <text>{{item.table}}</text>
              </view>
              <view catchtap='collectInfo' wx:if='{{tab_current==4}}' data-status='2' data-index="{{index}}" data-id='{{item.list_id}}'>
                <text class='iconfont icon-shoucang2 zan'></text>
                <!-- <text class='iconfont icon-shoucang4 pinglun1' wx:else></text> -->
                <text class=''>{{item.collect}}</text>
              </view>
              <view class='more_box' wx:if='{{tab_current==1 || tab_current==4}}'>
                <text class='iconfont icon-gengduo' catchtap='showMore' data-index='{{index}}'></text>
                <block wx:if='{{state2}}'>
                  <view class='more_label_box more2' wx:if='{{item.more_state}}'>
                    <view class='more_item' bindtap='showPoster'>
                      <text>删除</text>
                    </view>
                  </view>
                </block>
                <block wx:else>
                  <view class='more_label_box' wx:if='{{item.more_state}}'>
                    <view class='more_item' bindtap='showPoster'>
                      <text>删除</text>
                    </view>
                    <view class='more_line'></view>
                    <view class='more_item' catchtap='complain'>
                      <text>仅自己可见</text>
                    </view>
                    <view class='more_line'></view>
                    <view class='more_item' catchtap='complain'>
                      <text>粉丝可见</text>
                    </view>
                    <view class='more_line'></view>
                    <view class='more_item' catchtap='complain'>
                      <text>全部</text>
                    </view>
                  </view>
                </block>
              </view>
              <text class='iconfont icon-suo' wx:if='{{tab_current==1}}'></text>
            </view>
          </view>
        </view>
      </view>
    </view>
  </view>
</view>


<view class='mask_box' wx:if='{{}}' catchtap='cancleMask'>
  <view class='popup_box'>
    <view class='popup_title'>取消关注</view>
    <view>确认取消关注?</view>
    <view class='popup_btn_box'>
      <view class='popup_btn'>再想想</view>
      <view class='popup_btn'>再想想</view>
    </view>
  </view>
</view>