<form bindsubmit="formSubmit">
  <view style="background:#fff;margin-top:30rpx;">
    <view class="form">
      <view class="input">
        <view class="input-name"><text>类</text><text>型</text></view>
        <view>：</view>
        <view class="picker">
          <picker name='messageTag' bindchange="bindPickerChange" value="{{index}}" range="{{array}}">
              <view class="weui-input">
                <view>{{array[index]}}</view>
                <image src='/images/jiantou-bottom.png'></image>
              </view>
            </picker>
        </view>
      </view>
      <view class="input">
        <view class="input-name"><text>标</text><text>题</text></view>
        <view>：</view>
        <input bindblur="name" maxlength="25" name='title'></input>
      </view>
      <!-- <view class="input">
        <view class="input-name"><text>身</text><text>份</text><text>类</text><text>型</text></view>
        <view>：</view>
        
      </view> -->
      <!-- <view class="input">
        <view class="input-name"><text>投</text><text>诉</text><text>/</text><text>建</text><text>议</text><text>人</text></view>
        <view>：</view>
        <input bindblur="idcard" maxlength="18" type="number" name='name'></input>
      </view> -->
      <!-- <view class="input">
        <view class="input-name"><text>验</text><text>证</text><text>码</text></view>
        <view>：</view>
        <input maxlength="6" type="number" name='code' style="width:240rpx"></input>
        <button bindtap="{{codetext>0?'':'code'}}" class="code">{{codetext}}</button>
      </view> -->
      <view class="textarea">
        <view class="input-name"><text>内</text><text>容</text></view>
        <view>：</view>
        <textarea maxlength="100" bindblur="text" name='text'></textarea>
      </view>
      <view class="input">
        <view class="input-name"><text>联</text><text>系</text><text>人</text></view>
        <view>：</view>
        <input disabled value="{{user.userName}}"></input>
      </view>
      <view class="input">
        <view class="input-name"><text>联</text><text>系</text><text>电</text><text>话</text></view>
        <view>：</view>
        <input disabled value="{{user.userPhone}}"></input>
      </view>
    </view>
  </view>
  <view class="bottom">
    <button class="next" formType="submit">提交</button>
  </view>
</form>
