<view class='container'>
  <form bindsubmit="formSubmit">
    <input hidden="hidden" name='id' value="{{userId}}" />
    <view style='background-color:#fff;margin-top:20rpx;'>
      <view class='content'>
        <view class='content_text'>
          <view class='form' wx:for="{{items}}">
            <view wx:if="{{!item.ignore}}" class="required">*</view>
            <view class='form_title'>{{item.title}}</view>
            <view class="form_input">
              <picker wx:if="{{item.picker}}" value="{{item.picker_index}}" range-key="name" range="{{codeList}}" bindchange="pickerChange" data-_index='{{index}}'>
                <view class='picker'>
                  <text>{{item.picker_name}}</text>
                  <input name="{{item.field}}" hidden value='{{item.value}}' />
                  <image style='width:18rpx;height:18rpx;' src='../../../images/bottom.png'></image>
                </view>
              </picker>
              <textarea wx:elif="{{item.textarea}}" name="{{item.field}}" placeholder='请填写{{item.title}}' placeholder-class='place' value="{{item.value}}"></textarea>
              <input wx:else name="{{item.field}}" maxlength="{{item.maxLength||50}}" placeholder='请填写{{item.title}}' placeholder-class='place' value="{{item.value}}"></input>
            </view>
          </view>
        </view>
      </view>
    </view>
    <view class='btn'>
      <button form-type="submit">提交</button>
    </view>
  </form>
</view>