<!--pages/mine/manage/addposition.wxml-->
<cu-custom isBack="{{true}}">
  <view slot="content">添加职位</view>
</cu-custom>
<scroll-view class="margin-bottom-xxl padding-bottom-xxl ">
  <form>
    <!-- 职位名称 -->
    <view class="cu-form-group margin-top-xs">
      <view class="title">
        名称<text class="iconfont icon-star-red margin-left-sm"></text>
      </view>
      <input placeholder="请输入职位名称" bindinput="inputWatch" data-model="positionName"></input>
    </view>
    <!-- 排序 -->
    <view class="cu-form-group">
      <view class="title">
        排序<text class="iconfont icon-star-red margin-left-sm"></text>
      </view>
      <input type="number" placeholder="请输入排序" bindinput="inputWatch" data-model="positionOrder"></input>
    </view>

    <!-- 职位简介 -->
    <view class="cu-bar bg-white margin-top-xs">
      <view class="action">
        职位描述
      </view>
    </view>
    <view class="bg-white">
      <view class="cu-form-group">
        <textarea class="border-line padding-left-xs padding-right-xs margin-left-xs margin-right-xs" maxlength="-1"
          bindinput="textareaBInput" placeholder="请输入职位描述"></textarea>
      </view>
    </view>

  </form>
  <view class="padding-xs bg-white margin-top-xl">
    <button class="cu-btn bg-blue" style="width:100%" bindtap="addPosition">添加</button>
  </view>
</scroll-view>