jobPosting.vue 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  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="goJobPosting">确定</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: "Confirm",
  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. },
  84. };
  85. </script>
  86. <style lang="scss" scoped>
  87. .switch-roles {
  88. background-color: #fff;
  89. position: absolute;
  90. left: 0;
  91. right: 0;
  92. top: 0;
  93. bottom: 0;
  94. display: flex;
  95. flex-direction: column;
  96. .roles-content {
  97. width: 100%;
  98. flex: 1;
  99. overflow: hidden;
  100. overflow-y: auto;
  101. .content {
  102. padding: 40rpx;
  103. box-sizing: border-box;
  104. display: flex;
  105. flex-direction: column;
  106. align-items: center;
  107. justify-content: center;
  108. .title {
  109. color: #333;
  110. width: 100%;
  111. font-family: DM Sans;
  112. font-size: 40rpx;
  113. font-weight: 600;
  114. }
  115. .desc {
  116. color: rgba(102, 102, 102, 1);
  117. width: 100%;
  118. font-family: DM Sans;
  119. font-size: 24rpx;
  120. font-weight: 400;
  121. line-height: 32rpx;
  122. letter-spacing: 0.5%;
  123. text-align: left;
  124. padding: 20rpx 0;
  125. box-sizing: border-box;
  126. }
  127. .check-title {
  128. width: 100%;
  129. color: rgba(31, 44, 55, 1);
  130. font-family: DM Sans;
  131. font-size: 28rpx;
  132. font-weight: 500;
  133. line-height: 44rpx;
  134. margin-top: 20rpx;
  135. margin-bottom: 16rpx;
  136. }
  137. .check-title-big {
  138. color: rgba(58, 57, 67, 1);
  139. font-family: DM Sans;
  140. font-size: 36rpx;
  141. font-weight: 500;
  142. line-height: 48rpx;
  143. width: 100%;
  144. padding: 20rpx 0;
  145. box-sizing: border-box;
  146. }
  147. .check-select {
  148. width: 100%;
  149. display: flex;
  150. justify-content: space-between;
  151. align-items: center;
  152. border-radius: 12rpx;
  153. box-shadow: 0px 16rpx 300rpx 0px rgba(0, 0, 0, 0.06);
  154. background: rgba(255, 255, 255, 1);
  155. padding: 32rpx 47rpx;
  156. box-sizing: border-box;
  157. .select-txt {
  158. }
  159. }
  160. .check-box {
  161. width: 100%;
  162. display: grid;
  163. grid-template-columns: repeat(2, 1fr);
  164. gap: 24rpx;
  165. .check-item {
  166. border-radius: 16rpx;
  167. background: rgba(245, 248, 254, 1);
  168. color: rgba(153, 153, 153, 1);
  169. font-family: DM Sans;
  170. font-size: 28rpx;
  171. font-weight: 400;
  172. line-height: 44rpx;
  173. text-align: center;
  174. padding: 12rpx 48rpx;
  175. box-sizing: border-box;
  176. }
  177. .is-check {
  178. box-sizing: border-box;
  179. border: 1rpx solid #016bf6;
  180. border-radius: 16rpx;
  181. background: rgba(252, 233, 220, 1);
  182. color: #016bf6;
  183. }
  184. }
  185. }
  186. }
  187. .step {
  188. width: 100%;
  189. padding: 32rpx 0;
  190. box-sizing: border-box;
  191. }
  192. .submit-btn {
  193. flex-shrink: 0;
  194. border-radius: 999px;
  195. box-shadow: 0px 2px 4px 0px rgba(9, 196, 116, 0.3);
  196. background: linear-gradient(90deg, rgba(13, 39, 247, 1), rgba(19, 193, 234, 1) 100%);
  197. color: rgba(255, 255, 255, 1);
  198. font-family: DM Sans;
  199. font-size: 32rpx;
  200. font-weight: 400;
  201. line-height: 48rpx;
  202. display: flex;
  203. justify-content: center;
  204. align-items: center;
  205. padding: 16rpx 32rpx;
  206. box-sizing: border-box;
  207. margin: 60rpx 20rpx;
  208. }
  209. .txt-desc {
  210. color: rgba(102, 102, 102, 1);
  211. font-family: DM Sans;
  212. font-size: 24rpx;
  213. font-weight: 400;
  214. line-height: 32rpx;
  215. text-align: left;
  216. width: 100%;
  217. margin-top: 20rpx;
  218. }
  219. }
  220. </style>