info.wxml 4.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. <!--pages/contest/contest.wxml-->
  2. <view>
  3. <image mode="widthFix" src="../../../imgs/contest/bg.png" class="bg"></image>
  4. <view class="page-title">个人信息</view>
  5. <view class="form">
  6. <view class="form-item">
  7. <image class="form-item-bg" mode="widthFix" src="../../../imgs/contest/list-bg.png"></image>
  8. <view class="content">
  9. <view class="form-item-label" style="border-right: 4rpx solid #D8D8D8">姓名</view>
  10. <input bindinput="changeInput" id="actualName" placeholder="请输入" placeholder-class="phcolor"></input>
  11. </view>
  12. </view>
  13. <view class="form-item">
  14. <image class="form-item-bg" mode="widthFix" src="../../../imgs/contest/list-bg.png"></image>
  15. <view class="content">
  16. <view class="form-item-label" style="border-right: 4rpx solid #D8D8D8">性别</view>
  17. <view class="select">
  18. <picker bindchange="bindPickerSex" value="{{value}}" range="{{sexList}}" range-key="label" id="sex">
  19. <view class="picker {{form.sex?'':'phcolor'}}">
  20. {{form.sex?sexList[form.sex-1].label:'请选择'}}
  21. </view>
  22. </picker>
  23. <image class="arrow" src="../../../imgs/contest/arrow.png" mode="widthFix"></image>
  24. </view>
  25. </view>
  26. </view>
  27. <view class="form-item">
  28. <image class="form-item-bg" mode="widthFix" src="../../../imgs/contest/list-bg.png"></image>
  29. <view class="content">
  30. <view class="form-item-label" style="border-right: 4rpx solid #D8D8D8">年龄</view>
  31. <input bindinput="changeInput" id="age" placeholder="请输入" placeholder-class="phcolor"></input>
  32. </view>
  33. </view>
  34. <view class="form-item">
  35. <image class="form-item-bg" mode="widthFix" src="../../../imgs/contest/list-bg.png"></image>
  36. <view class="content">
  37. <view class="form-item-label" style="border-right: 4rpx solid #D8D8D8">区域</view>
  38. <view class="select">
  39. <picker bindchange="bindPickerChange" value="{{value}}" range="{{areaList}}" range-key="areaName" id="area">
  40. <view class="picker {{form.area?'':'phcolor'}}">
  41. {{form.area?form.areaName:'请选择'}}
  42. </view>
  43. </picker>
  44. <image class="arrow" src="../../../imgs/contest/arrow.png" mode="widthFix"></image>
  45. </view>
  46. </view>
  47. </view>
  48. <view class="form-item">
  49. <image class="form-item-bg" mode="widthFix" src="../../../imgs/contest/list-bg.png"></image>
  50. <view class="content">
  51. <view class="form-item-label" style="border-right: 4rpx solid #D8D8D8">学校</view>
  52. <!-- <input bindinput="changeInput" id="school" placeholder="请输入" placeholder-class="phcolor"></input> -->
  53. <view class="select">
  54. <picker bindchange="bindPickerSchool" value="{{value}}" range="{{schoolList}}" range-key="schoolName" id="school">
  55. <view class="picker {{form.school?'':'phcolor'}}">
  56. {{form.school?form.schoolName:'请选择'}}
  57. </view>
  58. </picker>
  59. <image class="arrow" src="../../../imgs/contest/arrow.png" mode="widthFix"></image>
  60. </view>
  61. </view>
  62. </view>
  63. <view class="warning">
  64. <image mode="widthFix" src="../../../imgs/contest/warning.png" class="warning-icon"></image>
  65. <view class="warning-text">请填写学校完整名称</view>
  66. </view>
  67. <view class="form-item">
  68. <image class="form-item-bg" mode="widthFix" src="../../../imgs/contest/list-bg.png"></image>
  69. <view class="content">
  70. <view class="form-item-label" style="border-right: 4rpx solid #D8D8D8">年级</view>
  71. <input bindinput="changeInput" id="grade" placeholder="请输入" placeholder-class="phcolor"></input>
  72. </view>
  73. </view>
  74. <view class="form-item">
  75. <image class="form-item-bg" mode="widthFix" src="../../../imgs/contest/list-bg.png"></image>
  76. <view class="content">
  77. <view class="form-item-label" style="border-right: 4rpx solid #D8D8D8">其他</view>
  78. <input bindinput="changeInput" id="other" placeholder="请输入" placeholder-class="phcolor"></input>
  79. </view>
  80. </view>
  81. </view>
  82. <view class="button" bindtap="submit">
  83. <image class="button-bg" mode="widthFix" src="../../../imgs/contest/button-bg.png"></image>
  84. <view class="button-text">Start Now !</view>
  85. </view>
  86. </view>