studentRegistration.wxml 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. <view class="home">
  2. <form bindsubmit="formSubmit">
  3. <!-- <van-field name="username" value="{{ username }}" label="姓名" placeholder="请输入姓名" error-message="{{nameMessage}}" /> -->
  4. <view class='fwb'>
  5. <!-- <van-icon name="circle" /> -->
  6. <view class="red-image">
  7. <image src="/images/quan.png" style="width:20rpx;height:20rpx"> </image>
  8. </view>
  9. <view class="xingbie">姓名</view>
  10. <view class='weui-input'>
  11. <input name="username" disabled value="{{ info.miniName }}" placeholder="请输入姓名" placeholder-style="font-size:25rpx" />
  12. <!-- <view class="{{nameIsTrue?'error':'noerror'}}">请输入姓名</view> -->
  13. </view>
  14. </view>
  15. <!-- <van-field
  16. value="{{ password }}"
  17. label="密码"
  18. placeholder="请输入密码"
  19. required
  20. border="{{ false }}"
  21. /> -->
  22. <!-- <van-radio-group value="{{ radio }}" bind:change="onChange">
  23. <van-radio name="1">单选框 1</van-radio>
  24. <van-radio name="2">单选框 2</van-radio>
  25. </van-radio-group> -->
  26. <view class='fwb'>
  27. <view class="red-image">
  28. <image src="/images/quan.png" style="width:20rpx;height:20rpx"> </image>
  29. </view>
  30. <view class="xingbie">性别</view>
  31. <!-- <view class='parameter-wrap'>
  32. <block wx:for="{{parameter}}" wx:key="parameter">
  33. <view class='parameter-info text-over {{item.checked?"checked_parameter":""}}' data-id='{{item.id}}' bindtap='parameterTap'>{{item.name}}</view>
  34. </block>
  35. <view class="{{errorIsTrue?'error':'noerror'}}">请选择性别</view>
  36. </view> -->
  37. <radio-group name="{{item.name}}" data-index='{{index}}' data-idx='{{item.Id}}' data-questTypes='{{item.QuestType}}' >
  38. <label class="checkbox my-choosebox {{ item.checked?'checkboxbox':''}}" checked="{{item.checked}}" wx:for-index="idx" wx:for="{{parameter}}">
  39. <radio value="{{ item.value }}" />{{item.name}}
  40. </label>
  41. </radio-group>
  42. </view>
  43. <!-- <van-field name="gongzuoName" value="{{ gongzuoName }}" label="工作单位" placeholder="请输入工作单位" error-message="{{nameMessage}}" />
  44. <van-field name="gongzuoName" value="{{ gongzuoName }}" label="文化程度" placeholder="请输入文化程度" error-message="{{nameMessage}}" />
  45. <van-field name="gongzuoName" value="{{ gongzuoName }}" label="毕业学校" placeholder="请输入最后毕业学校" error-message="{{nameMessage}}" />
  46. <van-field name="gongzuoName" value="{{ gongzuoName }}" label="所学专业" placeholder="请输入所学专业" error-message="{{nameMessage}}" />
  47. <van-field name="gongzuoName" value="{{ gongzuoName }}" label="现任职务" placeholder="请输入现任职务" error-message="{{nameMessage}}" /> -->
  48. <!-- <van-cell title="任职时间" value="{{ date }}" bind:click="onDisplay" /> -->
  49. <view class='fwb'>
  50. <view class="red-image">
  51. <image src="/images/quan.png" style="width:20rpx;height:20rpx"> </image>
  52. </view>
  53. <view class="xingbie">工作单位</view>
  54. <view class='weui-input'>
  55. <input class="" name="studentDept" value="{{ studentDept }}" placeholder="请输入工作单位" placeholder-style="font-size:25rpx"/>
  56. <!-- <view class="{{workIsTrue?'error':'noerror'}}">请输入工作单位</view> -->
  57. </view>
  58. </view>
  59. <view class='fwb'>
  60. <view class="red-image">
  61. <image src="/images/quan.png" style="width:20rpx;height:20rpx"> </image>
  62. </view>
  63. <view class="xingbie">文化程度</view>
  64. <view class='weui-input'>
  65. <input class="" name="culture" value="{{culture }}" placeholder="请输入文化程度" placeholder-style="font-size:25rpx"/>
  66. <!-- <view class="{{ cultureIsTrue?'error':'noerror'}}">请输入文化程度</view> -->
  67. </view>
  68. </view>
  69. <view class='fwb'>
  70. <view class="red-image">
  71. <image src="/images/quan.png" style="width:20rpx;height:20rpx"> </image>
  72. </view>
  73. <view class="xingbie">毕业学校</view>
  74. <view class='weui-input'>
  75. <input class="" name="school" value="{{ school }}" placeholder="请输入毕业学校" placeholder-style="font-size:25rpx"/>
  76. <!-- <view class="{{graduationIsTrue?'error':'noerror'}}">请输入毕业学校</view> -->
  77. </view>
  78. </view>
  79. <view class='fwb'>
  80. <view class="red-image">
  81. <image src="/images/quan.png" style="width:20rpx;height:20rpx"> </image>
  82. </view>
  83. <view class="xingbie">所学专业</view>
  84. <view class='weui-input'>
  85. <input class="" name="major" value="{{ major }}" placeholder="请输入所学专业" placeholder-style="font-size:25rpx"/>
  86. <!-- <view class="{{majorIsTrue?'error':'noerror'}}">请输入所学专业</view> -->
  87. </view>
  88. </view>
  89. <view class='fwb'>
  90. <view class="red-image">
  91. <image src="/images/quan.png" style="width:20rpx;height:20rpx"> </image>
  92. </view>
  93. <view class="xingbie">现任职务</view>
  94. <view class='weui-input'>
  95. <input class="" name="studentDuty" value="{{ studentDuty }}" placeholder="请输入现任职务" placeholder-style="font-size:25rpx"/>
  96. <!-- <view class="{{postIsTrue?'error':'noerror'}}">请输入现任职务</view> -->
  97. </view>
  98. </view>
  99. <view class='fwb'>
  100. <view class="red-image">
  101. <image src="/images/quan.png" style="width:20rpx;height:20rpx;"> </image>
  102. </view>
  103. <view class="xingbie">任职时间</view>
  104. <view class='weui-input' style="font-size: 26rpx; line-height: 56rpx;" catchtap="share1">
  105. {{tenure}}
  106. <view wx:if='{{!tenure}}' style="color:#808080;display: inline-block;height:60rpx;line-height:60rpx;font-size:25rpx" >{{headmasterText}}</view>
  107. <!-- <view class="{{renzhishijianIsTrue?'error':'noerror'}}">请输入任职时间</view> -->
  108. </view>
  109. <van-popup show="{{ postshow }}" position="bottom" custom-style="height: 50%;">
  110. <van-datetime-picker bind:confirm="onConfirm" bind:cancel='onClose' type="date" value="{{ currentDate }}" bind:input="onInput" min-date="{{ minDate }}" formatter="{{ formatter }}" />
  111. </van-popup>
  112. </view>
  113. <view class='fwb'>
  114. <view class="red-image">
  115. <image src="/images/quan.png" style="width:20rpx;height:20rpx"> </image>
  116. </view>
  117. <view class="xingbie">联系电话</view>
  118. <view class='weui-input'>
  119. <input class="" name="studentPhone" value="{{ studentPhone }}" placeholder="请输入联系电话" placeholder-style="font-size:25rpx"/>
  120. <!-- <view class="{{phoneIsTrue?'error':'noerror'}}">请输入联系电话</view> -->
  121. </view>
  122. </view>
  123. <!-- <view class='fwb'>
  124. <view class="red-image">
  125. <image src="/images/quan.png" style="width:20rpx;height:20rpx"> </image>
  126. </view>
  127. <view class="xingbie">培训时间</view>
  128. <view class='weui-input' style="font-size: 26rpx; line-height: 56rpx;" catchtap="share">
  129. {{peixunTime}}<view wx:if='{{!peixunTime}}' style="color:#808080;display: inline-block;height:60rpx;line-height:60rpx;font-size:25rpx">{{peixunText}}</view>
  130. <view class="{{peixunshijianTrue?'error':'noerror'}}">请选择培训时间</view>
  131. </view>
  132. <van-popup show="{{ postshow1 }}" position="bottom" custom-style="height: 50%;">
  133. <van-datetime-picker bind:confirm="onConfirm1" bind:cancel='onClose1' type="date" value="{{ currentDate1 }}" bind:input="onInput1" min-date="{{ minDate }}" formatter="{{ formatter }}" />
  134. </van-popup>
  135. </view> -->
  136. <!-- <view class='fwb'>
  137. <view class="red-image">
  138. <image src="/images/quan.png" style="width:20rpx;height:20rpx"> </image>
  139. </view>
  140. <view class="xingbie">培训时间</view>
  141. <view class='time' catchtap="">
  142. 请选择培训时间
  143. </view>
  144. </view> -->
  145. <!-- <button formType="submit">提交表单</button> -->
  146. <view style="margin-top: 100rpx;margin-bottom:100rpx">
  147. <van-button round formType="submit">提交表单</van-button>
  148. </view>
  149. </form>
  150. </view>