|
@@ -1,47 +1,228 @@
|
|
|
<view class="container">
|
|
|
- <view class="block">
|
|
|
- <view class='left' style="width:50%">你得有一米八吧</view>
|
|
|
- <view class='right' style="width:50%">
|
|
|
- <picker bindchange="heightPicker" range="{{heightArr}}" name='height' value="{{form.height}}">
|
|
|
- <view style="text-align:right">
|
|
|
- <view wx:if="{{form.height}}">{{form.height}}</view>
|
|
|
- <view wx:else class='placeStyle'>
|
|
|
- <view class="redpoint"></view>
|
|
|
- <view class="placetext">未选择</view>
|
|
|
- <van-icon size="15px" name="arrow" />
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </picker>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="block">
|
|
|
- <view class='left' style="width:50%">你咋这么瘦呢</view>
|
|
|
- <view class='right' style="width:50%">
|
|
|
- <picker bindchange="weightPicker" range="{{weightArr}}" name='weight' value="{{form.weight}}">
|
|
|
- <view style="text-align:right">
|
|
|
- <view wx:if="{{form.weight}}">{{form.weight}}</view>
|
|
|
- <view wx:else class='placeStyle'>
|
|
|
- <view class="redpoint"></view>
|
|
|
- <view class="placetext">未选择</view>
|
|
|
- <van-icon size="15px" name="arrow" />
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </picker>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="block">
|
|
|
- <view class='left' style="width:65%">当初没选清华北大是你不想吗</view>
|
|
|
- <view class='right' style="width:35%">
|
|
|
- <picker bindchange="educationPicker" range="{{educationArr}}" name='education' value="{{form.education}}">
|
|
|
- <view style="text-align:right">
|
|
|
- <view wx:if="{{form.education}}">{{form.education}}</view>
|
|
|
- <view wx:else class='placeStyle'>
|
|
|
- <view class="redpoint"></view>
|
|
|
- <view class="placetext">未选择</view>
|
|
|
- <van-icon size="15px" name="arrow" />
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </picker>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
+ <form bindsubmit='formSubmit'>
|
|
|
+ <view class="block">
|
|
|
+ <view class='left' style="width:50%">你得有一米八吧</view>
|
|
|
+ <view class='right' style="width:50%">
|
|
|
+ <picker bindchange="heightPicker" range="{{heightArr}}" name='height' value="{{form.height}}">
|
|
|
+ <view style="text-align:right">
|
|
|
+ <view wx:if="{{form.height}}">{{form.height}}</view>
|
|
|
+ <view wx:else class='placeStyle'>
|
|
|
+ <view class="redpoint"></view>
|
|
|
+ <view class="placetext">未选择</view>
|
|
|
+ <van-icon size="15px" name="arrow" />
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </picker>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="block">
|
|
|
+ <view class='left' style="width:50%">你咋这么瘦呢</view>
|
|
|
+ <view class='right' style="width:50%">
|
|
|
+ <picker bindchange="weightPicker" range="{{weightArr}}" name='weight' value="{{form.weight}}">
|
|
|
+ <view style="text-align:right">
|
|
|
+ <view wx:if="{{form.weight}}">{{form.weight}}</view>
|
|
|
+ <view wx:else class='placeStyle'>
|
|
|
+ <view class="redpoint"></view>
|
|
|
+ <view class="placetext">未选择</view>
|
|
|
+ <van-icon size="15px" name="arrow" />
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </picker>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="block">
|
|
|
+ <view class='left' style="width:65%">当初没选清华北大是你不想吗</view>
|
|
|
+ <view class='right' style="width:35%">
|
|
|
+ <picker bindchange="educationPicker" range="{{educationArr}}" name='education' value="{{form.education}}">
|
|
|
+ <view style="text-align:right">
|
|
|
+ <view wx:if="{{form.education}}">{{form.education}}</view>
|
|
|
+ <view wx:else class='placeStyle'>
|
|
|
+ <view class="redpoint"></view>
|
|
|
+ <view class="placetext">未选择</view>
|
|
|
+ <van-icon size="15px" name="arrow" />
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </picker>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="block">
|
|
|
+ <view class='left' style="width:65%">一个月能挣多少米</view>
|
|
|
+ <view class='right' style="width:35%">
|
|
|
+ <picker bindchange="wagesPicker" range="{{wagesArr}}" name='wages' value="{{form.wages}}">
|
|
|
+ <view style="text-align:right">
|
|
|
+ <view wx:if="{{form.wages}}">{{form.wages}}</view>
|
|
|
+ <view wx:else class='placeStyle'>
|
|
|
+ <view class="redpoint"></view>
|
|
|
+ <view class="placetext">未选择</view>
|
|
|
+ <van-icon size="15px" name="arrow" />
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </picker>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="block">
|
|
|
+ <view class='left' style="width:50%">关于小红本本</view>
|
|
|
+ <view class='right' style="width:50%">
|
|
|
+ <radio-group class="parameter-wrap" bindchange="maritalstatusChange" name='maritalstatus' value="{{form.maritalstatus}}">
|
|
|
+ <label class="checkbox my-choosebox {{ item.checked?'checkboxbox':''}}" wx:for-index="idx" wx:key="{{item.value}}" wx:for="{{maritalstatusList}}">
|
|
|
+ <checkbox value="{{item.value}}" checked="{{item.checked}}" />{{item.name}}
|
|
|
+ </label>
|
|
|
+ </radio-group>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="block">
|
|
|
+ <view class='left' style="width:30%">亲生的小祖宗</view>
|
|
|
+ <view class='right' style="width:70%">
|
|
|
+ <checkbox-group class="parameter-wrap" bindchange="ischildChange" name='ischild' value="{{form.ischild}}">
|
|
|
+ <label class="checkbox my-choosebox {{ item.checked?'checkboxbox':''}}" wx:for-index="idx" wx:key="{{item.value}}" wx:for="{{ischildArr}}">
|
|
|
+ <checkbox value="{{item.value}}" checked="{{item.checked}}" />{{item.name}}
|
|
|
+ </label>
|
|
|
+ </checkbox-group>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="block">
|
|
|
+ <view class='left' style="width:35%">这些年没少攒吧</view>
|
|
|
+ <view class='right' style="width:65%">
|
|
|
+ <picker mode="multiSelector" bindchange="housePickerChange" bindcolumnchange="housePickerColumnChange" value="{{housemultiIndex}}" range="{{housemultiArray}}" name='house' value="{{form.house}}">
|
|
|
+ <view style="text-align:right">
|
|
|
+ <view wx:if="{{housemultiArray[0][housemultiIndex[0]]}}">{{housemultiArray[0][housemultiIndex[0]]}},{{housemultiArray[1][housemultiIndex[1]]}},{{housemultiArray[2][housemultiIndex[2]]}},{{housemultiArray[3][housemultiIndex[3]]}}</view>
|
|
|
+ <view wx:else class='placeStyle'>
|
|
|
+ <view class="redpoint"></view>
|
|
|
+ <view class="placetext">未选择</view>
|
|
|
+ <van-icon size="15px" name="arrow" />
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </picker>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="block">
|
|
|
+ <view class='left' style="width:35%">车辆情况</view>
|
|
|
+ <view class='right' style="width:65%">
|
|
|
+ <picker mode="multiSelector" bindchange="carPickerChange" bindcolumnchange="carPickerColumnChange" value="{{carmultiIndex}}" range="{{carmultiArray}}" name='car' value="{{form.car}}">
|
|
|
+ <view style="text-align:right">
|
|
|
+ <view wx:if="{{carmultiArray[0][carmultiIndex[0]]}}">{{carmultiArray[0][carmultiIndex[0]]}},{{carmultiArray[1][carmultiIndex[1]]}},{{carmultiArray[2][carmultiIndex[2]]}}</view>
|
|
|
+ <view wx:else class='placeStyle'>
|
|
|
+ <view class="redpoint"></view>
|
|
|
+ <view class="placetext">未选择</view>
|
|
|
+ <van-icon size="15px" name="arrow" />
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </picker>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="block" style="height:160rpx;">
|
|
|
+ <view class='left' style="width:100%">啥时候方便我给你介绍个对象</view>
|
|
|
+ <checkbox-group class="parameter-wrap" bindchange="freetimeChange" name='freetime' value="{{form.freetime}}">
|
|
|
+ <label class="checkbox my-choosebox {{ item.checked?'checkboxbox':''}}" wx:for-index="idx" wx:key="{{item.value}}" wx:for="{{freetimeArr}}">
|
|
|
+ <checkbox value="{{item.value}}" checked="{{item.checked}}" />{{item.name}}
|
|
|
+ </label>
|
|
|
+ </checkbox-group>
|
|
|
+ </view>
|
|
|
+ <view class="block" style="height:260rpx;">
|
|
|
+ <view class='left' style="width:100%">卖命主旋律</view>
|
|
|
+ <checkbox-group class="parameter-wrap" bindchange="worktimeChange" name='worktime' value="{{form.worktime}}">
|
|
|
+ <label class="checkbox my-choosebox {{ item.checked?'checkboxbox':''}}" wx:for-index="idx" wx:key="{{item.value}}" wx:for="{{worktimeArr}}">
|
|
|
+ <checkbox value="{{item.value}}" checked="{{item.checked}}" />{{item.name}}
|
|
|
+ </label>
|
|
|
+ </checkbox-group>
|
|
|
+ </view>
|
|
|
+ <view class="block">
|
|
|
+ <view class='left' style="width:40%">卖命主阵地</view>
|
|
|
+ <view class='right' style="width:60%">
|
|
|
+ <picker bindchange="workplacePicker" range="{{workplaceArr}}" name='workplace' value="{{form.workplace}}">
|
|
|
+ <view style="text-align:right">
|
|
|
+ <view wx:if="{{form.workplace}}">{{form.workplace}}</view>
|
|
|
+ <view wx:else class='placeStyle'>
|
|
|
+ <view class="redpoint"></view>
|
|
|
+ <view class="placetext">未选择</view>
|
|
|
+ <van-icon size="15px" name="arrow" />
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </picker>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="block">
|
|
|
+ <view class='left' style="width:40%">具体卖命单位</view>
|
|
|
+ <view class='right' style="width:60%">
|
|
|
+ <input name="workspacedetails" value="{{form.workspacedetails}}" placeholder="未填写" placeholder-class="iconfont icon-jianjiaohao1 icon-tubiaozhizuo-1"></input>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="block">
|
|
|
+ <view class='left' style="width:35%">爹妈情况</view>
|
|
|
+ <view class='right' style="width:65%">
|
|
|
+ <picker mode="multiSelector" bindchange="parentsstatusChange" bindcolumnchange="parentsstatusColumnChange" value="{{parentsstatusmultiIndex}}" range="{{parentsstatusArr}}" name='parentsstatus' value="{{form.parentsstatus}}">
|
|
|
+ <view style="text-align:right">
|
|
|
+ <view wx:if="{{parentsstatusArr[0][parentsstatusmultiIndex[0]]}}">{{parentsstatusArr[0][parentsstatusmultiIndex[0]]}},{{parentsstatusArr[1][parentsstatusmultiIndex[1]]}}</view>
|
|
|
+ <view wx:else class='placeStyle'>
|
|
|
+ <view class="redpoint"></view>
|
|
|
+ <view class="placetext">未选择</view>
|
|
|
+ <van-icon size="15px" name="arrow" />
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </picker>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="block">
|
|
|
+ <view class='left' style="width:40%">爸比在哪高就</view>
|
|
|
+ <view class='right' style="width:60%">
|
|
|
+ <picker bindchange="dadworkplacePicker" range="{{dadworkplaceArr}}" name='dadworkplace' value="{{form.dadworkplace}}">
|
|
|
+ <view style="text-align:right">
|
|
|
+ <view wx:if="{{form.dadworkplace}}">{{form.dadworkplace}}</view>
|
|
|
+ <view wx:else class='placeStyle'>
|
|
|
+ <view class="redpoint"></view>
|
|
|
+ <view class="placetext">未选择</view>
|
|
|
+ <van-icon size="15px" name="arrow" />
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </picker>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="block">
|
|
|
+ <view class='left' style="width:40%">那么妈咪呢</view>
|
|
|
+ <view class='right' style="width:60%">
|
|
|
+ <picker bindchange="momworkplacePicker" range="{{momworkplaceArr}}" name='momworkplace' value="{{form.momworkplace}}">
|
|
|
+ <view style="text-align:right">
|
|
|
+ <view wx:if="{{form.momworkplace}}">{{form.momworkplace}}</view>
|
|
|
+ <view wx:else class='placeStyle'>
|
|
|
+ <view class="redpoint"></view>
|
|
|
+ <view class="placetext">未选择</view>
|
|
|
+ <van-icon size="15px" name="arrow" />
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </picker>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="block" style="height:260rpx;">
|
|
|
+ <view class='left' style="width:100%">家里有跟你争宠的没</view>
|
|
|
+ <checkbox-group class="parameter-wrap" bindchange="otherchildChange" name='otherchild' value="{{form.otherchild}}">
|
|
|
+ <label class="checkbox my-choosebox {{ item.checked?'checkboxbox':''}}" wx:for-index="idx" wx:key="{{item.value}}" wx:for="{{otherchildArr}}">
|
|
|
+ <checkbox value="{{item.value}}" checked="{{item.checked}}" />{{item.name}}
|
|
|
+ </label>
|
|
|
+ </checkbox-group>
|
|
|
+ </view>
|
|
|
+ <view class="block">
|
|
|
+ <view class='left' style="width:40%">你这身材可以啊</view>
|
|
|
+ <view class='right' style="width:60%">
|
|
|
+ <picker bindchange="figurePicker" range="{{figureArr}}" name='figure' value="{{form.figure}}">
|
|
|
+ <view style="text-align:right">
|
|
|
+ <view wx:if="{{form.figure}}">{{form.figure}}</view>
|
|
|
+ <view wx:else class='placeStyle'>
|
|
|
+ <view class="redpoint"></view>
|
|
|
+ <view class="placetext">未选择</view>
|
|
|
+ <van-icon size="15px" name="arrow" />
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </picker>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="block">
|
|
|
+ <view class='left' style="width:40%">喜欢铜鼓点啥</view>
|
|
|
+ <view class='right' style="width:60%">
|
|
|
+ <input name="hobby" value="{{form.hobby}}" placeholder="未填写" placeholder-class="iconfont icon-jianjiaohao1 icon-tubiaozhizuo-1"></input>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="btn-area">
|
|
|
+ <button form-type="submit" id="sunbmit">确认,去填写择偶意向</button>
|
|
|
+ </view>
|
|
|
+ </form>
|
|
|
</view>
|