<!--pages/new/new.wxml--> 
<view class="all"> 
<!-- 大标题 --> 
  <view class="top"> 
    <view class="title">完善信息</view> 
    <view class="small">请填写以下个人信息</view> 
  </view> 
  <!-- 内容 --> 
  <view class="content"> 
  <view class="name"> 
    <van-field 
    value="{{ username }}" 
    label="用户名" 
    required="true" 
    placeholder="请输入用户名" 
    /> 
  </view> 
  <view class="name"> 
    <van-field 
    value="{{ phone }}" 
    label="手机号" 
    placeholder="请输入手机号" 
    required="true" 
  /> 
  </view> 
  <view class="name"> 
    <van-field 
    value="{{ id }}" 
    label="身份号" 
    placeholder="请输入身份证号" 
    required="true" 
  /> 
</view> 
<!-- 请选择身份 --> 
<view class="name"> 
  <view class="section"> 
  <picker bindchange="bindPickerChange" value="{{index}}" range="{{array}}"> 
    <van-cell title="请选择身份" is-link value="{{array[index]}}" required="true"/> 
  </picker> 
</view>         
</view> 
<!-- 学校 --> 
  <view class="name"> 
    <van-field 
    value="{{ school }}" 
    label="学校" 
    placeholder="请输入学校全称" 
  /> 
</view> 
<!-- 入学时间 时间选择器 --> 
  <view class="name" > 
  <picker class="in-name" mode="date" value="{{date}}" bindchange="bindDateChange" label="请选择身份"> 
    <view class="picker"> 
     <text class="xing">*</text>入学时间:<text class="picker-conter">{{date}}</text> 
    </view> 
  </picker> 
</view> 
<!-- 专业 --> 
  <view class="name"> 
  <picker bindchange="bindPicker2Change" value="{{index2}}" range="{{array2}}" > 
    <van-cell title="专业" is-link value="{{array2[index2]}}" required="true" placeholder="请输入"/> 
  </picker> 
</view> 
<!-- 美食偏好 --> 
<view class="name"> 
  <picker bindchange="bindPicker3Change" value="{{index3}}" range="{{array3}}"> 
    <van-cell title="美食偏好" is-link value="{{array3[index3]}}" placeholder="请输入"/> 
  </picker> 
</view> 
</view> 
<!-- 按钮 --> 
<view class="box"> 
  <van-button round type="info" color="red" block>提交</van-button> 
</view> 
</view>