<text class="topic">完善信息</text>
<view class="topic-1">请填写以下个人信息</view>
<view class="topic-2-1">
  <van-cell-group>
  <van-field
    value="{{ username }}"
    required
    clearable
    label="姓名"
    icon="question-o"
    placeholder="请输入姓名"
    bind:click-icon="onClickIcon"
    size="large"
  />

  <van-field
    value="{{ number }}"
    type="number"
    label="手机号"
    placeholder="请输入手机号"
    required
    size="large"
  />
  <van-field
    value="{{ number }}"
    type="number"
    label="身份证号"
    placeholder="请输入身份证号"
    required
    size="large"
  />
 
</van-cell-group>
</view>
<view class="topic-5" >
  <van-field
  value="{{ fieldValue }}"
  is-link
  readonly
  required
  label="请选择身份"
  placeholder="请选择身份"
  bind:tap="onClick"
  input-align="right"
  title-width="5em"
  size="large"
/>
<van-popup show="{{ show }}" round position="bottom">
  <van-cascader
    wx:if="{{ show }}"
    value="{{ cascaderValue }}"
    title="请选择身份"
    options="{{ options }}"
    bind:close="onClose1"
    bind:finish="onFinish"
  />
</van-popup>
</view>
<view class="topic-4">
  <van-cell-group>
  <van-field
    value="{{ value }}"
    label="学校"
    placeholder="请填写学校全称"
    bind:change="onChange"
    size="large"
  />
</van-cell-group>
</view>
<view class="topic-6">
  <van-cell-group>
    <van-cell title="入学时间" value="{{ date }}"
    size="large"
     bind:click="onDisplay" />
     <van-calendar show="{{ showtime }}" 
     min-date="{{ minDate }}"
  max-date="{{ maxDate }}"
  bind:close="onClose2" bind:confirm="onConfirm" />

    <view bindtap="showProject">
    <van-field
      label="专业"
      title-width="5em"
      input-align="right"
      placeholder="请选择"
      value="{{project}}"
      size="large"
      required
      readonly
      is-link
    />
    </view>

    <view bindtap="showHobby">
    <van-field
      label="美食偏好"
      title-width="5em"
      input-align="right"
      placeholder="请选择"
      value="{{hobby}}"  
      size="large"   
      readonly
      is-link

    />
    </view>
  </van-cell-group>
</view>

<!-- 选择专业 -->
<van-popup show="{{ showproject }}" bind:close="onClose1"  position="bottom"
  custom-style="height: 40%">
    <van-picker title="选择专业" show-toolbar columns="{{ columns2 }}"  bind:cancel="onClose"
  bind:confirm="onConfirm2"/>
</van-popup>

<!-- 美食偏好 -->
<van-popup show="{{ showhobby }}" bind:close="onClose1"  position="bottom"
  custom-style="height: 40%">
    <van-picker title="选择偏好" show-toolbar columns="{{ columns3 }}"  bind:cancel="onClose"
  bind:confirm="onConfirm3"/>
</van-popup>
<view class="but">
  <van-button type="primary" block round color="grey" >提交</van-button>
</view>
