<!--{assign var="menu_id" value="index"}-->
<!--{include file="<!--{$oetplpath}-->widget/block_header.tpl"}-->
<body class="bg_body">
<!--{include file="<!--{$oetplpath}-->widget/block_top.tpl"}-->
<div class="h50"></div>
<!--//幻灯片-->
<!--{assign var="in_zone" value=vo_list("mod={zone} where={v.zonemark='wap_index'} num={1}")}--> 
<!--{if !empty($in_zone)}-->
<div class="pr oe_banner bg_f" id="slide">
  <div class="wrapper pt10">
    <!--{foreach $in_zone as $volist}--> 
    <!--{foreach $volist.ads as $val}-->
    <div class="item plr10">
      <a href="<!--{$val.url}-->"><img class="w100  br8 oh" src="<!--{$val.drawimg}-->" /> </a>
    </div>
    <!--{/foreach}--> 
    <!--{/foreach}-->
  </div>
  <div class="indicator pa lbr oe_dian t_center z100">
    <!--{foreach $in_zone as $volist}--> 
    <!--{foreach $volist.ads as $val}-->
    <span class="inline_block br <!--{if $val.i=='1'}-->current<!--{/if}-->"></span>
    <!--{/foreach}--> 
    <!--{/foreach}-->
  </div>
</div>
<!--{/if}-->

<!--//访问记录 -->
<!--{if $login.status == '1'}-->
  <!--{if $login.info.gender == '1'}-->
  <!--{assign var="_where" value="v.homeuid='<!--{$login.info.userid}-->' AND u.gender='2'"}-->
  <!--{else}-->
  <!--{assign var="_where" value="v.homeuid='<!--{$login.info.userid}-->' AND u.gender='1'"}-->
  <!--{/if}-->
  <!--{assign var="nums" value=<!--{countdata type="user" mod="visitme" where="<!--{$_where}-->"}-->}-->
  <!--{assign var="visituser" value=vo_list("mod={visitme} where={<!--{$_where}--> AND u.avatar='1'} num={4}")}-->
  <!--{if !empty($visituser)}-->
  <a href="<!--{$oefile}-->&c=visitme&from=index">
  <div class="bg_f pt15 pb10 pl20 bo_bf7 pr">
    <!--{foreach $visituser as $volist}-->
    <span class="br inline_block oh bo_f img_30" style=" margin-left: -0.25rem;">
    <img class="ob_c" src="<!--{$volist.headimg_s}-->" />
    </span>
    <!--{/foreach}-->
    <div class="fz14 pb15 pt5 inline_block pl10">
      <div class="color_9">共有<span class="color_f40 fb"><!--{$nums}--></span>名异性访问过您</div>
    </div>
    <span class="pa rt pt20 pr10">
      <i class="iconfont icon-jiantou color_9 fz12"></i>
    </span>
  </div>
  </a>
  <!--{/if}-->
<!--{/if}-->

<!--//首页导航 -->
<div class="fz13 bg_f pt5">
  <div class="bg_f pr pb10 t_center cursor">
    <!--{if $config.wap_userlist_show == '2'}-->
    <a class="cursor inline_block w25 fl pt5" href="<!--{$oefile}-->&c=useravatar">
    <!--{elseif $config.wap_userlist_show == '3'}-->
    <a class="cursor inline_block w25 fl pt5" href="<!--{$oefile}-->&c=userwall">
    <!--{else}-->
    <a class="cursor inline_block w25 fl pt5" href="<!--{$oefile}-->&c=user">
    <!--{/if}-->
    <dl>
      <dt><img class="pt5" style="width:1.3rem" src="<!--{$wapskin}-->images/ico/nav_user.png"/></dt>
      <dd class="lh30">搜索</dd>
    </dl>
    </a>
    <a class="cursor inline_block w25 fl pt5" href="<!--{$oefile}-->&c=party">
    <dl>
      <dt><img class="pt5" style="width:1.3rem" src="<!--{$wapskin}-->images/ico/nav_party.png"/></dt>
      <dd class="lh30">活动</dd>
    </dl>
    </a>
    <a class="cursor inline_block w25 fl pt5" href="<!--{$oefile}-->&c=diary">
    <dl>
      <dt><img class="pt5" style="width:1.3rem" src="<!--{$wapskin}-->images/ico/nav_diary.png"/></dt>
      <dd class="lh30">日记</dd>
    </dl>
    </a>
    <!--//21.04.25-->
    <a class="cursor inline_block w25 fl pt5" href="<!--{$oefile}-->&c=emtest">
    <dl>
      <dt><img class="pt5" style="width:1.3rem" src="<!--{$wapskin}-->images/ico/nav_test.png" alt="" /></dt>
      <dd class="lh30">情感测试</dd>
    </dl>
    </a>
    <div class="clear"></div>
    <div class="tl plr5 ptb10 color_f">
      <div class="fl w33 plr5">
        <a href="<!--{$oefile}-->&c=passport&a=reg">
        <dl class="br8 bsb p10 oh pr color_f"  style="background-image: -webkit-linear-gradient(135deg,#43c38b,#8addb9);">
          <dt class="fb fz16 lh24">免费登记</dt>
          <dd>30秒注册脱单</dd>
          <span class="iconfont icon-liuyancopy- pa brs fz40" style="opacity: 0.2;"></span>
        </dl>
        </a>
      </div>
      <div class="fl w33 plr5 pr">
        <a href="<!--{$oefile}-->&c=useravatar&s_orderby=3">
        <dl class="br8 bsb p10 oh pr color_f"  style="background-image: -webkit-linear-gradient(135deg,#71a6ff,#9dc2ff);">
          <dt class="fb fz16 lh24">实名相亲</dt>
          <dd>通过认证会员</dd>
          <span class="iconfont icon-name pa brs fz40" style="opacity: 0.2;"></span>
        </dl>
        </a>
      </div>
      <div class="fl w33 plr5 pr">
        <a href="<!--{$oefile}-->&c=useravatar">
        <dl class="br8 bsb p10 oh pr color_f"  style="background-image: -webkit-linear-gradient(135deg,#ff6f6f,#ff9696);">
          <dt class="fb fz16 lh24">最新加入</dt>
          <dd>最新登记会员</dd>
          <span class="iconfont icon-tianxiecaidan pa brs fz40" style="opacity: 0.2;"></span>
        </dl>
        </a>
      </div>
      <div class="clear"></div>
    </div>
  </div>
