<form bindsubmit="formSubmit">
  <view>
    <zan-cell-group>
      <zan-cell title="请假日期" is-link>
        <picker slot="footer" mode="date" value="{{date}}" bindchange="bindDateChange" name='date'>
          {{date}}
        </picker>
      </zan-cell>
      <zan-cell title="请假类型" is-link>
        <picker slot="footer" mode="selector" range="{{typeEnum}}" value="{{selectedType}}" name='type'>
          {{typeEnum[selectedType]}}
        </picker>
      </zan-cell>
      <zan-cell title="天数">
        <view class="section">
          <input placeholder="请输入请假天数" name='days'/>
        </view>
      </zan-cell>
      <zan-cell title="说明">
        <view class="section">
          <textarea placeholder="请输入请假说明" auto-height name='remark'/>
        </view>
      </zan-cell>
    </zan-cell-group>
    <zan-cell></zan-cell>
    <zan-cell></zan-cell>
    <!-- <zan-button-group>
       <zan-button type="primary" btnclick="onSubmit">提交</zan-button>
    </zan-button-group> -->
    <button formType="submit" type='primary' class='submit-btn'>提交</button>
  </view>
</form>