<!--{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>
        </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 class="line w100per bg_main pa lb" style="height: 3px;"></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 heart-intro" id="profile" action="<!--{$oefile}-->&c=<!--{$c}-->" method="post">
          <input type="hidden" name="a" id="a" value="saveintro" />
          <div class="item pr pl100 mb15">
            <label class="w100 bsb plr15 t_right pa lt lh38">个人介绍</label>
            <div class="box pr">
              <textarea placeholder="请输入内容..." class="bo_eb p10 w100per bsb h100 br3 fz14" id="content" name="content"><!--{$login.info.intro}--></textarea>
              <div class="text t_right color_9 mt5"><span id="tips_num">0</span>/200</div>
              <button class="bo_main color_f bg_main br30 pa" style="bottom: 35px;right: 5px;cursor: pointer;" f="help_me_write" type="button">帮我写</button>
            </div>
          </div>
          <div class="item pr pl100 mb15">
            <div class="box">
              <button class="bg_main color_f bo_main br3 plr20 ptb10 cursor fz16" f="save_profile" type="button">保存</button>
            </div>
          </div>
        </form>  
      </div>
    </div>
  </div>
<div class="oe_content oe_edit" style="display: none;">
	<div class="oe_container">
		<!--{include file="<!--{$oetplpath}-->block_menu.tpl"}-->
		<div class="oe_right">
			<div class="module-title">
				编辑资料
			</div>
      
			<!--{include file="<!--{$oetplpath}-->profile_top.tpl"}-->
			<div class="oe_tab_nav clearfix">
				<a class="nav-item fl" href="<!--{$oefile}-->&c=profile">
					<span class="text">基本资料<em></em></span>
				</a>
				<a class="nav-item fl" href="<!--{$oefile}-->&c=profile&a=life">
					<span class="text">个人&家庭<em></em></span>
				</a>
				<a class="nav-item fl" href="<!--{$oefile}-->&c=profile&a=guihua">
					<span class="text">爱情规划<em></em></span>
				</a>
				<a class="nav-item fl active" href="<!--{$oefile}-->&c=profile&a=intro">
					<span class="text">个人介绍<em></em></span>
				</a>
				<a class="nav-item fl" href="<!--{$oefile}-->&c=profile&a=cond">
					<span class="text">择偶条件<em></em></span>
				</a>
				<a class="nav-item fl" href="<!--{$oefile}-->&c=rz">
					<span class="text">联系方式<em></em></span>
				</a>
			</div>
      
      
			<form class="layui-form heart-intro" action="<!--{$oefile}-->&c=<!--{$c}-->" method="post">
      <input type="hidden" name="a" id="a" value="saveintro" />
      <div class="layui-form-item layui-form-text">
        <div class="layui-input-block">
        <!--{if !empty($login.info.intro)}-->
        <!--{if $login.info.introflag=='1'}-->
          <span class="layui-form-mid layui-word-aux" style="color:#14b5a0 !important;">审核通过</span>
        <!--{elseif $login.info.introflag=='3'}-->
          <span class="layui-form-mid layui-word-aux" style="color:#ff4400 !important;">审核未通过</span>
        <!--{elseif $login.info.introflag=='2'}-->
          <span class="layui-form-mid layui-word-aux" style="color:#666 !important;">待审核</span>
        <!--{/if}-->
        <!--{/if}-->
        </div>
      </div>
      <div class="layui-form-item layui-form-text">
        <label class="layui-form-label">个人介绍</label>
        <div class="layui-input-block">
          <textarea name="content" id="monolog_content" placeholder="请填写个人简介、兴趣爱好等" class="layui-textarea" onkeydown="_countTextSize('monolog_content', 'tips_num');" onkeyup="_countTextSize('monolog_content', 'tips_num');"><!--{$login.info.intro}--></textarea>
          <div class="text_num">
            <span id="tips_num">0</span>/200
          </div>
          <button class="layui-btn layui-btn-radius layui-btn-xs help-me-write" type="button" f="but_helpme_write">帮我写</button>
        </div>
      </div>
      <div class="layui-form-item">
        <div class="layui-input-block">
          <button class="layui-btn layui-btn-lg" lay-submit lay-filter="edit_intro" id="but_submit_intro">保存 <span class="oe_btn_loading layui-anim layui-icon layui-anim-rotate layui-anim-loop" style="display:none;">&#xe63d;</span></button>
        </div>
      </div>
			</form>
		</div>
	</div>
</div>
<!--{include file="<!--{$uctplpath}-->widget/block_footer.tpl"}-->
<script src="<!--{$userskin}-->js/profile.intro.js"></script>
</body>
</html>