<!--{assign var="menu_id" value="article"}-->
<!--{include file="<!--{$oetplpath}-->widget/block_header.tpl"}-->
<style>
.content img{max-width: 98%;}
</style>
<body class="bg_f">
<input type="hidden" name="frompre" id="frompre" value="<!--{$frompre}-->" />
<div class="oe_top bo_bf7 cursor">
  <!--{if $nofollow == '1'}-->
  <a href="<!--{$oefile}-->&c=article&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>
  <!--{if $usewxpublic == '1'}-->
  <span class="pa rt plr15" f="but_open_wxshare"><i class="iconfont icon-fenxiang fz20"></i></span>
  <!--{/if}-->
</div>
<div class="h48"></div>

<div class="p15">
  <h1 class="fz18 lh26 pb5"><!--{$article.title}--> </h1>
  <div class="fz12 color_9 bo_bf7 pb10 pt5 mb20">
    <span class="author">作者：管理员</span>
    <span class="span_1">日期：<!--{$article.addtime|date_format:'%m/%d %H:%M'}--></span>
    <span class="span_2">阅读：<!--{$article.hits}--></span>
  </div>
  
  <!--{assign var="like_user" value=vo_list("mod={likeuser} where={v.avatar='1'} num={5} cache={1}")}-->
  <!--{if !empty($like_user)}-->
  <div class="bo_f7 pt20 pr br5 pb5 bsd cursor">
    <span class="pa lt bg_main color_f inline_block pl5 pr10 bright fz12" style="top:-0.28rem">猜你喜欢</span>
    <a class="pa rt bg_f pl10 pr5 bo_f7 bleft fz14 color_red pr5" style="top:-0.28rem;" href="<!--{$oefile}-->&c=profile&type=cond">更改我的择偶要求</a>
    <!--{foreach $like_user as $volist}-->
    <a href="<!--{$oefile}-->&c=home&a=detail&id=<!--{$volist.userid}-->">
    <dl class="fl w20 t_center">
      <dt class="pr p5 pbn">
        <span class="h100 inline_block br oh w100" style="height: 0px; padding-bottom: 100%;">
          <img class="w100 vam" src="<!--{$volist.headimg_s}-->" />
        </span>
      </dt>
      <dd class="plr5">
        <h4 class="ws fn fz14"><!--{$volist.username}--></h4>
        <p class="color_9"><!--{$volist.age}-->岁</p>
      </dd>
      <div class="clear"></div>
    </dl>
    </a>
    <!--{/foreach}-->
    <div class="clear"></div>
  </div>
  <!--{/if}-->
  
  <div class="content fz16 lh28 pt10 pb30">
    <!--{$article.content}-->
  </div>

  <!--{assign var="like_user" value=vo_list("mod={likeuser} where={v.avatar='1'} num={5} cache={1}")}-->
  <!--{if !empty($like_user)}-->
  <div class="bo_f7 pt20 pr br5 pb5 bsd">
    <span class="pa lt bg_main color_f inline_block pl5 pr10 bright fz12" style="top:-0.28rem">猜你喜欢</span>
    <a class="pa rt bg_f pl10 pr5 bo_f7 bleft fz14 color_red pr5" style="top:-0.28rem;" href="<!--{$oefile}-->&c=profile&type=cond">更改我的择偶要求</a>
    <!--{foreach $like_user as $volist}-->
    <a href="<!--{$oefile}-->&c=home&a=detail&id=<!--{$volist.userid}-->">
    <dl class="fl w20 t_center">
      <dt class="pr p5 pbn">
        <span class="h100 inline_block br oh w100" style="height: 0px; padding-bottom:100%;">
          <img class="w100 vam" src="<!--{$volist.headimg_s}-->" />
        </span>
      </dt>
      <dd class="plr5">
        <h4 class="ws fn fz14"><!--{$volist.username}--></h4>
        <p class="color_9"><!--{$volist.age}-->岁</p>
      </dd>
      <div class="clear"></div>
    </dl>
    </a>
    <!--{/foreach}-->
    <div class="clear"></div>
  </div>
  <!--{/if}-->
</div>

<!--{include file="<!--{$oetplpath}-->widget/block_footjs.tpl"}-->
<!--{include file="<!--{$oetplpath}-->widget/block_wxshare.tpl"}-->
<script type="text/javascript">
$(function(){
    $(".content").find("img").css('width','auto');
    $(".content").find("img").css('height','auto');
    
    //记录来源缓存
    var $frompre = $("#frompre").val();
    if (typeof($frompre) == 'undefined') {
        $frompre = '';
    }
    oeui_cache.jumpSetCacheRouter($frompre);
});
</script>
</body>
</html>