personalInfo.wxml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244
  1. <!-- pages/user/personalInfo/personalInfo.wxml -->
  2. <view class="page-info">
  3. <view class="planer-box">
  4. <view class="planer-header">
  5. <view class="name"><text class="red">*</text>上传个人形象</view>
  6. </view>
  7. <view class="planer-content">
  8. <view class="upload-box show">
  9. <view wx:if="{{formData.photoId}}" class="img-wrap">
  10. <image class="img-full" src="{{upFileInfo.url}}"></image>
  11. <view bindtap="removeChooseFile" class="close">
  12. <image class="img-full" src="https://resource.artouchstone.com/miniapp/artist/images/icon-close.png"></image>
  13. </view>
  14. </view>
  15. <view wx:if="{{!formData.photoId}}" bindtap="chooseFile" class="up-inner">
  16. <view class="icon">
  17. <image class="img-full" src="https://resource.artouchstone.com/miniapp/artist/images/user/icon-add.png" mode="aspectFill"></image>
  18. </view>
  19. <view class="text">点击上传</view>
  20. </view>
  21. </view>
  22. </view>
  23. </view>
  24. <view class="planer-box pt">
  25. <view class="planer-content">
  26. <view class="form-box">
  27. <view class="form-list">
  28. <view class="form-label"><text class="red">*</text>姓名</view>
  29. <input class="input-text" bindchange="changeInput" bindblur="validateForm" id="formData.name" value="{{formData.mobile}}" placeholder="请输入您的姓名" type="text"/>
  30. </view>
  31. <view class="form-list">
  32. <view class="form-label"><text class="red">*</text>艺名<text class="red">(将用于艺典通商城小程序展示)</text></view>
  33. <input class="input-text" bindchange="changeInput" bindblur="validateForm" id="formData.artistName" value="{{formData.artistName}}" placeholder="请输入您的艺名" type="text"/>
  34. </view>
  35. <picker class="form-list" bindchange="sexPickHandler" range="{{sexPickList}}" value="{{sexPickListValue}}" range-key="name">
  36. <view class="form-label"><text class="red">*</text>性别</view>
  37. <input class="input-text" disabled value="{{sexPickList[sexPickListValue].name}}" placeholder="请选择" type="text"/>
  38. <view class="icon-arrow">
  39. <image class="img-full" src="https://resource.artouchstone.com/miniapp/artist/images/icon-form-arrow.png"/>
  40. </view>
  41. </picker>
  42. <picker id="formData.birthday" mode="date" bindchange="changePicker" value="{{formData.birthday}}" class="form-list">
  43. <view class="form-label"><text class="red">*</text>出生日期</view>
  44. <input class="input-text" disabled value="{{formData.birthday}}" placeholder="请选择" type="text"/>
  45. <view class="icon-arrow">
  46. <image class="img-full" src="https://resource.artouchstone.com/miniapp/artist/images/icon-form-arrow.png"/>
  47. </view>
  48. </picker>
  49. <view class="form-list">
  50. <view class="form-label">国籍</view>
  51. <input class="input-text" bindchange="changeInput" bindblur="validateForm" id="formData.nationality" value="{{formData.nationality}}" placeholder="请输入国籍" type="text"/>
  52. <!--<view class="icon-arrow">
  53. <image class="img-full" src="https://resource.artouchstone.com/miniapp/artist/images/icon-form-arrow.png"/>
  54. </view>-->
  55. </view>
  56. </view>
  57. </view>
  58. </view>
  59. <view class="planer-box">
  60. <view class="planer-header">
  61. <view class="name">推荐人信息</view>
  62. </view>
  63. <view class="planer-content">
  64. <view class="form-box">
  65. <view class="form-list">
  66. <view class="form-label">推荐人姓名</view>
  67. <input class="input-text" bindchange="changeInput" bindblur="validateForm" id="formData.referrerName" value="{{formData.referrerName}}" placeholder="请输入您的姓名" type="text"/>
  68. </view>
  69. <view class="form-list">
  70. <view class="form-label">推荐人职业</view>
  71. <input class="input-text" bindchange="changeInput" bindblur="validateForm" id="formData.referrerPosition" value="{{formData.referrerPosition}}" placeholder="请输入职业" type="text"/>
  72. </view>
  73. <view class="form-list">
  74. <view class="form-label">上传推荐信</view>
  75. <view class="add-file">
  76. <view class="img-wrap" wx:if="{{formData.referrerFileId}}">
  77. <image class="img-full" src="{{referrerFileInfo.url}}"></image>
  78. <view bindtap="removeReferrerFile" class="close">
  79. <image class="img-full" src="https://resource.artouchstone.com/miniapp/artist/images/icon-close.png"></image>
  80. </view>
  81. </view>
  82. <view wx:if="{{!formData.referrerFileId}}" bindtap="chooseReferrerFile" class="add-inner">
  83. <view class="icon">
  84. <image class="img-full" src="https://resource.artouchstone.com/miniapp/artist/images/icon-add-black.png"></image>
  85. </view>
  86. <view class="text">上传推荐信</view>
  87. </view>
  88. </view>
  89. </view>
  90. <view class="tool-info">
  91. <view>请将推荐信拍照上传即可</view>
  92. <view>图片内容清晰可见</view>
  93. <view>图片必须为JPG格式且不得超过3M</view>
  94. <view>推荐信内容可能被上海青年艺术博览会用于宣传推广使用</view>
  95. </view>
  96. </view>
  97. </view>
  98. </view>
  99. <view class="planer-box">
  100. <view class="planer-header">
  101. <view class="name">联系方式</view>
  102. </view>
  103. <view class="planer-content">
  104. <view class="form-box">
  105. <view class="form-list">
  106. <view class="form-label"><text class="red">*</text>手机号码</view>
  107. <input class="input-text" bindchange="changeInput" bindblur="validateForm" id="formData.mobile" value="{{formData.mobile}}" placeholder="请输入" type="text"/>
  108. </view>
  109. <view class="form-list">
  110. <view class="form-label">联系地址</view>
  111. <input class="input-text" bindchange="changeInput" bindblur="validateForm" id="formData.address" value="{{formData.address}}" placeholder="请输入" type="text"/>
  112. </view>
  113. <view class="form-list">
  114. <view class="form-label"><text class="red">*</text>电子邮箱</view>
  115. <input class="input-text" bindchange="changeInput" bindblur="validateForm" id="formData.email" value="{{formData.email}}" placeholder="请输入" type="text"/>
  116. </view>
  117. <view class="form-list">
  118. <view class="form-label">微信号</view>
  119. <input class="input-text" bindchange="changeInput" bindblur="validateForm" id="formData.weixinNo" value="{{formData.weixinNo}}" placeholder="请输入" type="text"/>
  120. </view>
  121. </view>
  122. </view>
  123. </view>
  124. <view class="planer-box">
  125. <view class="planer-header">
  126. <view class="name">最高学历</view>
  127. </view>
  128. <view class="planer-content">
  129. <view class="form-box">
  130. <view class="form-list">
  131. <view class="form-label"><text class="red">*</text>机构</view>
  132. <input class="input-text" bindchange="changeInput" bindblur="validateForm" id="formData.highestDegreeOrg" value="{{formData.highestDegreeOrg}}" placeholder="请输入" type="text"/>
  133. </view>
  134. <picker id="formData.highestDegreeStartTime" mode="date" bindchange="changePicker" fields="year" value="{{formData.highestDegreeStartTime}}" class="form-list">
  135. <view class="form-label"><text class="red">*</text>开始时间</view>
  136. <input class="input-text" bindchange="changeInput" id="formData.highestDegreeStartTime" disabled value="{{formData.highestDegreeStartTime}}" placeholder="请选择" type="text"/>
  137. <view class="icon-arrow">
  138. <image class="img-full" src="https://resource.artouchstone.com/miniapp/artist/images/icon-form-arrow.png"/>
  139. </view>
  140. </picker>
  141. <picker id="formData.highestDegreeEndTime" mode="date" bindchange="changePicker" fields="year" value="{{formData.highestDegreeEndTime}}" class="form-list">
  142. <view class="form-label"><text class="red">*</text>结束时间</view>
  143. <input class="input-text" disabled bindchange="changeInput" id="formData.highestDegreeEndTime" value="{{formData.highestDegreeEndTime}}" placeholder="请选择" type="text"/>
  144. <view class="icon-arrow">
  145. <image class="img-full" src="https://resource.artouchstone.com/miniapp/artist/images/icon-form-arrow.png"/>
  146. </view>
  147. </picker>
  148. <picker range="{{EducationPickList}}" range-key="desp" bindchange="educationPickHandler" value="{{EducationPickValue}}" class="form-list">
  149. <view class="form-label"><text class="red">*</text>学历</view>
  150. <input class="input-text" disabled value="{{EducationPickList[EducationPickValue].desp}}" placeholder="请选择" type="text"/>
  151. <view class="icon-arrow">
  152. <image class="img-full" src="https://resource.artouchstone.com/miniapp/artist/images/icon-form-arrow.png"/>
  153. </view>
  154. </picker>
  155. <picker range="{{EducationStatePickList}}" range-key="desp" bindchange="educationStatePickHandler" value="{{EducationStatePickValue}}" class="form-list">
  156. <view class="form-label"><text class="red">*</text>状态</view>
  157. <input class="input-text" disabled value="{{EducationStatePickList[EducationStatePickValue].desp}}" placeholder="请选择" type="text"/>
  158. <view class="icon-arrow">
  159. <image class="img-full" src="https://resource.artouchstone.com/miniapp/artist/images/icon-form-arrow.png"/>
  160. </view>
  161. </picker>
  162. </view>
  163. </view>
  164. </view>
  165. <view class="planer-box">
  166. <view class="planer-header title">
  167. <view class="name">展览经历
  168. <text>(最多可填5项)</text>
  169. </view>
  170. <view bindtap="addShow" class="add">
  171. <image class="img-full" src="https://resource.artouchstone.com/miniapp/artist/images/icon-add-item.png"></image>
  172. </view>
  173. </view>
  174. <view class="planer-content">
  175. <block wx:key="{{index}}" wx:for="{{formData.showHistoryList}}">
  176. <view class="form-box-item">
  177. <view class="form-box">
  178. <picker id="formData.showHistoryList[{{index}}].time" mode="date" fields="year" bindchange="changePicker" value="{{item.time}}" class="form-list">
  179. <view class="form-label">时间</view>
  180. <input class="input-text" bindchange="changeInput" id="formData.showHistoryList[{{index}}].time" value="{{item.time}}" placeholder="请输入" type="text"/>
  181. <view class="icon-arrow">
  182. <image class="img-full" src="https://resource.artouchstone.com/miniapp/artist/images/icon-form-arrow.png"/>
  183. </view>
  184. </picker>
  185. <view class="form-list">
  186. <view class="form-label">展览名称</view>
  187. <input class="input-text" bindchange="changeInput" id="formData.showHistoryList[{{index}}].name" value="{{item.name}}" placeholder="请输入" type="text"/>
  188. </view>
  189. <view class="form-list">
  190. <view class="form-label">机构</view>
  191. <input class="input-text" bindchange="changeInput" id="formData.showHistoryList[{{index}}].organ" value="{{item.organ}}" placeholder="请输入" type="text"/>
  192. </view>
  193. </view>
  194. </view>
  195. <view bindtap="removeShow" data-index="{{index}}" wx:if="{{formData.showHistoryList.length>1}}" class="form-box-item-delete">
  196. 删除
  197. </view>
  198. </block>
  199. </view>
  200. </view>
  201. <view class="planer-box none">
  202. <view class="planer-header title">
  203. <view class="name">获奖经历
  204. <text>(最多可填5项)</text>
  205. </view>
  206. <view bindtap="addAward" class="add">
  207. <image class="img-full" src="https://resource.artouchstone.com/miniapp/artist/images/icon-add-item.png"></image>
  208. </view>
  209. </view>
  210. <view class="planer-content">
  211. <block wx:key="{{index}}" wx:for="{{formData.awardHistoryList}}">
  212. <view class="form-box-item">
  213. <view class="form-box">
  214. <picker id="formData.awardHistoryList[{{index}}].time" mode="date" fields="year" bindchange="changePicker" value="{{item.time}}" class="form-list">
  215. <view class="form-label">时间</view>
  216. <input class="input-text" disabled bindchange="changeInput" id="formData.awardHistoryList{{index}}.time" value="{{item.time}}" placeholder="请输入" type="text"/>
  217. <view class="icon-arrow">
  218. <image class="img-full" src="https://resource.artouchstone.com/miniapp/artist/images/icon-form-arrow.png"/>
  219. </view>
  220. </picker>
  221. <view class="form-list">
  222. <view class="form-label">机构</view>
  223. <input class="input-text" bindchange="changeInput" id="formData.awardHistoryList[{{index}}].organ" value="{{item.organ}}" value="" placeholder="请输入" type="text"/>
  224. </view>
  225. <view class="form-list">
  226. <view class="form-label">奖项名称</view>
  227. <input class="input-text" bindchange="changeInput" id="formData.awardHistoryList[{{index}}].prize" value="{{item.prize}}" value="" placeholder="请输入" type="text"/>
  228. </view>
  229. </view>
  230. </view>
  231. <view bindtap="removeAward" data-index="{{index}}" wx:if="{{formData.awardHistoryList.length>1}}" class="form-box-item-delete">
  232. 删除
  233. </view>
  234. </block>
  235. <view bindtap="saveData" class="save-btn default-btn {{isValidate?'primary':''}}">保存并提交</view>
  236. </view>
  237. </view>
  238. </view>