<!--{assign var="menu_id" value="profile"}-->
<!--{include file="<!--{$oetplpath}-->widget/block_header.tpl"}-->
<body>
<div class="oe_top bo_bf7 cursor">
  <a href="<!--{$oefile}-->&c=cp&from=profile">
  <span class="back"><i class="iconfont icon-fanhui"></i></span>
  </a>
  <h1>编辑资料</h1>
</div>
<div class="h48"></div>

<div class="bg_f plr15 pt20 pb20">
  <dl class="t_center">
    <dt class="pb20">
      <a class="cursor inline_block" href="<!--{$oefile}-->&c=avatar&a=headimg&from=profile">
      <span class="headimg inline_block pr img_70 oh br pr">
        <!--{if !empty($login.info.headimg)}-->
        <img id="headimg_preview" class="w100" src="<!--{$login.info.headimg}-->" />
        <!--{else}-->
        <img id="headimg_preview" class="w100" src="<!--{$login.info.headimgurl}-->" />
        <!--{/if}-->
        <label class="lb pa color_w t_center w100 color_f bg_tran_5">
          <!--{if $login.info.headflag == '0'}-->
          点击上传
          <!--{elseif $login.info.headflag == '2'}-->
          审核中
          <!--{elseif $login.info.headflag == '3'}-->
          未通过
          <!--{else}-->
          更换头像
          <!--{/if}-->
        </label>
      </span>
      </a>
    </dt>
    <dd>
      <h3 class="fz20 pb5">
        <!--{if $login.info.gender == '1'}-->
        <i class="iconfont icon-xingbie color_nan fn fz16"></i>
        <!--{else}-->
        <i class="iconfont icon-xingbie color_nv fn fz16"></i>
        <!--{/if}-->
        <b><!--{$login.info.username}--></b>
        <span class="fz14 fn color_9">(ID:<!--{$login.info.userid}-->)</span>
      </h3>
      <div class="fz14">
        <div class="color_9">
          <p class="pb5">
            资料完善度：<!--{$login.info.growth}-->% 
          </p>
          <p class="h10">
            <span class="inline_block pr bg_f2 w40 br oh" style="height: .1rem;">
              <label class="pa lt inline_block bg_f40" style="width:<!--{$login.info.growth}-->%; height: .1rem;"></label>
            </span>
          </p>
        </div>
      </div>
    </dd>
  </dl>
</div>
<div class="menu bg_f p10 mt10 cursor">
  <ul>
    <li class="pr p20 pl60" f="open_profile_dialog">
      <div class="icon pa l15 t50" style="margin-top:-.4rem;">
        <img style="width: .8rem;" src="<!--{$wapskin}-->images/svg/profile_1.svg" />
      </div>
      <h3 class="fz16 fn">个人资料</h3>
      <!--{if $mygrowth.data < 20}-->
      <div class="text pa t20 r15 fz13 color_9 pr20" id="gr_data_tips">待完善</div>
      <!--{/if}-->
      <em class="iconfont icon-jiantou pa t20 r15 fz12"></em>
    </li>
    <li class="pr p20 pl60" f="open_cond_dialog">
      <div class="icon pa l15 t50" style="margin-top:-.4rem;">
        <img style="width: .8rem;" src="<!--{$wapskin}-->images/svg/profile_6.svg" />
      </div>
      <h3 class="fz16 fn">择偶要求</h3>
      <!--{if $mygrowth.cond < 10}-->
      <div class="text pa t20 r15 fz13 color_9 pr20" id="gr_cond_tips">待完善</div>
      <!--{/if}-->
      <em class="iconfont icon-jiantou pa t20 r15 fz12"></em>
    </li>
    <li class="pr p20 pl60" f="open_intro_dialog">
      <div class="icon pa l15 t50" style="margin-top:-.4rem;">
        <img style="width: .8rem;" src="<!--{$wapskin}-->images/svg/profile_5.svg" />
      </div>
      <h3 class="fz16 fn">自我介绍</h3>
      <!--{if $mygrowth.dubai < 10}-->
      <div class="text pa t20 r15 fz13 color_9 pr20" id="gr_dubai_tips">待完善</div>
      <!--{/if}-->
      <em class="iconfont icon-jiantou pa t20 r15 fz12"></em>
    </li>
    <!--{if $config.baidumap_flag == '1'}-->
    <a href="<!--{$oefile}-->&c=map&from=profile">
    <li class="pr p20 pl60">
      <div class="icon pa l15 t50" style="margin-top:-.4rem;">
        <img style="width: .8rem;" src="<!--{$wapskin}-->images/svg/profile_4.svg" />
      </div>
      <h3 class="fz16 fn">标注地图</h3>
      <!--{if !empty($login.info.maplng) && !empty($login.info.maplat)}-->
      <div class="text pa t20 r15 fz13 color_9 pr20">更改位置</div>
      <!--{else}-->
      <div class="text pa t20 r15 fz13 color_9 pr20">设定位置</div>
      <!--{/if}-->
      <em class="iconfont icon-jiantou pa t20 r15 fz12"></em>
    </li>
    </a>
    <!--{/if}-->
    <a href="<!--{$oefile}-->&c=photo">
    <li class="pr p20 pl60">
      <div class="icon pa l15 t50" style="margin-top:-.4rem;">
        <img style="width: .8rem;" src="<!--{$wapskin}-->images/svg/profile_3.svg">
      </div>
      <h3 class="fz16 fn">上传相册</h3>
      <div class="text pa t20 r15 fz13 color_9 pr20"></div>
      <em class="iconfont icon-jiantou pa t20 r15 fz12"></em>
    </li>
    </a>
    <a href="<!--{$oefile}-->&c=home&a=detail&id=<!--{$login.info.userid}-->">
    <li class="pr p20 pl60">
      <div class="icon pa l15 t50" style="margin-top:-.4rem;">
        <img style="width: .8rem;" src="<!--{$wapskin}-->images/svg/profile_2.svg" />
      </div>
      <h3 class="fz16 fn">预览主页</h3>
      <div class="text pa t20 r15 fz13 color_9 pr20">查看我的个人主页</div>
      <em class="iconfont icon-jiantou pa t20 r15 fz12"></em>
    </li>
    </a>
  </ul>
