<div class="oe_shade dialog hide cursor" id="search_wrap">
  <div class="oe_close mask"></div>
  <div class="oe_search popup">
    <div class="search_wrapper scroll_y">
      <!--//0.05.08 -->
      <dl>
        <dt>精准搜索</dt>
        <dd class="pr10 pr">
          <input class="fz15 bn bg_f2 w100 bsb br3 lh40 pl10" type="text" name="s_key" id="s_key" maxlength="12" placeholder="输入会员ID搜索" value="<!--{if $s_key > 0}--><!--{$s_key}--><!--{/if}-->" />
          <em class="pa rt inline_block lh40 pt10 plr20 cursor" f="but_clear_skey"><i class="iconfont icon-guan_bi color_9"></i></em>
        </dd>
      </dl>
      <dl>
        <dt>性别</dt>
        <dd>
          <input type="hidden" name="s_gender" id="s_gender" value="<!--{$s_gender}-->" />
          <span f="but_search_item" data-val="0" data-input="s_gender"<!--{if $s_gender == '0'}--> class="current"<!--{/if}-->>不限<i class="iconfont icon-jiaobiao"></i></span>
          <span f="but_search_item" data-val="1" data-input="s_gender"<!--{if $s_gender == '1'}--> class="current"<!--{/if}-->>男会员<i class="iconfont icon-jiaobiao"></i></span>
          <span f="but_search_item" data-val="2" data-input="s_gender"<!--{if $s_gender == '2'}--> class="current"<!--{/if}-->>女会员<i class="iconfont icon-jiaobiao"></i></span>
        </dd>
      </dl>
      <dl>
        <dt class="pr bo_bf7 mr10 lh40" f="but_more_seritem">
          年龄 
          <span class="pa rt cursor"><i class="iconfont icon-jiantoushangxi fz14"></i></span>
        </dt>
        <dd class="dialog_s_age">
          <span f="but_search_item" data-val="-1" data-input="s_age"<!--{if $s_age == '-1' || $s_age == '0'}--> class="current"<!--{/if}-->>不限<i class="iconfont icon-jiaobiao"></i></span>
          <!--{assign var="varlist" value=vo_list("mod={volistvar} where={agegroup}")}-->
          <!--{if !empty($varlist)}-->
          <!--{foreach $varlist as $val}-->
          <span f="but_search_item" data-val="<!--{$val.value}-->" data-input="s_age"<!--{if $s_age == $val.value}--> class="current"<!--{/if}-->><!--{$val.text}--><i class="iconfont icon-jiaobiao"></i></span>
          <!--{/foreach}-->
          <!--{/if}-->
        </dd>
      </dl>
      
      <!--//0.05.08 -->
      <dl class="pr lh40 mr15 bo_bf7" f="get_area_picker" data-item="area" data-name="s_dist" data-title="所在地" data-text="不限">
        <dt>所在地</dt>
        <dd class="pa rt ptn fz14">
          <em f="s_dist_result">
            <!--{if $s_dist1 > 0}-->
              <!--{area type="text" value=$s_dist1}--> 
              <!--{if $s_dist2 > 0}-->
                <!--{area type="text" value=$s_dist2}--> 
              <!--{/if}-->
              <!--{if $s_dist3 > 0}-->
                <!--{area type="text" value=$s_dist3}--> 
              <!--{/if}-->
            <!--{else}-->
            不限
            <!--{/if}-->
          </em>
          <i class="iconfont icon-jiantou color_m"></i>
        </dd>
      </dl>
      
      <dl>
        <dt class="pr bo_bf7 mr10 lh40" f="but_more_seritem">
          身高
          <span class="pa rt">
          <!--{if $s_height == '0'}-->
          <i class="iconfont icon-jiantouxiaxi fz14"></i>
          <!--{else}-->
          <i class="iconfont icon-jiantoushangxi fz14"></i>
          <!--{/if}-->
          </span>
        </dt>
        <dd<!--{if $s_height == '0'}--> style="display:none;"<!--{/if}-->>
          <input type="hidden" name="s_height" id="s_height" value="<!--{$s_height}-->" />
          <span f="but_search_item" data-val="0" data-input="s_height"<!--{if $s_height == '-1' || $s_height == '0'}--> class="current"<!--{/if}-->>不限<i class="iconfont icon-jiaobiao"></i></span>
          <!--{assign var="varlist" value=vo_list("mod={volistvar} where={heightgroup}")}-->
          <!--{if !empty($varlist)}-->
          <!--{foreach $varlist as $val}-->
          <span f="but_search_item" data-val="<!--{$val.value}-->" data-input="s_height"<!--{if $s_height == $val.value}--> class="current"<!--{/if}-->><!--{$val.text}--><i class="iconfont icon-jiaobiao"></i></span>
          <!--{/foreach}-->
          <!--{/if}-->
        </dd>
      </dl>
      
      <dl>
        <dt class="pr bo_bf7 mr10 lh40" f="but_more_seritem">
          体重
          <span class="pa rt cursor">
          <!--{if $s_weight == '0'}-->
          <i class="iconfont icon-jiantouxiaxi fz14"></i>
          <!--{else}-->
          <i class="iconfont icon-jiantoushangxi fz14"></i>
          <!--{/if}-->
          </span>
        </dt>
        <dd<!--{if $s_weight == '0'}--> style="display:none;"<!--{/if}-->>
          <input type="hidden" name="s_weight" id="s_weight" value="<!--{$s_weight}-->" />
          <span f="but_search_item" data-val="0" data-input="s_weight"<!--{if $s_weight == '-1' || $s_weight == '0'}--> class="current"<!--{/if}-->>不限<i class="iconfont icon-jiaobiao"></i></span>
          <!--{assign var="varlist" value=vo_list("mod={volistvar} where={weightgroup}")}-->
          <!--{if !empty($varlist)}-->
          <!--{foreach $varlist as $val}-->
          <span f="but_search_item" data-val="<!--{$val.value}-->" data-input="s_weight"<!--{if $s_weight == $val.value}--> class="current"<!--{/if}-->><!--{$val.text}--><i class="iconfont icon-jiaobiao"></i></span>
          <!--{/foreach}-->
          <!--{/if}-->
        </dd>
      </dl>
      
      <!--//0.05.08 -->
      <dl>
        <dt class="pr bo_bf7 mr10 lh40" f="but_more_seritem">
          婚况
          <span class="pa rt cursor">
          <!--{if $s_marry == '0'}-->
          <i class="iconfont icon-jiantouxiaxi fz14"></i>
          <!--{else}-->
          <i class="iconfont icon-jiantoushangxi fz14"></i>
          <!--{/if}-->
          </span>
        </dt>
        <dd class="dialog_s_marry"<!--{if $s_marry == '0'}--> style="display:none;"<!--{/if}-->>
          <input type="hidden" name="s_marry" id="s_marry" value="<!--{$s_marry}-->" />
          <span f="but_search_item" data-val="0" data-input="s_marry"<!--{if $s_marry == '0'}--> class="current"<!--{/if}-->>不限<i class="iconfont icon-jiaobiao"></i></span>
          <!--{assign var="varlist" value=vo_list("mod={volistvar} where={marry}")}-->
          <!--{foreach $varlist as $val}-->
          <span f="but_search_item" data-val="<!--{$val.value}-->" data-input="s_marry"<!--{if $s_marry == $val.value}--> class="current"<!--{/if}-->><!--{$val.text}--><i class="iconfont icon-jiaobiao"></i></span>
          <!--{/foreach}-->
        </dd>
      </dl>
      
      <dl>
        <dt class="pr bo_bf7 mr10 lh40" f="but_more_seritem">
          学历
          <span class="pa rt cursor">
          <!--{if $s_education == '0'}-->
          <i class="iconfont icon-jiantouxiaxi fz14"></i>
          <!--{else}-->
          <i class="iconfont icon-jiantoushangxi fz14"></i>
          <!--{/if}-->
          </span>
        </dt>
        <dd<!--{if $s_education == '0'}--> style="display:none;"<!--{/if}-->>
          <input type="hidden" name="s_education" id="s_education" value="<!--{$s_education}-->" />
          <span f="but_search_item" data-val="0" data-input="s_education"<!--{if $s_education == '0'}--> class="current"<!--{/if}-->>不限<i class="iconfont icon-jiaobiao"></i></span>
          <!--{assign var="varlist" value=vo_list("mod={volistvar} where={education}")}-->
          <!--{foreach $varlist as $val}-->
          <span f="but_search_item" data-val="<!--{$val.value}-->" data-input="s_education"<!--{if $s_education == $val.value}--> class="current"<!--{/if}-->><!--{$val.text}--><i class="iconfont icon-jiaobiao"></i></span>
          <!--{/foreach}-->
        </dd>
      </dl>
      <dl>
        <dt class="pr bo_bf7 mr10 lh40" f="but_more_seritem">
          头像
          <span class="pa rt cursor">
          <!--{if $s_avatar == '0'}-->
          <i class="iconfont icon-jiantouxiaxi fz14"></i>
          <!--{else}-->
          <i class="iconfont icon-jiantoushangxi fz14"></i>
          <!--{/if}-->
          </span>
        </dt>
        <!--//0.05.13 -->
        <dd<!--{if $s_avatar == '0'}--> style="display:none;"<!--{/if}-->>
          <input type="hidden" name="s_avatar" id="s_avatar" value="<!--{$s_avatar}-->" />
          <span f="but_search_item" data-val="1" data-input="s_avatar"<!--{if $s_avatar == '1'}--> class="current"<!--{/if}-->>有头像<i class="iconfont icon-jiaobiao"></i></span>
          <span f="but_search_item" data-val="2" data-input="s_avatar"<!--{if $s_avatar == '2' || $s_avatar == '0'}--> class="current"<!--{/if}-->>不限<i class="iconfont icon-jiaobiao"></i></span>
        </dd>
      </dl>
      
      
      <div class="fz14 color_red pt10 pr mr10 pb10">
        以下搜索条件仅对VIP会员开放
        <!--{if $login.status == '0'}-->
        <span class="pa rt inline_block pt10 color_6" f="but_login">升级<i class="iconfont icon-jiantou fz12"></i></span>
        <!--{else}-->
        <!--{if $login.group.power.user_advsearch == '0'}-->
        <span class="pa rt inline_block pt10 color_6" f="but_vip">升级<i class="iconfont icon-jiantou fz12"></i></span>
        <!--{/if}-->
        <!--{/if}-->
      </div>
      
      <!--{if $login.status == '0'}-->
      <dl class="pr lh40 mr15 bo_bf7" f="but_login">
      <!--{else}-->
      <!--{if $login.group.power.user_advsearch == '0'}-->
      <dl class="pr lh40 mr15 bo_bf7" f="but_vip">
      <!--{else}-->
      <dl class="pr lh40 mr15 bo_bf7" f="get_var_picker" data-item="job" data-name="s_job" data-title="职业" data-text="不限">
      <!--{/if}-->
      <!--{/if}-->
        <dt>职业</dt>
        <dd class="pa rt ptn fz14">
          <input type="hidden" name="s_job" id="s_job" value="<!--{$s_job}-->" />
          <em id="s_job_result">
            <!--{if $s_job > 0}-->
            <!--{hook mod="var" item="job" type="text" value=$s_job}-->
            <!--{else}-->
            不限
            <!--{/if}-->
          </em>
          <i class="iconfont icon-jiantou color_m"></i>
        </dd>
      </dl>
      
      <!--{if $login.status == '0'}-->
      <dl class="pr lh40 mr15 bo_bf7" f="but_login">
      <!--{else}-->
      <!--{if $login.group.power.user_advsearch == '0'}-->
      <dl class="pr lh40 mr15 bo_bf7" f="but_vip">
      <!--{else}-->
      <dl class="pr lh40 mr15 bo_bf7" f="get_var_picker" data-item="salary" data-name="s_salary" data-title="年收入" data-text="不限">
      <!--{/if}-->
      <!--{/if}-->
        <dt>年收入</dt>
        <dd class="pa rt ptn fz14">
          <input type="hidden" name="s_salary" id="s_salary" value="<!--{$s_salary}-->" />
          <em id="s_salary_result">
            <!--{if $s_salary > 0}-->
            <!--{hook mod="var" item="salary" type="text" value=$s_salary}-->
            <!--{else}-->
            不限
            <!--{/if}-->
          </em>
          <i class="iconfont icon-jiantou color_m"></i>
        </dd>
      </dl>
      <!--{if $login.status == '0'}-->
      <dl class="pr lh40 mr15 bo_bf7" f="but_login">
      <!--{else}-->
      <!--{if $login.group.power.user_advsearch == '0'}-->
      <dl class="pr lh40 mr15 bo_bf7" f="but_vip">
      <!--{else}-->
      <dl class="pr lh40 mr15 bo_bf7" f="get_var_picker" data-item="lunar" data-name="s_lunar" data-title="生肖" data-text="不限">
      <!--{/if}-->
      <!--{/if}-->
        <dt>生肖</dt>
        <dd class="pa rt ptn fz14">
          <input type="hidden" name="s_lunar" id="s_lunar" value="<!--{$s_lunar}-->" />
          <em id="s_lunar_result">
            <!--{if $s_lunar > 0}-->
            <!--{hook mod="var" item="lunar" type="text" value=$s_lunar}-->
            <!--{else}-->
            不限
            <!--{/if}-->
          </em>
          <i class="iconfont icon-jiantou color_m"></i>
        </dd>
      </dl>
      <!--{if $login.status == '0'}-->
      <dl class="pr lh40 mr15 bo_bf7" f="but_login">
      <!--{else}-->
      <!--{if $login.group.power.user_advsearch == '0'}-->
      <dl class="pr lh40 mr15 bo_bf7" f="but_vip">
      <!--{else}-->
      <dl class="pr lh40 mr15 bo_bf7" f="get_var_picker" data-item="astro" data-name="s_astro" data-title="星座" data-text="不限">
      <!--{/if}-->
      <!--{/if}-->
        <dt>星座</dt>
        <dd class="pa rt ptn fz14">
          <input type="hidden" name="s_astro" id="s_astro" value="<!--{$s_astro}-->" />
          <em id="s_astro_result">
            <!--{if $s_astro > 0}-->
            <!--{hook mod="var" item="astro" type="text" value=$s_astro}-->
            <!--{else}-->
            不限
            <!--{/if}-->
          </em>
          <i class="iconfont icon-jiantou color_m"></i>
        </dd>
      </dl>
      <!--{if $login.status == '0'}-->
      <dl class="pr lh40 mr15 bo_bf7" f="but_login">
      <!--{else}-->
      <!--{if $login.group.power.user_advsearch == '0'}-->
      <dl class="pr lh40 mr15 bo_bf7" f="but_vip">
      <!--{else}-->
      <dl class="pr lh40 mr15 bo_bf7" f="get_var_picker" data-item="child" data-name="s_child" data-title="小孩情况" data-text="不限">
      <!--{/if}-->
      <!--{/if}-->
        <dt>小孩情况</dt>
        <dd class="pa rt ptn fz14">
          <input type="hidden" name="s_child" id="s_child" value="<!--{$s_child}-->" />
          <em id="s_child_result">
            <!--{if $s_child > 0}-->
            <!--{hook mod="var" item="child" type="text" value=$s_child}-->
            <!--{else}-->
            不限
            <!--{/if}-->
          </em>
          <i class="iconfont icon-jiantou color_m"></i>
        </dd>
      </dl>
      <!--{if $login.status == '0'}-->
      <dl class="pr lh40 mr15 bo_bf7" f="but_login">
      <!--{else}-->
      <!--{if $login.group.power.user_advsearch == '0'}-->
      <dl class="pr lh40 mr15 bo_bf7" f="but_vip">
      <!--{else}-->
      <dl class="pr lh40 mr15 bo_bf7" f="get_var_picker" data-item="house" data-name="s_house" data-title="购房情况" data-text="不限">
      <!--{/if}-->
      <!--{/if}-->
        <dt>购房情况</dt>
        <dd class="pa rt ptn fz14">
          <input type="hidden" name="s_house" id="s_house" value="<!--{$s_house}-->" />
          <em id="s_house_result">
            <!--{if $s_house > 0}-->
            <!--{hook mod="var" item="house" type="text" value=$s_house}-->
            <!--{else}-->
            不限
            <!--{/if}-->
          </em>
          <i class="iconfont icon-jiantou color_m"></i>
        </dd>
      </dl>
      <!--{if $login.status == '0'}-->
      <dl class="pr lh40 mr15 bo_bf7" f="but_login">
      <!--{else}-->
      <!--{if $login.group.power.user_advsearch == '0'}-->
      <dl class="pr lh40 mr15 bo_bf7" f="but_vip">
      <!--{else}-->
      <dl class="pr lh40 mr15 bo_bf7" f="get_var_picker" data-item="car" data-name="s_car" data-title="购车情况" data-text="不限">
      <!--{/if}-->
      <!--{/if}-->
        <!--//0.04.27-->
        <dt>购车情况</dt>
        <dd class="pa rt ptn fz14">
          <input type="hidden" name="s_car" id="s_car" value="<!--{$s_car}-->" />
          <em id="s_car_result">
            <!--{if $s_car > 0}-->
            <!--{hook mod="var" item="car" type="text" value=$s_car}-->
            <!--{else}-->
            不限
            <!--{/if}-->
          </em>
          <i class="iconfont icon-jiantou color_m"></i>
        </dd>
      </dl>
      <!--{if $login.status == '0'}-->
      <dl class="pr lh40 mr15 bo_bf7" f="but_login">
      <!--{else}-->
      <!--{if $login.group.power.user_advsearch == '0'}-->
      <dl class="pr lh40 mr15 bo_bf7" f="but_vip">
      <!--{else}-->
      <dl class="pr lh40 mr15" f="get_hometown_picker" data-item="hometown" data-name="s_home" data-title="户籍地" data-text="不限">
      <!--{/if}-->
      <!--{/if}-->
        <dt>户籍地</dt>
        <dd class="pa rt ptn fz14">
          <input type="hidden" name="s_home1" id="s_home1" value="<!--{$s_home1}-->" />
          <input type="hidden" name="s_home2" id="s_home2" value="<!--{$s_home2}-->" />
          <input type="hidden" name="s_home3" id="s_home3" value="<!--{$s_home3}-->" />
          <em id="s_home_result">
            <!--{if $s_home1 > 0}-->
              <!--{hometown type="text" value=$s_home1}--> 
              <!--{if $s_home2 > 0}-->
                <!--{hometown type="text" value=$s_home2}--> 
              <!--{/if}-->
              <!--{if $s_home3 > 0}-->
                <!--{hometown type="text" value=$s_home3}--> 
              <!--{/if}-->
            <!--{else}-->
            不限
            <!--{/if}-->
          </em>
          <i class="iconfont icon-jiantou color_m"></i>
        </dd>
      </dl>
      
    </div>
    <div class="btn cursor t_center block">
      <label class="bg_f2 w40 color_6 br lhn ptb8 fz15" f="but_reset">重置</label>
      <label f="but_confirm_search" id="but_confirm_search" class="bg_main w40 color_f br lhn ptb8 fz15 ml10">搜索</label>
    </div>
  </div>
