info.wxml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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="name" 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="bindPickerChange" 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 mode="region" bindchange="bindAddrChange" id="addr">
  40. <view class="picker {{form.addr?'':'phcolor'}}">
  41. {{form.addr||'请选择'}}
  42. <!-- 当前选择:{{region[0]}},{{region[1]}},{{region[2]}} -->
  43. </view>
  44. </picker>
  45. <image class="arrow" src="../../../imgs/contest/arrow.png" mode="widthFix"></image>
  46. </view>
  47. </view>
  48. </view>
  49. <view class="form-item">
  50. <image class="form-item-bg" mode="widthFix" src="../../../imgs/contest/list-bg.png"></image>
  51. <view class="content">
  52. <view class="form-item-label" style="border-right: 4rpx solid #D8D8D8">学校</view>
  53. <input bindinput="changeInput" id="school" placeholder="请输入" placeholder-class="phcolor"></input>
  54. </view>
  55. </view>
  56. <view class="warning">
  57. <image mode="widthFix" src="../../../imgs/contest/warning.png" class="warning-icon"></image>
  58. <view class="warning-text">请填写学校完整名称</view>
  59. </view>
  60. <view class="form-item">
  61. <image class="form-item-bg" mode="widthFix" src="../../../imgs/contest/list-bg.png"></image>
  62. <view class="content">
  63. <view class="form-item-label" style="border-right: 4rpx solid #D8D8D8">年级</view>
  64. <input bindinput="changeInput" id="grade" placeholder="请输入" placeholder-class="phcolor"></input>
  65. </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="other" placeholder="请输入" placeholder-class="phcolor"></input>
  72. </view>
  73. </view>
  74. </view>
  75. <view class="button">
  76. <image class="button-bg" mode="widthFix" src="../../../imgs/contest/button-bg.png"></image>
  77. <view class="button-text">Start Now !</view>
  78. </view>
  79. </view>