<!--{assign var="menu_id" value="dynamic"}-->
<!--{include file="<!--{$oetplpath}-->widget/block_header.tpl"}-->
<body class="bg_body">
<input type="hidden" name="frompre" id="frompre" value="<!--{$frompre}-->" />
<div class="oe_top cursor">
  <!--{if $nofollow == '1'}-->
  <a href="<!--{$oefile}-->&c=dynamic&nofollow=1"><span class="back"><i class="iconfont icon-fanhui"></i></span></a>
  <!--{else}-->
  <span class="back" f="back"><i class="iconfont icon-fanhui"></i></span>
  <!--{/if}-->
  <h1>查看动态</h1>
</div>
<div class="h48"></div>

<div class="srcoll" id="pull_box" style="top:1.28rem;bottom: 1.333rem;">
  <div class="wrapper scroll">
    <div class="bg_f" id="content_data">
      <!--//其他内容 -->
      <dl class="pl70 bg_f pr pr15 pb10 mb10">
        <dt class="pa lt pl15 pt15 cursor">
          <span class="inline_block img_45 br oh cursor">
            <a href="<!--{$oefile}-->&c=home&a=detail&id=<!--{$dynamic.userid}-->&frompre=<!--{$m}-->_<!--{$c}-->">
            <img class="w100" src="<!--{$dynamic.headimg_s}-->" />
            </a>
          </span>
        </dt>
        <dd class="pt10">
          <h3 class="fn fz16 lh30 pr">
            <!--{$dynamic.username}-->
            <!--{if $dynamic.isvip == '1'}-->
            <span class="inline_block vam lh18">
              <img class="h18" src="<!--{$wapskin}-->images/svg/vip<!--{$dynamic.groupid-1}-->.svg" />
            </span>
            <!--{/if}-->
          </h3>
          <p class="fz14 color_9">
            <!--{if $dynamic.gender == '1'}-->
            <i class="iconfont icon-fenzu color_nan"></i>
            <!--{else}-->
            <i class="iconfont icon-xingbie color_nv"></i>
            <!--{/if}-->
            <!--{$dynamic.age}-->岁
            <!--{if $dynamic.height > 0}-->
            ・<!--{$dynamic.height}-->cm
            <!--{/if}-->
            <!--{if $dynamic.education > 0}-->
            ・<!--{hook mod="var" item="education" type="text" value=$dynamic.education}-->
            <!--{/if}-->
          </p>
        </dd>
        <dd class="fz14 pt5 lh24">
          <!--{$dynamic.content}-->
        </dd>
        <!--{if !empty($dynamic.gallery)}-->
        <!--{if count($dynamic.gallery) > 1}-->
        <div class="pt10">
          <!--{foreach $dynamic.gallery as $val}-->
          <span class="inline_block img_90 oh fl mr5 mb5">
            <img class="h_100 w100 ob_c cursor" src="<!--{$val.thumbimg}-->" preview="detail" data-src="<!--{$val.drawimg}-->" />
          </span>
          <!--{/foreach}-->
          <div class="clear"></div>
        </div>
        <!--{else}-->
        <dd class="pt10">
          <span class="w70 inline_block">
            <!--{foreach $dynamic.gallery as $val}-->
            <img class="w100 cursor" src="<!--{$val.thumbimg}-->" preview="detail" data-src="<!--{$val.drawimg}-->" />
            <!--{/foreach}-->
          </span>
        </dd>
        <!--{/if}-->
        <!--{/if}-->
        <dd class="pr mt10">
          <span class="color_9 fz12"><!--{$dynamic.trantime}--></span>
        </dd>
      </dl>

    </div>
    <!--//content End -->
    
    <input type="hidden" name="id" id="id" value="<!--{$dynamic.dyid}-->" />   
    <input type="hidden" id="page" name="page" value="1" />
    <input type="hidden" id="reqs_url" name="reqs_url" value="<!--{$oefile}-->&c=<!--{$c}-->&a=commlist&datatype=json&dyid=<!--{$dynamic.dyid}-->" />
    <div class="fz16 pb20 bg_f plr20 pt15">
      收到评论 
      <span class="fz14 color_f40">(<!--{$dynamic.comms}-->)</span>
    </div>
    <div class="bg_f plr20" id="pull_data">
      
    </div>
    
  </div>
</div>


<div class="h60"></div>
<!--//按钮 -->
<div class="pf lbr bg_f h50 bsd pl15 bo_tf7" style="padding-left:3.8rem!important;">
  <div class="pa lt pl15 pt5 cursor">
    <span class="bg_f6 lh40 br color_6 plr10 pr50 fz14 cursor" f="but_open_comm" data-id="<!--{$dynamic.dyid}-->">
      <i class="iconfont icon-tianxiecaidan"></i>
      说两句
    </span>
  </div>
  <div class="t_center lh50 fz14 cursor">
    <span class="w33 inline_block fl<!--{if $dynamic.iszan == '1'}--> color_red<!--{/if}-->" f="but_dianzan" data-id="<!--{$dynamic.dyid}-->">
      <i class="iconfont icon-zan fz20"></i> <em><!--{$dynamic.zans}--></em>
    </span>
    <span class="w33 inline_block fl" f="but_open_comm" data-id="<!--{$dynamic.dyid}-->">
      <i class="iconfont icon-comm vam fz20"></i> <em><!--{$dynamic.comms}--></em>
    </span>
    <span class="w33 inline_block fl" f="but_open_wxshare">
      <i class="iconfont icon-fenxiang fz20"></i>
    </span>
    <div class="clear"></div>
  </div>
</div>
<!--//评论框 -->
<div class="oe_shade hide dialog" id="addcomm_wrap">
  <div class="oe_close mask"></div>
  <div class="popup popup_bottom oh" style="left:0;top:auto;background:#f7f9fa;position:fixed;">
    <div class="bg_f pt20">
      <div class="bd p15 ptn">
        <textarea name="comment_content" id="comment_content" style="width:100%;height:3rem;" class="br3 bn bg_f6 p10 fz15 w100 bsb" placeholder="发表一下你的看法，200个字以内"></textarea>
      </div>
      <div class="t_center pb15 cursor">
        <span class="inline_block fz15 color_f bg bg_main cursor plr40 br lh40" f="but_submit_comment" id="but_submit_comment" data-id="<!--{$dynamic.dyid}-->">发表评论</span>
      </div>
    </div>
  </div>
</div>

<!--{include file="<!--{$oetplpath}-->widget/block_footjs.tpl"}-->
<!--{include file="<!--{$oetplpath}-->widget/block_pagesize.tpl"}-->
<script src="<!--{$wapskin}-->js/oe/list.pagesize.js?v=<!--{$copyright_version}-->"></script>
<script src="<!--{$wapskin}-->js/dynamic.detail.js?v=<!--{$copyright_version}-->"></script>
<!--{include file="<!--{$oetplpath}-->widget/block_photoswipe.tpl"}-->
<!--{include file="<!--{$oetplpath}-->widget/block_wxshare.tpl"}-->
<script type="text/javascript">
$(function(){
    //记录缓存
    var $frompre = $("#frompre").val();
    if (typeof($frompre) == 'undefined') {
        $frompre = '';
    }
    oeui_cache.jumpSetCacheRouter($frompre);
});
</script>
</body>
</html>