</div>
<!--{include file="<!--{$oetplpath}-->cp/profile_data_page.tpl"}-->
<!--{include file="<!--{$oetplpath}-->cp/profile_cond_page.tpl"}-->
<!--{include file="<!--{$oetplpath}-->cp/profile_intro_page.tpl"}-->

<!--//多选框 -->
<div class="oe_shade hide dialog cursor" id="var_multi_wrap">
  <div class="oe_close mask"></div>
  <div class="popup popup_bottom" style="left:0;top:auto;background:#f7f9fa;position:fixed;">
    <div class="bg_f" id="var_multi_data">

    </div>
  </div>
</div>
<!--//单选+或以上 -->
<div class="oe_shade hide dialog" id="var_above_wrap">
  <div class="oe_close mask"></div>
  <div class="popup popup_bottom" style="left:0;top:auto;background:#f7f9fa;position:fixed;">
    <div class="bg_f" id="var_above_data">
    
    </div>
  </div>
</div>
<!--//文本框 -->
<div class="oe_shade hide dialog cursor" id="var_input_wrap">
  <div class="oe_close mask"></div>
  <div class="popup popup_bottom" style="left:0;top:auto;background:#f7f9fa;position:fixed;">
    <div class="bg_f" id="var_input_data">

    </div>
  </div>
</div>
<!--//文本域 -->
<div class="oe_shade hide dialog cursor" id="var_textarea_wrap">
  <div class="oe_close mask"></div>
  <div class="popup popup_bottom" style="left:0;top:auto;background:#f7f9fa;position:fixed;">
    <div class="bg_f" id="var_textarea_data">

    </div>
  </div>
</div>
<!--//地区院校联动 -->
<div class="oe_shade hide dialog" id="var_school_wrap">
  <div class="oe_close mask"></div>
  <div id="var_school_data" class="popup cursor" style="left:0;">

  </div>
</div>

<!--{include file="<!--{$oetplpath}-->widget/block_footjs.tpl"}-->
<!--{include file="<!--{$oetplpath}-->widget/block_picker.tpl"}-->
<script src="<!--{$wapskin}-->cp/js/profile.js?v=<!--{$copyright_version}-->"></script>
<script src="<!--{$wapskin}-->cp/js/profile.cond.js?v=<!--{$copyright_version}-->"></script>
<script src="<!--{$wapskin}-->cp/js/profile.intro.js?v=<!--{$copyright_version}-->"></script>
<script src="<!--{$wapskin}-->js/oe/oe.var.js?v=<!--{$copyright_version}-->"></script>
</body>
</html>