</div>


<!--//会员模块 -->
<div class="mt10">
  <div class="bg_f pt20">
    <div class="t_center fz16 pb15 cursor">
      <span class="inline_block lh35 plr15 br bg_main bo_main fb color_f" f="but_grid_user" data-type="0">人气会员</span>
      <span class="inline_block lh35 plr15 br bo_eb" f="but_grid_user" data-type="1">优质男会员</span>
      <span class="inline_block lh35 plr15 br bo_eb" f="but_grid_user" data-type="2">优质女会员</span>
    </div>
    <div class="t_center pb20 pt5 fz14 color_6">
      想遇见心仪的TA吗？立即<a class="color_main fb cursor" href="<!--{$oefile}-->&c=useravatar">开启缘分</a>
    </div>
    <div class="grid_list" id="grid_data_0"></div>
    <div class="grid_list" id="grid_data_1" style="display:none;"></div>
    <div class="grid_list" id="grid_data_2" style="display:none;"></div>
    <div class="t_center pt10 pb20" id="grid_more" style="display:none;">
      <a href="" class="plr40 color_main bo_light bg_fc inline_block lh36 br fz14 cursor">更多</a>
    </div>
  </div>
</div>


<!-- //活动模块 -->
<div class="mt10">
  <div class="bg_f pt20">
    <div class="fb fz20 color_main pb15 t_center">
      <a href="<!--{$oefile}-->&c=party" class="color_main cursor">
        相亲活动 
        <p class="fn fz14 pt5">线下交友，真实面对面，促成牵手~</p>
      </a>
    </div>
    <div>
      <ul class="">
        <!--{assign var='new_party' value=vo_list("mod={party} num={4} orderby={v.flag ASC, v.endbmtime DESC} cache={1}")}-->
        <!--{if !empty($new_party)}-->
        <!--{foreach $new_party as $volist}--> 
        <li class="fl t_center mb10" style="width: 44%; margin-left: 4%;">
          <a href="<!--{$oefile}-->&c=party&a=detail&id=<!--{$volist.partyid}-->">
          <div class="oh br5" style="height: 3rem;">
            <img class="lazyload ob_c" src="<!--{$volist.thumbimg}-->" data-src="<!--{$volist.thumbimg}-->" />
          </div>
          <div class="info">
            <h3 class="fn fz16 ws lh30"><!--{$volist.title|filterhtml:26}--></h3>
            <div class="ws fz12">
              <span class=""> 
                <!--{area type='text' value=$volist.area2}-->
              </span>
              <!--{if $volist.flag == '1'}-->
              <!--{if $volist.endbmtime > $time}-->
              <span class="color_main bo_main br3 plr5 lhn ptb1">报名中</span>
              <!--{else}-->
              <span class="color_9 bo_eb br3 plr5 lhn ptb1">报名结束</span>
              <!--{/if}-->
              <!--{else}-->
              <span class="color_9 bo_eb br3 plr5 lhn ptb1">活动结束</span>
              <!--{/if}-->
            </div>
            <div class="color_9">
              <!--{$volist.starttime|date_format:"%Y-%m-%d %H:%M"}-->
            </div>
          </div>
          </a>
        </li>
        <!--{/foreach}--> 
        <!--{/if}-->
        <div class="clear"></div>
      </ul>
      <div class="t_center pt10 pb20">
        <a href="<!--{$oefile}-->&c=party" class="plr40 color_main bo_light bg_fc inline_block lh36 br fz14 cursor">更多</a>
      </div>
    </div>
  </div>
