<!--pages/addPage/addarticles.wxml-->
<form bindsubmit="formSubmit" bindreset="formReset">
  <view class="section">
    <view class="section__title">标题</view>
    <input name="name" placeholder="标题" />
  </view>
  <view class="section section_gap">
    <view class="section__title">所属类型</view>
    <radio-group name="type">
      <label>
        <radio value="1" checked/>可回收垃圾</label>
      <label>
        <radio value="2" />厨余垃圾</label>
        <label>
        <radio value="3" />有害垃圾</label>
        <label>
        <radio value="4" />其他垃圾</label>
    </radio-group>
  </view>
  <view class="section">
    <view class="section__title">内容</view>
    <textarea name="content" bindblur="bindTextAreaBlur" auto-height placeholder="自动变高" />
  </view>
  <view class="btn-area">
    <button formType="submit">提交</button>
    <button formType="reset">重置</button>
  </view>
</form>