cert_form.vue 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331
  1. <template>
  2. <div class="container">
  3. <skillCertHeader title="全职自由工作者认证"></skillCertHeader>
  4. <div class="description rule">
  5. <div class="col-title">
  6. <span class="label">认证说明</span>
  7. </div>
  8. <p class="content">
  9. 1. 程序员客栈签约通过 <br/>2. 每周有40小时+进行平台项目工作,非自由职业者无需申请; <br/>3. 需提交社保缴纳记录(或者其他能证明自由职业身份)的截图;<br/>4.
  10. 如果近3个月如果有社保缴费记录,请备注缴费来源,否则不过 <br/>5. 确认诚信保证书+相关条约; <br/>6. 无纠纷记录,差评,能及时响应客户; <br/>7. 良好的责任心,工作态度和习惯,沟通能力 <br/>8.
  11. 客栈头像为本人露脸照片
  12. <br/>9. 认证失败费用无法退回,请确保已理解所有内容 <br/>有效期【180天】<br/>审核时间:2个工作日内
  13. </p>
  14. </div>
  15. <div class="description condition">
  16. <div class="col-title">
  17. <span class="label">认证权益</span>
  18. </div>
  19. <p class="content">
  20. 1. 会优先对接给需要全职开发者的客户 <br/>2. 拥有单独展示列表,获得更多曝光机会 <br/>3. 认证后派单权重提高 <br/>4. 拥有专属标志,增加客户信任感 <br/>5. 全职认证+会员可以同时接2单
  21. </p>
  22. </div>
  23. <div class="col-title cert-flow">
  24. <span class="label">认证流程</span>
  25. </div>
  26. <div class="content cert-flow-content">
  27. 1.认证失败费用无法退回,请确保已理解以上内容。 <br/>2.确保个人通过签约的资料真实有效。 <br/>3.对远程工作有极大的热情,乐于参与其中并为雇主创造价值。
  28. </div>
  29. <div class="improve_profile">
  30. <span class="label">1、完善个人主页</span>
  31. <img class="icon" src="@/assets/img/skill_cert/icon_arrow_right.png" alt=""/>
  32. </div>
  33. <div class="security">
  34. <span class="security-title">2、上传三个月内的社保证明截图</span>
  35. <span class="label">如何查询</span>
  36. <img class="icon" src="@/assets/img/skill_cert/icon_tips.png" alt=""/>
  37. </div>
  38. <div class="width-infinity">
  39. <el-upload
  40. class="upload-demo"
  41. drag
  42. action="https://jsonplaceholder.typicode.com/posts/"
  43. :on-success="handleSuccess"
  44. :before-upload="beforeAvatarUpload"
  45. multiple>
  46. <i class="el-icon-upload"></i>
  47. <div class="el-upload__text">将文件拖到此处,或<em>点击上传</em></div>
  48. <div class="el-upload__tip" slot="tip">支持2M以内的PNG、JPG、JPEG格式的图片</div>
  49. </el-upload>
  50. </div>
  51. <span class="promise">3、承诺保证</span>
  52. <div class="description promise-content">
  53. <p class="title">承诺保证书</p>
  54. <p class="label">本人承诺在【程序员客栈自由工作】认证过程中提交的信息真实有效,如因此给其他组织或个人(含本人)造成损失,一切本人承担</p>
  55. </div>
  56. <div class="agree-action">
  57. <img class="icon" src="@/assets/img/skill_cert/icon_checked.png" alt=""/>
  58. <span class="label">我已阅读并同意承诺保证书</span>
  59. </div>
  60. <el-input class="input" type="textarea" placeholder="请输入..." :autosize="{ minRows: 8}"
  61. v-model="form.desc"></el-input>
  62. <div class="buttons">
  63. <el-button class="submit" type="primary" @click="submit">申请认证</el-button>
  64. </div>
  65. </div>
  66. </template>
  67. <script>
  68. import skillCertHeader from "@/components/skill_cert_header/skill_cert_header";
  69. export default {
  70. name: "cert_form",
  71. components: {
  72. skillCertHeader
  73. },
  74. data() {
  75. return {
  76. form: {
  77. desc: ''
  78. }
  79. }
  80. },
  81. methods: {
  82. handleSuccess(res, file) {
  83. this.imageUrl = URL.createObjectURL(file.raw);
  84. },
  85. beforeAvatarUpload(file) {
  86. const isJPG = file.type === 'image/jpeg';
  87. const isPNG = file.type === 'image/png';
  88. const isLt2M = file.size / 1024 / 1024 < 2;
  89. if (!(isJPG || isPNG)) {
  90. this.$message.error('上传图片只能是 PNG/JPG/JPEG 格式!');
  91. }
  92. if (!isLt2M) {
  93. this.$message.error('上传图片大小不能超过 2MB!');
  94. }
  95. return isJPG && isLt2M;
  96. },
  97. submit() {
  98. }
  99. }
  100. }
  101. </script>
  102. <style lang="scss" scoped>
  103. .container {
  104. display: flex;
  105. flex-direction: column;
  106. width: 100%;
  107. max-width: 1000px;
  108. margin: 10px auto;
  109. background: #ffffff;
  110. border-radius: 10px;
  111. padding: 0 85px;
  112. @media(max-width: 768px) {
  113. padding: 0 15px;
  114. }
  115. box-sizing: border-box;
  116. .width-infinity {
  117. width: 100%;
  118. }
  119. .content {
  120. margin: 14px 14px 0 14px;
  121. font-size: 15px;
  122. font-family: PingFangSC, PingFangSC-Regular, sans-serif;
  123. font-weight: 400;
  124. text-align: left;
  125. color: #222222;
  126. line-height: 24px;
  127. }
  128. .description {
  129. width: 100%;
  130. background: #f4f5f9;
  131. border-radius: 8px;
  132. padding-bottom: 32px;
  133. }
  134. .rule {
  135. margin-top: 20px;
  136. margin-bottom: 10px;
  137. }
  138. .condition {
  139. .item {
  140. display: flex;
  141. margin-top: 17px;
  142. .text {
  143. margin-left: 14px;
  144. font-size: 15px;
  145. font-family: PingFangSC, PingFangSC-Regular, sans-serif;
  146. font-weight: 400;
  147. text-align: left;
  148. color: #222222;
  149. line-height: 24px;
  150. }
  151. .action {
  152. margin-left: 28px;
  153. font-size: 15px;
  154. font-family: PingFangSC, PingFangSC-Semibold, sans-serif;
  155. font-weight: 600;
  156. text-align: left;
  157. color: #308eff;
  158. line-height: 24px;
  159. }
  160. }
  161. }
  162. .col-title {
  163. display: inline-flex;
  164. align-items: center;
  165. height: 43px;
  166. &::before {
  167. content: '';
  168. width: 2px;
  169. height: 14px;
  170. background: #308eff;
  171. border-radius: 2px;
  172. }
  173. .label {
  174. font-size: 16px;
  175. font-family: PingFangSC, PingFangSC-Semibold, sans-serif;
  176. font-weight: 600;
  177. color: #222222;
  178. padding: 0 10px;
  179. }
  180. }
  181. .cert-flow {
  182. width: 100%;
  183. margin-top: 19px;
  184. margin-bottom: 4px;
  185. }
  186. .cert-flow-content {
  187. width: 100%;
  188. color: #999999;
  189. }
  190. .improve_profile {
  191. display: flex;
  192. align-items: center;
  193. width: 100%;
  194. margin-top: 22px;
  195. .label {
  196. font-size: 16px;
  197. font-family: PingFangSC, PingFangSC-Medium, sans-serif;
  198. font-weight: 500;
  199. text-align: left;
  200. color: #308eff;
  201. line-height: 24px;
  202. }
  203. .icon {
  204. width: 13px;
  205. height: 13px;
  206. }
  207. }
  208. .security {
  209. display: flex;
  210. align-items: center;
  211. width: 100%;
  212. margin-top: 22px;
  213. margin-bottom: 14px;
  214. .security-title {
  215. font-size: 16px;
  216. font-family: PingFangSC, PingFangSC-Medium, sans-serif;
  217. font-weight: 500;
  218. text-align: left;
  219. color: #222222;
  220. line-height: 24px;
  221. }
  222. .label {
  223. margin-left: 10px;
  224. font-size: 14px;
  225. font-family: PingFangSC, PingFangSC-Medium, sans-serif;
  226. font-weight: 500;
  227. text-align: left;
  228. color: #308eff;
  229. line-height: 20px;
  230. }
  231. .icon {
  232. width: 16px;
  233. height: 16px;
  234. }
  235. }
  236. .promise {
  237. width: 100%;
  238. margin-top: 32px;
  239. margin-bottom: 20px;
  240. font-size: 16px;
  241. font-family: PingFangSC, PingFangSC-Medium, sans-serif;
  242. font-weight: 500;
  243. text-align: left;
  244. color: #222222;
  245. line-height: 24px;
  246. }
  247. .promise-content {
  248. padding: 43px;
  249. .title {
  250. font-size: 21px;
  251. font-family: PingFangSC, PingFangSC-Medium, sans-serif;
  252. font-weight: 500;
  253. text-align: center;
  254. color: #222222;
  255. line-height: 24px;
  256. }
  257. .label {
  258. margin-top: 13px;
  259. font-size: 14px;
  260. font-family: PingFangSC, PingFangSC-Regular, sans-serif;
  261. font-weight: 400;
  262. text-align: center;
  263. color: #222222;
  264. line-height: 24px;
  265. }
  266. }
  267. .agree-action {
  268. display: flex;
  269. align-items: center;
  270. width: 100%;
  271. margin-top: 14px;
  272. margin-bottom: 22px;
  273. .icon {
  274. width: 20px;
  275. height: 20px;
  276. }
  277. .label {
  278. margin-left: 4px;
  279. }
  280. }
  281. .buttons {
  282. width: 100%;
  283. .submit {
  284. width: 208px;
  285. height: 58px;
  286. margin-top: 22px;
  287. margin-bottom: 49px;
  288. background: #308eff;
  289. border-radius: 8px;
  290. font-size: 18px;
  291. font-family: PingFangSC, PingFangSC-Medium, sans-serif;
  292. font-weight: 500;
  293. color: #ffffff;
  294. line-height: 26px;
  295. }
  296. }
  297. }
  298. </style>