<nav-bar navbar-data='{{navbarData}}' bind:back="back"></nav-bar>
<view class="main" style="padding-top:{{height}}px;height:{{windowHeight-height}}px">
  <form catchsubmit="formSubmit">
    <view class="form">
      <view class="section" style="display: none;">
        <view class="title">_id:</view>
        <view class="cells">
          <input class="input" model:value="{{form._id}}" name="_id" placeholder="请输入_id" />
        </view>
      </view>
      <view class="section" style="display: none;">
        <view class="title">openid:</view>
        <view class="cells">
          <input class="input" model:value="{{form.openid}}" name="openid" placeholder="请输入openid" />
        </view>
      </view>
      <view class="section">
        <view class="title">昵称:</view>
        <view class="cells">
          <input type="nickname" class="input" model:value="{{form.nick_name}}" name="nick_name" placeholder="请输入昵称" />
        </view>
      </view>
      <view class="section">
        <view class="title">电话:</view>
        <view class="cells">
          <input type="number" class="input" model:value="{{form.tel}}" name="tel" placeholder="请输入电话" />
        </view>
      </view>
      <view class="section">
        <view class="title">部门:</view>
        <view class="cells">
          <input class="input" model:value="{{form.dept}}" name="dept" placeholder="请输入部门" />
        </view>
      </view>
      <view class="btn">
        <button size="mini" type="primary" formType="submit">保存</button>
      </view>
    </view>
  </form>
</view>