12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- <view class="box">
- <image src="/img/topImage.png" class="topImage"></image>
- <view class="top">
- <view class="{{index==0?'active':''}}" bindtap="select" data-index="0">
- <text>我是学生</text>
- <text class="back" wx:if="{{index==0}}"></text>
- </view>
- <view class="{{index==1?'active':''}}" bindtap="select" data-index="1">
- <text>我是老师</text>
- <text class="back" wx:if="{{index==1}}"></text>
- </view>
- </view>
- <view class="message">
- <view>
- <text>*</text>
- <input placeholder="填写真实姓名" placeholder-class="place" bindinput="name" bindblur="name"></input>
- </view>
- <view>
- <text>*</text>
- <input placeholder="{{index==0?'填写学号':'填写工号'}}" placeholder-class="place" bindinput="xuehao" bindblur="xuehao"
- type="number" maxlength="14"></input>
- </view>
- <view>
- <text>*</text>
- <input placeholder="填写学校" placeholder-class="place" bindinput="school" bindblur="school"></input>
- </view>
- <view wx:if="{{index==0}}">
- <text>*</text>
- <input placeholder="填写入学时间,例:2018-09" placeholder-class="place" bindinput="time" bindblur="time"></input>
- </view>
- </view>
- <view class="upload">
- <text>上传证件</text>
- <text>学生证、校园卡、录取通知书均可</text>
- </view>
- <view class="up_load" bindtap="upload">
- <view wx:if="{{imgs==''}}" style="width:100%;height:100%;">
- <image src="/img/zhengjian.png" style="width:100%;height:100%;"></image>
- </view>
- <image src="{{imgs}}" wx:else style="width:200rpx;height:110rpx;" mode="aspectFit"></image>
- </view>
- <view class="btn" bindtap="submit">
- <text>提交</text>
- </view>
- <view class="xieyi" bindtap="xieyi">点击提交即表示同意<text style="color:red;">《服务协议》</text></view>
- </view>
|