<!--{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>
        </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 class="line w100per bg_main pa lb" style="height: 3px;"></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}-->">
          <input type="hidden" name="a" id="a" value="saveguihua" />
          <div class="item pr pl150 mb15">
            <label class="bsb plr15 t_right pa lt lh38">是否接受异地恋</label>
            <div class="box w200">
              <div class="oeui_select large">
                <div class="selector">
                  <input type="hidden" id="allopatry" name="allopatry" value="<!--{$login.info.allopatry}-->">
                  <!--{if $login.info.allopatry > 0}-->
                  <span class="selection current"><!--{hook mod="var" item="allopatry" type="text" value=$login.info.allopatry}--></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={allopatry}")}-->
                  <!--{foreach $varlist as $val}-->
                  <div class="option <!--{if $val.value == $login.info.allopatry}--> selected<!--{/if}-->" data-val="<!--{$val.value}-->"><!--{$val.text}--></div>
                  <!--{/foreach}-->
                </div>
              </div>
            </div>
          </div>
          <div class="item pr pl150 mb15">
            <label class="bsb plr15 t_right pa lt lh38">是否要小孩</label>
            <div class="box w200">
              <div class="oeui_select large">
                <div class="selector">
                  <input type="hidden" id="wantchild" name="wantchild" value="<!--{$login.info.wantchild}-->">
                  <!--{if $login.info.wantchild > 0}-->
                  <span class="selection current"><!--{hook mod="var" item="wantchild" type="text" value=$login.info.wantchild}--></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={wantchild}")}-->
                  <!--{foreach $varlist as $val}-->
                  <div class="option <!--{if $val.value == $login.info.wantchild}--> selected<!--{/if}-->" data-val="<!--{$val.value}-->"><!--{$val.text}--></div>
                  <!--{/foreach}-->
                </div>
              </div>
            </div>
          </div>
          <div class="item pr pl150 mb15">
            <label class="bsb plr15 t_right pa lt lh38">愿与对方父母同住</label>
            <div class="box w200">
              <div class="oeui_select large">
                <div class="selector">
                  <input type="hidden" id="liveparent" name="liveparent" value="<!--{$login.info.liveparent}-->">
                  <!--{if $login.info.liveparent > 0}-->
                  <span class="selection current"><!--{hook mod="var" item="liveparent" type="text" value=$login.info.liveparent}--></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={liveparent}")}-->
                  <!--{foreach $varlist as $val}-->
                  <div class="option <!--{if $val.value == $login.info.liveparent}--> selected<!--{/if}-->" data-val="<!--{$val.value}-->"><!--{$val.text}--></div>
                  <!--{/foreach}-->
                </div>
              </div>
            </div>
          </div>
          <div class="item pr pl150 mb15">
            <div class="box">
              <button class="bg_main color_f bo_main br3 plr20 ptb10 cursor fz16" type="submit">保存</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>
</body>
</html>
