student_certification.wxml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <view class="box">
  2. <image src="/img/topImage.png" class="topImage"></image>
  3. <view class="top">
  4. <view class="{{index==0?'active':''}}" bindtap="select" data-index="0">
  5. <text>我是学生</text>
  6. <text class="back" wx:if="{{index==0}}"></text>
  7. </view>
  8. <view class="{{index==1?'active':''}}" bindtap="select" data-index="1">
  9. <text>我是老师</text>
  10. <text class="back" wx:if="{{index==1}}"></text>
  11. </view>
  12. </view>
  13. <view class="message">
  14. <view>
  15. <text>*</text>
  16. <input placeholder="填写真实姓名" placeholder-class="place" bindinput="name" bindblur="name"></input>
  17. </view>
  18. <view>
  19. <text>*</text>
  20. <input placeholder="{{index==0?'填写学号':'填写工号'}}" placeholder-class="place" bindinput="xuehao" bindblur="xuehao"
  21. type="number" maxlength="14"></input>
  22. </view>
  23. <view>
  24. <text>*</text>
  25. <input placeholder="填写学校" placeholder-class="place" bindinput="school" bindblur="school"></input>
  26. </view>
  27. <view wx:if="{{index==0}}">
  28. <text>*</text>
  29. <input placeholder="填写入学时间,例:2018-09" placeholder-class="place" bindinput="time" bindblur="time"></input>
  30. </view>
  31. </view>
  32. <view class="upload">
  33. <text>上传证件</text>
  34. <text>学生证、校园卡、录取通知书均可</text>
  35. </view>
  36. <view class="up_load" bindtap="upload">
  37. <view wx:if="{{imgs==''}}" style="width:100%;height:100%;">
  38. <image src="/img/zhengjian.png" style="width:100%;height:100%;"></image>
  39. </view>
  40. <image src="{{imgs}}" wx:else style="width:200rpx;height:110rpx;" mode="aspectFit"></image>
  41. </view>
  42. <view class="btn" bindtap="submit">
  43. <text>提交</text>
  44. </view>
  45. <view class="xieyi" bindtap="xieyi">点击提交即表示同意<text style="color:red;">《服务协议》</text></view>
  46. </view>