</div>


<!--//文章模块 -->
<div class="mt10">
  <div class="bg_f pt20 pb10">
    <div class="fb fz20 color_main pb15 t_center">
      <a href="<!--{$oefile}-->&c=article" class="color_main cursor">
      婚恋课堂
      <p class="fn fz14 pt5">学会如何谈恋爱，恋爱宝典全教给你</p>
      </a>
    </div>
    <div class="t_center fz14 pb20 cursor">
      <!--{assign var="catlist" value=vo_list("mod={articlecat} where={v.parentid='0'} num={3}")}--> 
      <!--{foreach $catlist as $val}--> 
      <!--{if $val.i == 1}-->
      <span class="inline_block mlr5 lh35 plr15 br bg_main color_f" f="but_sel_article" data-id="<!--{$val.catid}-->"><!--{$val.catname}--></span>
      <!--{else}-->
      <span class="inline_block mlr5 lh35 plr15 br bg_body" f="but_sel_article" data-id="<!--{$val.catid}-->"><!--{$val.catname}--></span>
      <!--{/if}-->
      <!--{/foreach}-->
    </div>
    
    <!--{foreach $catlist as $val}-->
    <!--{assign var='new_article' value=vo_list("mod={article} num={3} where={v.catid='<!--{$val.catid}-->'} cache={1}")}-->
    <!--{if !empty($new_article)}-->
    <div id="art_box_<!--{$val.catid}-->" class="art_list plr15"<!--{if $val.i == '1'}--> style="display:block;"<!--{else}--> style="display:none;"<!--{/if}-->>
      <!--{foreach $new_article as $volist}-->                
      <dl class="pr bo_bf7 pb20 mb15" style="padding-left: 3.2rem;min-height:2.4rem;">
        <a href="<!--{$oefile}-->&c=article&a=detail&id=<!--{$volist.articleid}-->">
        <dt class="pa lt dc br3 oh" style="width: 2.8rem;height:2rem;">
          <img class="lazyload ob_c" src="<!--{$volist.thumbimg}-->" data-src="<!--{$volist.thumbimg}-->" />
        </dt>
        <dd class="">
          <h3 class="fn fz15"><!--{$volist.title|filterhtml:26}--></h3>
          <div class="color_9 fz14 pt5 pr">
            <span class="view">阅读 <!--{$volist.hits}--></span>
            <span class="pa rt t5"><!--{$volist.addtime|date_format:"%Y-%m-%d"}--></span>
          </div>
        </dd>
        </a>
      </dl>
      <!--{/foreach}--> 
    </div>
    <!--{/if}-->
    <!--{/foreach}--> 
  </div>
</div>


<!--//底部 -->
<div class="mt10 bg_f t_center pb20">
  <div class="pt15">
    <a class="fz16 lh30 color_f40" href="tel:<!--{$config.sitetel}-->">
      幸福热线： <!--{$config.sitetel}--> 
    </a>
  </div>
  <!--{assign var="aboutlist" value=vo_list("mod={about} where={v.wapelite='1'} num={4}")}-->
  <!--{if (!empty($aboutlist))}-->
  <!--{assign var="about_nums" value=count($aboutlist)}-->
  <div class="pt5 fz14 cursor">
    <!--{foreach $aboutlist as $val}-->
    <a href="<!--{$oefile}-->&c=about&a=detail&id=<!--{$val.abid}-->"><!--{$val.title}--></a>
    <!--{if $about_nums == $val.i}-->
    <!--{else}-->
    <i class="color_c inline_block plr5">|</i>
    <!--{/if}-->
    <!--{/foreach}-->
  </div>
  <!--{/if}-->
<!--{assign var="html1" value="<!--{label name="wap_footer"}-->"}-->
  <!--{if !empty($html1)}-->
  <div class="pt5">
    <!--{label name="wap_footer"}-->
  </div>
  <!--{/if}-->
</div>
<!--{include file="<!--{$oetplpath}-->widget/footernav.tpl"}-->
<!--{include file="<!--{$oetplpath}-->widget/block_footjs.tpl"}-->
<script src="<!--{$wapskin}-->js/index2.js?v=<!--{$copyright_version}-->"></script>
<!--{if !empty($in_zone)}-->
<script src="<!--{$urlpath}-->tpl/static/oeui/js/bscroll.min.js"></script>
<script src="<!--{$wapskin}-->js/index.banner.js?v=<!--{$copyright_version}-->"></script>
<script>
$(function () {
  slide.mounted();
});
</script>
<!--{/if}-->
<!--{if isset($config.app.demo)}-->
<!--{include file="<!--{$oetplpath}-->widget/block_demo.tpl"}-->
<!--{/if}-->
<!--{include file="<!--{$oetplpath}-->widget/block_randtip.tpl"}-->
<!--{include file="<!--{$oetplpath}-->widget/block_wxshare.tpl"}-->
<script>
$(function(){
    if (oeui_cache) {
        oeui_cache.clearCache();
    }
});
</script>
</body>
</html>