completeMsg.vue 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262
  1. <template>
  2. <view class="company">
  3. <nav-bar title="完善信息" color="#000"></nav-bar>
  4. <view class="company-content">
  5. <view class="company-title">完善你的招聘名片</view>
  6. <view class="company-desc">求职者更愿意主动联系名片信息完整的HR</view>
  7. <!-- 头像上传区域 -->
  8. <view class="form-label">头像</view>
  9. <view class="avatar-section">
  10. <view class="avatar-upload" @click="chooseAvatar">
  11. <view class="avatar-preview">
  12. <image
  13. v-if="avatar"
  14. :src="avatar"
  15. class="avatar-image"
  16. mode="aspectFill"
  17. ></image>
  18. <image
  19. v-else
  20. src="@/static/images/jobApplicant/touxiang.svg"
  21. mode="scaleToFill"
  22. class="user-img"
  23. />
  24. </view>
  25. <view class="upload-view">上传头像</view>
  26. </view>
  27. </view>
  28. <!-- 姓名 -->
  29. <view class="form-item">
  30. <view class="form-label">填写职务</view>
  31. <u-input
  32. placeholder="真实的职务,更能赢得牛人的信任"
  33. v-model="name"
  34. :border="false"
  35. class="form-input"
  36. ></u-input>
  37. </view>
  38. <view class="form-item">
  39. <view class="form-label">求职者视角中的效果</view>
  40. <view class="form-border">
  41. <view class="form-border-top">
  42. <view class="form-border-title">亚马逊店铺运营</view>
  43. <view class="form-border-money">24-36K·16薪</view>
  44. </view>
  45. <view class="form-border-desc">演示公司100-499人</view>
  46. <view class="form-border-img-name">
  47. <view class="people-img">
  48. <image
  49. src="@/static/images/jobApplicant/touxiang.svg"
  50. mode="scaleToFill"
  51. class="user-img"
  52. />
  53. </view>
  54. <view class="people-name">孙先生 招聘者</view>
  55. </view>
  56. </view>
  57. </view>
  58. <view class="bottom-btn">开始招聘</view>
  59. </view>
  60. </view>
  61. </template>
  62. <script>
  63. import navBar from "@/components/nav-bar/index.vue";
  64. export default {
  65. data() {
  66. return {
  67. avatar: "",
  68. name: "",
  69. };
  70. },
  71. components: {
  72. navBar,
  73. },
  74. methods: {
  75. goUploadImg() {
  76. uni.navigateTo({ url: "/package/jobIntention/companyImg" });
  77. },
  78. // 选择头像
  79. chooseAvatar() {
  80. uni.chooseImage({
  81. count: 1,
  82. sizeType: ["compressed"],
  83. sourceType: ["album", "camera"],
  84. success: (res) => {
  85. this.avatar = res.tempFilePaths[0];
  86. },
  87. });
  88. },
  89. },
  90. };
  91. </script>
  92. <style scoped lang="scss">
  93. .company {
  94. position: absolute;
  95. left: 0;
  96. right: 0;
  97. top: 0;
  98. bottom: 0;
  99. display: flex;
  100. flex-direction: column;
  101. font-family: DM Sans;
  102. .company-content {
  103. flex: 1;
  104. padding: 40rpx;
  105. box-sizing: border-box;
  106. overflow: hidden;
  107. overflow-y: auto;
  108. .company-title {
  109. color: #333;
  110. font-size: 40rpx;
  111. font-weight: 600;
  112. margin-bottom: 20rpx;
  113. }
  114. .form-label {
  115. color: #1f2c37;
  116. font-family: DM Sans;
  117. font-size: 28rpx;
  118. font-weight: 500;
  119. line-height: 44rpx;
  120. padding-top: 30rpx;
  121. padding-bottom: 27rpx;
  122. box-sizing: border-box;
  123. }
  124. .avatar-section {
  125. display: flex;
  126. }
  127. .avatar-upload {
  128. display: flex;
  129. align-items: center;
  130. }
  131. .avatar-preview {
  132. width: 48rpx;
  133. height: 48rpx;
  134. border-radius: 50%;
  135. display: flex;
  136. align-items: center;
  137. justify-content: center;
  138. margin-right: 20rpx;
  139. }
  140. .avatar-image {
  141. width: 100%;
  142. height: 100%;
  143. border-radius: 50%;
  144. }
  145. .upload-view {
  146. color: #016bf6;
  147. font-family: DM Sans;
  148. font-size: 20rpx;
  149. font-weight: 500;
  150. line-height: 48rpx;
  151. }
  152. .form-item {
  153. padding-bottom: 24rpx;
  154. box-sizing: border-box;
  155. .job-txt {
  156. color: #016bf6;
  157. font-family: DM Sans;
  158. font-size: 20rpx;
  159. margin-left: 16rpx;
  160. }
  161. .form-border {
  162. box-sizing: border-box;
  163. border: 1rpx solid rgba(227, 231, 236, 1);
  164. border-radius: 12rpx;
  165. background: rgba(253, 253, 253, 1);
  166. padding: 36rpx;
  167. box-sizing: border-box;
  168. .form-border-top {
  169. display: flex;
  170. justify-content: space-between;
  171. align-items: center;
  172. .form-border-title {
  173. color: rgba(23, 23, 37, 1);
  174. font-family: DM Sans;
  175. font-size: 32rpx;
  176. font-weight: 700;
  177. line-height: 48rpx;
  178. }
  179. .form-border-money {
  180. color: #016bf6;
  181. font-family: DM Sans;
  182. font-size: 24rpx;
  183. font-weight: 700;
  184. line-height: 40rpx;
  185. }
  186. }
  187. .form-border-desc {
  188. color: rgba(156, 164, 171, 1);
  189. font-family: DM Sans;
  190. font-size: 24rpx;
  191. font-weight: 400;
  192. line-height: 40rpx;
  193. padding: 6rpx 0;
  194. box-sizing: border-box;
  195. }
  196. .form-border-img-name {
  197. display: flex;
  198. align-items: center;
  199. gap: 8rpx;
  200. .people-img {
  201. image {
  202. width: 40rpx;
  203. height: 40rpx;
  204. }
  205. }
  206. .people-name {
  207. color: rgba(156, 164, 171, 1);
  208. font-family: DM Sans;
  209. font-size: 16rpx;
  210. font-weight: 400;
  211. }
  212. }
  213. }
  214. }
  215. .form-item:last-child {
  216. border-bottom: none;
  217. }
  218. .form-label {
  219. color: #1f2c37;
  220. font-family: DM Sans;
  221. font-size: 28rpx;
  222. font-weight: 500;
  223. line-height: 44rpx;
  224. padding-top: 30rpx;
  225. padding-bottom: 27rpx;
  226. box-sizing: border-box;
  227. }
  228. .form-input {
  229. flex: 1;
  230. box-sizing: border-box;
  231. border: 2rpx solid #9ea1a8;
  232. border-radius: 100rpx;
  233. background: rgba(255, 255, 255, 1);
  234. padding: 0rpx 24rpx !important;
  235. }
  236. }
  237. .bottom-btn {
  238. border-radius: 999px;
  239. background: rgba(255, 102, 0, 1);
  240. display: flex;
  241. justify-content: center;
  242. align-items: center;
  243. color: rgba(255, 255, 255, 1);
  244. font-family: DM Sans;
  245. font-size: 32rpx;
  246. font-weight: 400;
  247. line-height: 48rpx;
  248. padding: 16rpx 32rpx;
  249. box-sizing: border-box;
  250. }
  251. }
  252. ::v-deep .u-input {
  253. text-align: left !important;
  254. }
  255. </style>