123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156 |
- <!--pages/newuser/newuser.wxml-->
- <!-- <text>pages/newuser/newuser.wxml</text> -->
- <view class="pagetop">
- <van-cell-group >
- <van-cell title="完善信息" label="请填写以下个人信息" size="large"/>
- <van-field
- value="{{ name }}"
- required
- clearable
- label="姓名"
- placeholder="请输入用户名"
- size="large"
- />
- <van-field
- value="{{ iphone }}"
- type="iphone"
- label="手机号"
- placeholder="请输入手机号"
- required
- border="{{ false }}"
- size="large"
- />
- <van-field
- value="{{ id }}"
- type="id"
- label="身份证号"
- placeholder="请输入身份证号"
- required
- border="{{ false }}"
- size="large"
- />
- </van-cell-group>
- </view>
- <view class="middle">
- <van-cell-group>
- <!-- 身份选择器 -->
- <view bindtap="showPopup">
- <van-field
- label="请选择身份"
- title-width="5em"
- input-align="right"
- placeholder="请选择"
- value="{{gender}}"
- size="large"
- required
- readonly
- is-link
- />
- </view>
- <van-field
- value="{{ school }}"
- required
- clearable
- label="学校"
- placeholder="请填写学校全称"
- size="large"
- />
- <view bindtap="showPopuptime">
- <van-field
- label="入学时间"
- title-width="5em"
- input-align="right"
- placeholder="请选择"
- value="{{year}}年{{month}}月{{day}}日"
- size="large"
- required
- readonly
- is-link
- />
- </view>
- <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>
- <view>
- <!-- 选择日期 -->
- <van-popup show="{{ showtime }}" bind:close="onClose" position="bottom"
- custom-style="height: 40%">
- <picker-view
- indicator-style="height: 60px;"
- style="width: 100%; height: 300px; margin-left: 50px;"
- value="{{value}}"
- bindchange="bindChange"
- >
- <picker-view-column>
- <view wx:for="{{years}}" wx:key='{{index}}' style="line-height: 50px">{{item}}年</view>
- </picker-view-column>
- <picker-view-column>
- <view wx:for="{{months}}" wx:key='{{index}}' style="line-height: 50px">{{item}}月</view>
- </picker-view-column>
- <picker-view-column>
- <view wx:for="{{days}}" wx:key='{{index}}' style="line-height: 50px">{{item}}日</view>
- </picker-view-column>
- </picker-view>
- </van-popup>
- </view>
- <!-- 选择身份 -->
- <van-popup show="{{ show }}" bind:close="onClose" position="bottom"
- custom-style="height: 40%">
- <van-picker title="选择身份" show-toolbar columns="{{ columns }}" bind:cancel="onClose"
- bind:confirm="onConfirm"/>
- </van-popup>
- <!-- 选择专业 -->
- <van-popup show="{{ showproject }}" bind:close="onClose" 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="onClose" position="bottom"
- custom-style="height: 40%">
- <van-picker title="选择偏好" show-toolbar columns="{{ columns3 }}" bind:cancel="onClose"
- bind:confirm="onConfirm3"/>
- </van-popup>
- <view class="bottom">
- <van-button round type="primary" size="large" color="#7F7C7C">提交</van-button>
- </view>
|