<!--{assign var="menu_id" value="profile"}-->
<!--{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 mt30">
        <a href="<!--{$oefile}-->&c=profile">
          <div class="item fl mr60 pb15 pr t1">
            <div class="text fz16 color_6">基本资料</div>
          </div>
        </a>
        <a href="<!--{$oefile}-->&c=profile&a=&a=life">
          <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>
        <a href="<!--{$oefile}-->&c=profile&a=&a=guihua">
          <div class="item fl mr60 pb15 pr t1">
            <div class="text fz16 color_6">爱情规划</div>
          </div>
        </a>
        <a href="<!--{$oefile}-->&c=profile&a=&a=intro">
          <div class="item fl mr60 pb15 pr t1">
            <div class="text fz16 color_6">个人介绍</div>
          </div>
        </a>
        <a href="<!--{$oefile}-->&c=profile&a=&a=cond">
          <div class="item fl mr60 pb15 pr t1">
            <div class="text fz16 color_6">择偶条件</div>
          </div>
        </a>
        <a href="<!--{$oefile}-->&c=rz">
          <div class="item fl mr60 pb15 pr t1">
            <div class="text fz16 color_6">联系方式</div>
          </div>
        </a>
      </div>
      <div class="progress m0_a mt30" style="width:705px;">
        <div class="bar w100per bsb bo_eb bg_f br30 oh pr" style="height: 26px;padding: 1px;">
          <div class="value h100per br30" style="width: <!--{$login.info.growth}-->%;background-color: #ffd4e5;"></div>
          <div class="text color_main pa lt w100per t_center">当前资料完整度<!--{$login.info.growth}-->％</div>
        </div>
      </div>
      <div class="mt30">
        <form class="layui-form" method="post" action="<!--{$oefile}-->&c=<!--{$c}-->" id="profile">
          <input type="hidden" name="a" id="a" value="savelife" />
          <div class="item pr pl100 mb15">
            <label class="w100 bsb plr15 t_right pa lt lh38">宗教信仰</label>
            <div class="box w200">
              <div class="oeui_select large">
                <div class="selector">
                  <input type="hidden" id="faith" name="faith" value="<!--{$login.info.faith}-->">
                  <!--{if $login.info.faith > 0}-->
                  <span class="selection current"><!--{hook mod="var" item="faith" type="text" value=$login.info.faith}--></span>
                  <!--{else}-->
                  <span class="selection">请选择</span>
                  <!--{/if}-->
                  <span class="icon">
                    <em class="oeuifont oeui-xia"></em>
                  </span>
                </div>
                <div class="dropdown">
                  <div class="option">请选择</div>
                  <!--{assign var="varlist" value=vo_list("mod={volistvar} where={faith}")}-->
                  <!--{foreach $varlist as $val}-->
                  <div class="option <!--{if $val.value == $login.info.faith}--> selected<!--{/if}-->" data-val="<!--{$val.value}-->"><!--{$val.text}--></div>
                  <!--{/foreach}-->
                </div>
              </div>
            </div>
          </div>
          <div class="item pr pl100 mb15">
            <label class="w100 bsb plr15 t_right pa lt lh38">是否吸烟</label>
            <div class="box w200">
              <div class="oeui_select large">
                <div class="selector">
                  <input type="hidden" id="smoking" name="smoking" value="<!--{$login.info.smoking}-->">
                  <!--{if $login.info.smoking > 0}-->
                  <span class="selection current"><!--{hook mod="var" item="smoking" type="text" value=$login.info.smoking}--></span>
                  <!--{else}-->
                  <span class="selection">请选择</span>
                  <!--{/if}-->
                  <span class="icon">
                    <em class="oeuifont oeui-xia"></em>
                  </span>
                </div>
                <div class="dropdown">
                  <div class="option">请选择</div>
                  <!--{assign var="varlist" value=vo_list("mod={volistvar} where={smoking}")}-->
                  <!--{foreach $varlist as $val}-->
                  <div class="option <!--{if $val.value == $login.info.smoking}--> selected<!--{/if}-->" data-val="<!--{$val.value}-->"><!--{$val.text}--></div>
                  <!--{/foreach}-->
                </div>
              </div>
            </div>
          </div>
          <div class="item pr pl100 mb15">
            <label class="w100 bsb plr15 t_right pa lt lh38">是否喝酒</label>
            <div class="box w200">
              <div class="oeui_select large">
                <div class="selector">
                  <input type="hidden" id="drinking" name="drinking" value="<!--{$login.info.drinking}-->">
                  <!--{if $login.info.drinking > 0}-->
                  <span class="selection current"><!--{hook mod="var" item="drinking" type="text" value=$login.info.drinking}--></span>
                  <!--{else}-->
                  <span class="selection">请选择</span>
                  <!--{/if}-->
                  <span class="icon">
                    <em class="oeuifont oeui-xia"></em>
                  </span>
                </div>
                <div class="dropdown">
                  <div class="option">请选择</div>
                  <!--{assign var="varlist" value=vo_list("mod={volistvar} where={drinking}")}-->
                  <!--{foreach $varlist as $val}-->
                  <div class="option <!--{if $val.value == $login.info.drinking}--> selected<!--{/if}-->" data-val="<!--{$val.value}-->"><!--{$val.text}--></div>
                  <!--{/foreach}-->
                </div>
              </div>
            </div>
          </div>
          <div class="item pr pl100 mb15">
            <label class="w100 bsb plr15 t_right pa lt lh38">公司性质</label>
            <div class="box w200">
              <div class="oeui_select large">
                <div class="selector">
                  <input type="hidden" id="companytype" name="companytype" value="<!--{$login.info.companytype}-->">
                  <!--{if $login.info.companytype > 0}-->
                  <span class="selection current"><!--{hook mod="var" item="companytype" type="text" value=$login.info.companytype}--></span>
                  <!--{else}-->
                  <span class="selection">请选择</span>
                  <!--{/if}-->
                  <span class="icon">
                    <em class="oeuifont oeui-xia"></em>
                  </span>
                </div>
                <div class="dropdown">
                  <div class="option">请选择</div>
                  <!--{assign var="varlist" value=vo_list("mod={volistvar} where={companytype}")}-->
                  <!--{foreach $varlist as $val}-->
                  <div class="option <!--{if $val.value == $login.info.companytype}--> selected<!--{/if}-->" data-val="<!--{$val.value}-->"><!--{$val.text}--></div>
                  <!--{/foreach}-->
                </div>
              </div>
            </div>
          </div>
          <div class="item pr pl100 mb15">
            <label class="w100 bsb plr15 t_right pa lt lh38">家中排行</label>
            <div class="box w200">
              <div class="oeui_select large">
                <div class="selector">
                  <input type="hidden" id="tophome" name="tophome" value="<!--{$login.info.tophome}-->">
                  <!--{if $login.info.tophome > 0}-->
                  <span class="selection current"><!--{hook mod="var" item="tophome" type="text" value=$login.info.tophome}--></span>
                  <!--{else}-->
                  <span class="selection">请选择</span>
                  <!--{/if}-->
                  <span class="icon">
                    <em class="oeuifont oeui-xia"></em>
                  </span>
                </div>
                <div class="dropdown">
                  <div class="option">请选择</div>
                  <!--{assign var="varlist" value=vo_list("mod={volistvar} where={tophome}")}-->
                  <!--{foreach $varlist as $val}-->
                  <div class="option <!--{if $val.value == $login.info.tophome}--> selected<!--{/if}-->" data-val="<!--{$val.value}-->"><!--{$val.text}--></div>
                  <!--{/foreach}-->
                </div>
              </div>
            </div>
          </div>
          <div class="item pr pl100 mb15">
            <label class="w100 bsb plr15 t_right pa lt">掌握语言</label>
            <input type="hidden" name="language" id="language" value="<!--{$login.info.language}-->" />
            <div class="box">
              <!--{assign var="var_list" value=vo_list("mod={volistvar} where={language}")}--> 
              <!--{foreach $var_list as $val}--> 
              <!--{assign var="is_select" value=<!--{tofound value="<!--{$login.info.language}-->" tofound="<!--{$val.value}-->"}-->}--> 
                <div class="inline_block w150">
                  <div class="oeui_checkbox <!--{if $is_select == '1'}-->checked<!--{/if}-->" f="select_language">
                    <label>
                      <div class="checkbox">
                        <input type="checkbox" name="select_language" value="<!--{$val.value}-->" <!--{if $is_select == '1'}-->checked<!--{/if}-->>
                        <div class="icon">
                          <em class="oeuifont oeui-duoxuankuangdagou"></em>
                        </div>
                      </div>
                      <span class="text"><!--{$val.text}--></span>
                    </label>
                  </div>
                </div>
              <!--{/foreach}--> 
            </div>
          </div>
          <div class="item pr pl100 mb15">
            <div class="box">
              <button class="bg_main color_f bo_main br3 plr20 ptb10 cursor fz16" type="button" f="save_profile">保存</button>
            </div>
          </div>
        </form>
      </div>
    </div>
  </div>

<!--{include file="<!--{$uctplpath}-->widget/block_footer.tpl"}-->
<script src="<!--{$urlpath}-->tpl/static/pcui/js/oeui.min.js"></script>
<script src="<!--{$userskin}-->js/profile.life.js"></script>
</body>
</html>
