jobPosting.vue 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  1. <template>
  2. <view class="switch-roles">
  3. <nav-bar title="选择公司规模" color="#000"></nav-bar>
  4. <view class="roles-content">
  5. <view class="content">
  6. <view class="title">发布社招</view>
  7. <view class="desc">“深圳市汉睿国际猎头服务有限公司”的人员规模</view>
  8. <view class="step">
  9. <u-steps :list="numList" mode="number" :current="1"></u-steps>
  10. </view>
  11. <view class="check-title">招聘类型</view>
  12. <view class="check-box">
  13. <view
  14. class="check-item"
  15. :class="{ 'is-check': check == index }"
  16. v-for="(item, index) in peopleList"
  17. :key="index"
  18. @click="checkPeople(index)"
  19. >{{ item }}</view
  20. >
  21. </view>
  22. <view class="check-title-big">招聘职位</view>
  23. <view class="check-select" @click="goJob">
  24. <view class="select-txt">请选择要招聘的职位</view>
  25. <u-icon name="arrow-down" color="#D3D3D6" size="22"></u-icon>
  26. </view>
  27. <view class="check-title-big">岗位描述</view>
  28. <view class="check-select" @click="goJobContent">
  29. <view class="select-txt">{{
  30. this.text ? this.text : "介绍工作内容、职位要求"
  31. }}</view>
  32. <u-icon name="arrow-down" color="#D3D3D6" size="22"></u-icon>
  33. </view>
  34. <view class="txt-desc">注:职位名称、职位类型等发布后不可修改</view>
  35. </view>
  36. </view>
  37. <view class="submit-btn" @click="goJobPostingSecond">下一步</view>
  38. </view>
  39. </template>
  40. <script>
  41. import navBar from "@/components/nav-bar/index.vue";
  42. export default {
  43. data() {
  44. return {
  45. peopleList: ["社招全职", "应届生校园招聘", "实习生招聘", "兼职招聘"],
  46. check: 0,
  47. text: "",
  48. numList: [
  49. {
  50. name: "填写基本信息",
  51. },
  52. {
  53. name: "选择职位要求",
  54. },
  55. ],
  56. };
  57. },
  58. components: {
  59. navBar,
  60. },
  61. onLoad(options) {
  62. if (options.text) {
  63. this.text = options.text;
  64. }
  65. },
  66. methods: {
  67. goBusinessLicense() {
  68. uni.navigateTo({ url: "/pages/my/businessLicense" });
  69. },
  70. checkPeople(index) {
  71. this.check = index;
  72. },
  73. goJob() {
  74. uni.navigateTo({
  75. url: "/package/jobIntention/jobList",
  76. });
  77. },
  78. goJobContent() {
  79. uni.navigateTo({
  80. url: `/package/jobIntention/editJob?text=${this.text}`,
  81. });
  82. },
  83. goJobPostingSecond(){
  84. uni.navigateTo({ url: "/pages/my/jobPostingSecond" });
  85. }
  86. },
  87. };
  88. </script>
  89. <style lang="scss" scoped>
  90. .switch-roles {
  91. background-color: #fff;
  92. position: absolute;
  93. left: 0;
  94. right: 0;
  95. top: 0;
  96. bottom: 0;
  97. display: flex;
  98. flex-direction: column;
  99. .roles-content {
  100. width: 100%;
  101. flex: 1;
  102. overflow: hidden;
  103. overflow-y: auto;
  104. .content {
  105. padding: 40rpx;
  106. box-sizing: border-box;
  107. display: flex;
  108. flex-direction: column;
  109. align-items: center;
  110. justify-content: center;
  111. .title {
  112. color: #333;
  113. width: 100%;
  114. font-family: DM Sans;
  115. font-size: 40rpx;
  116. font-weight: 600;
  117. }
  118. .desc {
  119. color: rgba(102, 102, 102, 1);
  120. width: 100%;
  121. font-family: DM Sans;
  122. font-size: 24rpx;
  123. font-weight: 400;
  124. line-height: 32rpx;
  125. letter-spacing: 0.5%;
  126. text-align: left;
  127. padding: 20rpx 0;
  128. box-sizing: border-box;
  129. }
  130. .check-title {
  131. width: 100%;
  132. color: rgba(31, 44, 55, 1);
  133. font-family: DM Sans;
  134. font-size: 28rpx;
  135. font-weight: 500;
  136. line-height: 44rpx;
  137. margin-top: 20rpx;
  138. margin-bottom: 16rpx;
  139. }
  140. .check-title-big {
  141. color: rgba(58, 57, 67, 1);
  142. font-family: DM Sans;
  143. font-size: 36rpx;
  144. font-weight: 500;
  145. line-height: 48rpx;
  146. width: 100%;
  147. padding: 20rpx 0;
  148. box-sizing: border-box;
  149. }
  150. .check-select {
  151. width: 100%;
  152. display: flex;
  153. justify-content: space-between;
  154. align-items: center;
  155. border-radius: 12rpx;
  156. box-shadow: 0px 16rpx 300rpx 0px rgba(0, 0, 0, 0.06);
  157. background: rgba(255, 255, 255, 1);
  158. padding: 32rpx 47rpx;
  159. box-sizing: border-box;
  160. .select-txt {
  161. }
  162. }
  163. .check-box {
  164. width: 100%;
  165. display: grid;
  166. grid-template-columns: repeat(2, 1fr);
  167. gap: 24rpx;
  168. .check-item {
  169. border-radius: 16rpx;
  170. background: rgba(245, 248, 254, 1);
  171. color: rgba(153, 153, 153, 1);
  172. font-family: DM Sans;
  173. font-size: 28rpx;
  174. font-weight: 400;
  175. line-height: 44rpx;
  176. text-align: center;
  177. padding: 12rpx 48rpx;
  178. box-sizing: border-box;
  179. }
  180. .is-check {
  181. box-sizing: border-box;
  182. border: 1rpx solid #016bf6;
  183. border-radius: 16rpx;
  184. background: rgba(252, 233, 220, 1);
  185. color: #016bf6;
  186. }
  187. }
  188. }
  189. }
  190. .step {
  191. width: 100%;
  192. padding: 32rpx 0;
  193. box-sizing: border-box;
  194. }
  195. .submit-btn {
  196. flex-shrink: 0;
  197. border-radius: 999px;
  198. box-shadow: 0px 2px 4px 0px rgba(9, 196, 116, 0.3);
  199. background: linear-gradient(90deg, rgba(13, 39, 247, 1), rgba(19, 193, 234, 1) 100%);
  200. color: rgba(255, 255, 255, 1);
  201. font-family: DM Sans;
  202. font-size: 32rpx;
  203. font-weight: 400;
  204. line-height: 48rpx;
  205. display: flex;
  206. justify-content: center;
  207. align-items: center;
  208. padding: 16rpx 32rpx;
  209. box-sizing: border-box;
  210. margin: 60rpx 20rpx;
  211. }
  212. .txt-desc {
  213. color: rgba(102, 102, 102, 1);
  214. font-family: DM Sans;
  215. font-size: 24rpx;
  216. font-weight: 400;
  217. line-height: 32rpx;
  218. text-align: left;
  219. width: 100%;
  220. margin-top: 20rpx;
  221. }
  222. }
  223. </style>