<view class="container">
  <form bindsubmit="submit">
    
    <view class="form-group">
      <text>任务标题：</text>
      <input type="text" name="title" placeholder="请输入任务标题" />
    </view>

    <view class="form-group">
      <text>任务内容：</text>
      <textarea name="details" placeholder="请输入任务内容"></textarea>
    </view>

    <view class="form-group">
      <text>截止时间：</text>
      <input name="deadLine" type="datetime-local" />
    </view>

    <view class="form-group">
      <text>附件：</text>
      <button class="btn-attachment">上传附件</button>
    </view>
    

    <button form-type="submit" class="btn-submit">提交</button>

  </form>
</view>

