<view class="wrap">
  <view class="ban-bx">
    <image class="img-logo" mode="aspectFit" src='/images/my/img-logo.png'></image>
  </view>

  <view class="info-bx">
    <view class="info-li">
      <image class="info-img" mode="aspectFit" src='/images/my/in-ic1.png'></image>
      <text class="info-tt">用户名</text>
      <text class="info-ct">{{g_countName}}</text>
    </view>
    <view class="info-li">
      <image class="info-img" mode="aspectFit" src='/images/my/in-ic1.png'></image>
      <text class="info-tt">员工</text>
      <text class="info-ct">{{infoName}}</text>
    </view>
    <view class="info-li">
      <image class="info-img" mode="aspectFit" src='/images/my/in-ic1.png'></image>
      <text class="info-tt">部门</text>
      <text class="info-ct">{{g_depName}}</text>
    </view>
    <view class="info-li">
      <image class="info-img" mode="aspectFit" src='/images/my/in-ic3.png'></image>
      <text class="info-tt">版本号</text>
      <text class="info-ct">1.1.0</text>
    </view>
    <view class="info-li" bindtap="onPasswordModel">
      <image class="info-img" mode="aspectFit" src='/images/my/in-ic4.png'></image>
      <text class="info-tt">密码修改</text>
    </view>
    
    <view class="info-li" bindtap="onLogOut">
      <image class="info-img" mode="aspectFit" src='/images/my/in-ic2.png'></image>
      <text class="info-tt">退出登录</text>
    </view>


  </view>

   <view class="mask" wx:if="{{modelShow}}"> 
    <view class="model-bx">
      <form bindsubmit="sendPassword" bindreset="cancelModify">
        <view class="model-hd">修改密码</view>
        <view class="model-bd">
          <view class="ipt-gp">
            <text class="ipt-tt">旧密码：</text> 
            <input name="oldpwd" placeholder="请输入旧密码" value=""/>      
          </view>
          <view class="ipt-gp">
            <text class="ipt-tt">新密码：</text> 
            <input name="newpwd" placeholder="请输入新密码" value=""/>
          </view>
          <view class="ipt-gp">
            <text class="ipt-tt">确认密码：</text> 
            <input name="surepwd" placeholder="确认新密码" value=""/>
          </view>
          <view class="ipt-gp">
            <text class="tips">{{tips}}</text>
          </view>
          
          <view class="btn-gp">
            <button formType="reset" class="btn-cel">返回</button> 
            <button formType="submit" class="btn-sub">确认保存</button>  
          </view>
        </view>
      </form>
    </view>
  </view>
</view>