</div>
<!--{include file="<!--{$oetplpath}-->widget/block_picker.tpl"}-->
<script type="text/javascript">
//选择地区回调
//第一层所在地 0.05.07
function _search(data) {
    if (typeof($(data)) == 'undefined') {
        data = null;
    }
    if (_inst_oesearch) {
        _inst_oesearch.submitSearch();
    }
    
    /*
    //侧滑赋值
    var $dist1 = $("#s_dist1").val();
    var $dist2 = $("#s_dist2").val();
    var $dist3 = $("#s_dist3").val();
    var $dist_text = $("#s_dist_result").html();
    
    $("#s_area1").val($dist1);
    $("#s_area2").val($dist2);
    $("#s_area3").val($dist3);
    $("#s_area_result").html($dist_text);
    */
}

//第二层所在地 0.05.07
function _search2(data) {
    if (typeof($(data)) == 'undefined') {
        data = null;
    }
    //底部赋值
    var $dist1 = $("#s_area1").val();
    var $dist2 = $("#s_area2").val();
    var $dist3 = $("#s_area3").val();
    var $dist_text = $("#s_area_result").html();
    
    $("#s_dist1").val($dist1);
    $("#s_dist2").val($dist2);
    $("#s_dist3").val($dist3);
    $("#s_dist_result").html($dist_text);
}
</script>