<!--{assign var="menu_id" value="visit"}-->
<!--{include file="<!--{$oetplpath}-->widget/block_header.tpl"}--> 
<body class="bg_body">
  <!--{include file="<!--{$oetplpath}-->widget/block_top.tpl"}-->
  <div class="w1200 mt30 clearfix mb30">
    <!--{include file="<!--{$oetplpath}-->block_menu.tpl"}-->
    <div class="fr bg_f plr40 ptb30 bsb" style="width: 1020px;">
      <h3 class="fz24 mb20">互访中心</h3>
      <div class="nav clearfix bo_beb">
        <a href="<!--{$url}-->index.php?m=user&c=visitme">
          <div class="item fl mr60 pb15 pr t1">
            <div class="text fz16 color_6">谁看过我</div>
          </div>
        </a>
        <a href="javascript:;">
          <div class="item fl mr60 pb15 pr t1">
            <div class="text fz16 color_6">我看过谁</div>
            <div class="line w100per bg_main pa lb" style="height: 3px;"></div>
          </div>
        </a>
      </div>
      <!--{if !empty($visit)}-->
      <ul class="mt30">
        <!--{foreach $visit as $volist}-->
        <li class="clearfix bo_bf7 ptb15 pr">
          <div class="avatar fl img_60 br oh mlr10">
            <img class="ob_c" src="<!--{$volist.headimg_s}-->">
          </div>
          <div class="info fl ml20">
            <div class="name">
              <em class="iconfont <!--{if $volist.gender==1}-->icon-nan color_nan<!--{else}-->icon-nv color_nv<!--{/if}-->"></em>
              <span class="color_3 fz16"><!--{$volist.username}--></span>
            </div>
            <div class="text mt5 color_9">
              <!--{$volist.age}-->岁 <!--{$volist.height}-->cm <!--{area type="text" value=$volist.dist1}--> <!--{area type="text" value=$volist.dist2}--> <!--{area type="text" value=$volist.dist3}-->
            </div>
          </div>
          <div class="fr pt12">
            <div class="fl color_9 lh36"><!--{$volist.viewtime|date_format:"Y-m-d"}--></div>
            <div class="fl ml20 pr">
              <button class="bo_main bg_main color_f plr15 ptb8 br3 cursor" f="pop_jdchat" data-touid="<!--{$volist.homeuid}-->"><em class="iconfont icon-xiaoxi"></em> 聊天</button>
            </div>
            <div class="fl cursor ml20" f="but_del" data-id="<!--{$volist.viewid}-->">
              <em class="iconfont icon-guanbi1 color_9 fz20 lh36"></em>
            </div>
          </div>
        </li>
        <!--{/foreach}-->
      </ul>
      <!--{else}-->
      <div class="oe_nodata">
        <p class="p_1"><img src="<!--{$userskin}-->images/nodata.jpg" /></p>
        <p class="p_2">您还没有访问过其他会员</p>
      </div>
      <!--{/if}-->
      <!--{if $total > 0 && !empty($showpage)}-->
      <div class="oe_page"> <!--{$showpage}--> </div>
      <!--{/if}-->
    </div>
  </div>
  <!--{include file="<!--{$uctplpath}-->widget/block_footer.tpl"}-->
  <script src="<!--{$urlpath}-->tpl/static/pcui/js/oeui.min.js"></script>
  <script src="<!--{$userskin}-->js/visit.js"></script>
</body>
</html>