jobPosting.vue 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  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">
  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">
  29. <view class="select-txt">介绍工作内容、职位要求</view>
  30. <u-icon name="arrow-down" color="#D3D3D6" size="22"></u-icon>
  31. </view>
  32. <view class="txt-desc">注:职位名称、职位类型等发布后不可修改</view>
  33. </view>
  34. </view>
  35. <view class="submit-btn" @click="goJobPosting">确定</view>
  36. </view>
  37. </template>
  38. <script>
  39. import navBar from "@/components/nav-bar/index.vue";
  40. export default {
  41. data() {
  42. return {
  43. peopleList: ["社招全职", "应届生校园招聘", "实习生招聘", "兼职招聘"],
  44. check: 0,
  45. numList: [
  46. {
  47. name: "填写基本信息",
  48. },
  49. {
  50. name: "Confirm",
  51. },
  52. ],
  53. };
  54. },
  55. components: {
  56. navBar,
  57. },
  58. methods: {
  59. goBusinessLicense() {
  60. uni.navigateTo({ url: "/pages/my/businessLicense" });
  61. },
  62. checkPeople(index) {
  63. this.check = index;
  64. },
  65. goJobPosting() {
  66. uni.navigateTo({
  67. url: "/pages/my/jobPosting",
  68. });
  69. },
  70. },
  71. };
  72. </script>
  73. <style lang="scss" scoped>
  74. .switch-roles {
  75. background-color: #fff;
  76. position: absolute;
  77. left: 0;
  78. right: 0;
  79. top: 0;
  80. bottom: 0;
  81. display: flex;
  82. flex-direction: column;
  83. .roles-content {
  84. width: 100%;
  85. flex: 1;
  86. overflow: hidden;
  87. overflow-y: auto;
  88. .content {
  89. padding: 40rpx;
  90. box-sizing: border-box;
  91. display: flex;
  92. flex-direction: column;
  93. align-items: center;
  94. justify-content: center;
  95. .title {
  96. color: #333;
  97. width: 100%;
  98. font-family: DM Sans;
  99. font-size: 40rpx;
  100. font-weight: 600;
  101. }
  102. .desc {
  103. color: rgba(102, 102, 102, 1);
  104. width: 100%;
  105. font-family: DM Sans;
  106. font-size: 24rpx;
  107. font-weight: 400;
  108. line-height: 32rpx;
  109. letter-spacing: 0.5%;
  110. text-align: left;
  111. padding: 20rpx 0;
  112. box-sizing: border-box;
  113. }
  114. .check-title {
  115. width: 100%;
  116. color: rgba(31, 44, 55, 1);
  117. font-family: DM Sans;
  118. font-size: 28rpx;
  119. font-weight: 500;
  120. line-height: 44rpx;
  121. margin-top: 20rpx;
  122. margin-bottom: 16rpx;
  123. }
  124. .check-title-big {
  125. color: rgba(58, 57, 67, 1);
  126. font-family: DM Sans;
  127. font-size: 36rpx;
  128. font-weight: 500;
  129. line-height: 48rpx;
  130. width: 100%;
  131. padding: 20rpx 0;
  132. box-sizing: border-box;
  133. }
  134. .check-select {
  135. width: 100%;
  136. display: flex;
  137. justify-content: space-between;
  138. align-items: center;
  139. border-radius: 12rpx;
  140. box-shadow: 0px 16rpx 300rpx 0px rgba(0, 0, 0, 0.06);
  141. background: rgba(255, 255, 255, 1);
  142. padding: 32rpx 47rpx;
  143. box-sizing: border-box;
  144. .select-txt {
  145. }
  146. }
  147. .check-box {
  148. width: 100%;
  149. display: grid;
  150. grid-template-columns: repeat(2, 1fr);
  151. gap: 24rpx;
  152. .check-item {
  153. border-radius: 16rpx;
  154. background: rgba(245, 248, 254, 1);
  155. color: rgba(153, 153, 153, 1);
  156. font-family: DM Sans;
  157. font-size: 28rpx;
  158. font-weight: 400;
  159. line-height: 44rpx;
  160. text-align: center;
  161. padding: 12rpx 48rpx;
  162. box-sizing: border-box;
  163. }
  164. .is-check {
  165. box-sizing: border-box;
  166. border: 1rpx solid #016bf6;
  167. border-radius: 16rpx;
  168. background: rgba(252, 233, 220, 1);
  169. color: #016bf6;
  170. }
  171. }
  172. }
  173. }
  174. .step{
  175. width: 100%;
  176. padding: 32rpx 0;
  177. box-sizing: border-box;
  178. }
  179. .submit-btn {
  180. flex-shrink: 0;
  181. border-radius: 999px;
  182. box-shadow: 0px 2px 4px 0px rgba(9, 196, 116, 0.3);
  183. background: linear-gradient(90deg, rgba(13, 39, 247, 1), rgba(19, 193, 234, 1) 100%);
  184. color: rgba(255, 255, 255, 1);
  185. font-family: DM Sans;
  186. font-size: 32rpx;
  187. font-weight: 400;
  188. line-height: 48rpx;
  189. display: flex;
  190. justify-content: center;
  191. align-items: center;
  192. padding: 16rpx 32rpx;
  193. box-sizing: border-box;
  194. margin: 60rpx 20rpx;
  195. }
  196. .txt-desc {
  197. color: rgba(102, 102, 102, 1);
  198. font-family: DM Sans;
  199. font-size: 24rpx;
  200. font-weight: 400;
  201. line-height: 32rpx;
  202. text-align: left;
  203. width: 100%;
  204. margin-top: 20rpx;
  205. }
  206. }
  207. </style>