1.wxml
<view style="width:630rpx;margin:0 auto;">
<form bindsubmit="formSubmit" report-submit="{
{true}}">
<!--楼盘名称 -->
<view class='jg_input flex flexSb alignC'>
<view class='jg_input_l'>商户名称</view>
<view class='jg_input_r'>
<picker class='jg_input_picker' bindchange="jgPickerChange" value="{
{jgIndex}}" range="{
{jgArray}}" range-key="{
{'name'}}">
<view class="picker">
{
{jgIndex>=0?jgArray[jgIndex].name:"请选择"}}
</view>
</picker>
</view>
</view>
<block wx:for="{
{jgBmXmSj}}">
<view class='jg_input flex flexSb alignC mt30'>
<view class='jg_input_l'>{
{item.name}}</view>
<view class='jg_input_r'>
<!-- 2:报名序号;3:手机号码;4:姓名 -->
<block wx:if='{
{item.id==2}}'>
<input maxlength="30" class='jg_input_in' name='baoMingbmxh'></input>
</block>
<block wx:if='{
{item.id==3}}'>
<input maxlength="11" type='number' class='jg_input_in' name='baoMingsjhm'></input>
</block>
<block wx:if='{
{item.id==4}}'>
<input maxlength="5" type='text' class='jg_input_in' name="baoMingxm"></input>
</block&g