completeMsg.vue 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267
  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" @click="goCompanyReview">开始招聘</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. goCompanyReview() {
  79. uni.navigateTo({
  80. url: "/package/jobIntention/companyReview",
  81. });
  82. },
  83. // 选择头像
  84. chooseAvatar() {
  85. uni.chooseImage({
  86. count: 1,
  87. sizeType: ["compressed"],
  88. sourceType: ["album", "camera"],
  89. success: (res) => {
  90. this.avatar = res.tempFilePaths[0];
  91. },
  92. });
  93. },
  94. },
  95. };
  96. </script>
  97. <style scoped lang="scss">
  98. .company {
  99. position: absolute;
  100. left: 0;
  101. right: 0;
  102. top: 0;
  103. bottom: 0;
  104. display: flex;
  105. flex-direction: column;
  106. font-family: DM Sans;
  107. .company-content {
  108. flex: 1;
  109. padding: 40rpx;
  110. box-sizing: border-box;
  111. overflow: hidden;
  112. overflow-y: auto;
  113. .company-title {
  114. color: #333;
  115. font-size: 40rpx;
  116. font-weight: 600;
  117. margin-bottom: 20rpx;
  118. }
  119. .form-label {
  120. color: #1f2c37;
  121. font-family: DM Sans;
  122. font-size: 28rpx;
  123. font-weight: 500;
  124. line-height: 44rpx;
  125. padding-top: 30rpx;
  126. padding-bottom: 27rpx;
  127. box-sizing: border-box;
  128. }
  129. .avatar-section {
  130. display: flex;
  131. }
  132. .avatar-upload {
  133. display: flex;
  134. align-items: center;
  135. }
  136. .avatar-preview {
  137. width: 48rpx;
  138. height: 48rpx;
  139. border-radius: 50%;
  140. display: flex;
  141. align-items: center;
  142. justify-content: center;
  143. margin-right: 20rpx;
  144. }
  145. .avatar-image {
  146. width: 100%;
  147. height: 100%;
  148. border-radius: 50%;
  149. }
  150. .upload-view {
  151. color: #016bf6;
  152. font-family: DM Sans;
  153. font-size: 20rpx;
  154. font-weight: 500;
  155. line-height: 48rpx;
  156. }
  157. .form-item {
  158. padding-bottom: 24rpx;
  159. box-sizing: border-box;
  160. .job-txt {
  161. color: #016bf6;
  162. font-family: DM Sans;
  163. font-size: 20rpx;
  164. margin-left: 16rpx;
  165. }
  166. .form-border {
  167. box-sizing: border-box;
  168. border: 1rpx solid rgba(227, 231, 236, 1);
  169. border-radius: 12rpx;
  170. background: rgba(253, 253, 253, 1);
  171. padding: 36rpx;
  172. box-sizing: border-box;
  173. .form-border-top {
  174. display: flex;
  175. justify-content: space-between;
  176. align-items: center;
  177. .form-border-title {
  178. color: rgba(23, 23, 37, 1);
  179. font-family: DM Sans;
  180. font-size: 32rpx;
  181. font-weight: 700;
  182. line-height: 48rpx;
  183. }
  184. .form-border-money {
  185. color: #016bf6;
  186. font-family: DM Sans;
  187. font-size: 24rpx;
  188. font-weight: 700;
  189. line-height: 40rpx;
  190. }
  191. }
  192. .form-border-desc {
  193. color: rgba(156, 164, 171, 1);
  194. font-family: DM Sans;
  195. font-size: 24rpx;
  196. font-weight: 400;
  197. line-height: 40rpx;
  198. padding: 6rpx 0;
  199. box-sizing: border-box;
  200. }
  201. .form-border-img-name {
  202. display: flex;
  203. align-items: center;
  204. gap: 8rpx;
  205. .people-img {
  206. image {
  207. width: 40rpx;
  208. height: 40rpx;
  209. }
  210. }
  211. .people-name {
  212. color: rgba(156, 164, 171, 1);
  213. font-family: DM Sans;
  214. font-size: 16rpx;
  215. font-weight: 400;
  216. }
  217. }
  218. }
  219. }
  220. .form-item:last-child {
  221. border-bottom: none;
  222. }
  223. .form-label {
  224. color: #1f2c37;
  225. font-family: DM Sans;
  226. font-size: 28rpx;
  227. font-weight: 500;
  228. line-height: 44rpx;
  229. padding-top: 30rpx;
  230. padding-bottom: 27rpx;
  231. box-sizing: border-box;
  232. }
  233. .form-input {
  234. flex: 1;
  235. box-sizing: border-box;
  236. border: 2rpx solid #9ea1a8;
  237. border-radius: 100rpx;
  238. background: rgba(255, 255, 255, 1);
  239. padding: 0rpx 24rpx !important;
  240. }
  241. }
  242. .bottom-btn {
  243. border-radius: 999px;
  244. background: rgba(255, 102, 0, 1);
  245. display: flex;
  246. justify-content: center;
  247. align-items: center;
  248. color: rgba(255, 255, 255, 1);
  249. font-family: DM Sans;
  250. font-size: 32rpx;
  251. font-weight: 400;
  252. line-height: 48rpx;
  253. padding: 16rpx 32rpx;
  254. box-sizing: border-box;
  255. }
  256. }
  257. ::v-deep .u-input {
  258. text-align: left !important;
  259. }
  260. </style>