peopleDev.vue 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245
  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="progress-num"> <text>4</text>/8 </view>
  7. <view class="title">
  8. <view>人才发展</view>
  9. </view>
  10. <view class="desc">
  11. 介绍公司可提供的员工培养&晋升制度,良好的职业成长空间对人才更有吸引力</view
  12. >
  13. <view class="content-index">
  14. <view class="content-item">
  15. <view class="content-item-title">晋升制度</view>
  16. <view class="check-box">
  17. <view
  18. class="check-item"
  19. :class="{ 'check-active': up == index }"
  20. v-for="(item, index) in upList"
  21. :key="index"
  22. @click="checkUp(index)"
  23. >{{ item }}</view
  24. >
  25. </view>
  26. </view>
  27. <view class="content-item">
  28. <view class="content-item-title">人才激励</view>
  29. <view class="check-box">
  30. <view
  31. class="check-item"
  32. :class="{ 'check-active': people == index }"
  33. v-for="(item, index) in peopleList"
  34. :key="index"
  35. @click="checkPeople(index)"
  36. >{{ item }}</view
  37. >
  38. </view>
  39. </view>
  40. <view class="content-item">
  41. <view class="content-item-title">能力培养</view>
  42. <view class="check-box">
  43. <view
  44. class="check-item"
  45. :class="{ 'check-active': power == index }"
  46. v-for="(item, index) in powerList"
  47. :key="index"
  48. @click="checkPower(index)"
  49. >{{ item }}</view
  50. >
  51. </view>
  52. </view>
  53. </view>
  54. </view>
  55. </view>
  56. <view class="submit-btn" @click="goJobPostingSecond">下一步</view>
  57. </view>
  58. </template>
  59. <script>
  60. import navBar from "@/components/nav-bar/index.vue";
  61. export default {
  62. data() {
  63. return {
  64. upList: ["考核晋升", "定期晋升", "完善的晋升机制"],
  65. up: null,
  66. peopleList: [
  67. "定期普调",
  68. "定期绩效调薪",
  69. "晋级涨薪",
  70. "项目奖金",
  71. "团队奖金",
  72. "个人奖金",
  73. "绩效提成",
  74. "股票期权",
  75. "人才补贴",
  76. ],
  77. people: null,
  78. powerList: [
  79. "老员工带新",
  80. "导师一对一",
  81. "岗前带薪培训",
  82. "内部定期培训",
  83. "专业技能培训",
  84. "内部课程资源",
  85. "大牛带队",
  86. "人脉积累",
  87. "国内外进修",
  88. "校招培养",
  89. ],
  90. power: null,
  91. };
  92. },
  93. components: {
  94. navBar,
  95. },
  96. onLoad(options) {
  97. if (options.text) {
  98. this.text = options.text;
  99. }
  100. },
  101. methods: {
  102. checkUp(index) {
  103. this.up = index;
  104. },
  105. checkPeople(index) {
  106. this.people = index;
  107. },
  108. checkPower(index) {
  109. this.power = index;
  110. },
  111. goJobPostingSecond(){
  112. uni.navigateTo({ url: '/my/renzheng/editCompanyDesc' })
  113. }
  114. },
  115. };
  116. </script>
  117. <style lang="scss" scoped>
  118. .switch-roles {
  119. background-color: #fff;
  120. position: absolute;
  121. left: 0;
  122. right: 0;
  123. top: 0;
  124. bottom: 0;
  125. display: flex;
  126. flex-direction: column;
  127. .roles-content {
  128. width: 100%;
  129. flex: 1;
  130. overflow: hidden;
  131. overflow-y: auto;
  132. .content {
  133. padding: 40rpx;
  134. box-sizing: border-box;
  135. display: flex;
  136. flex-direction: column;
  137. align-items: center;
  138. justify-content: center;
  139. .progress-num {
  140. color: #016bf6;
  141. font-family: DM Sans;
  142. font-size: 24rpx;
  143. font-weight: 500;
  144. width: 100%;
  145. padding-bottom: 20rpx;
  146. box-sizing: border-box;
  147. text {
  148. font-size: 48rpx;
  149. font-weight: 700;
  150. }
  151. }
  152. .title {
  153. color: #333;
  154. width: 100%;
  155. font-family: DM Sans;
  156. font-size: 48rpx;
  157. font-weight: 700;
  158. display: flex;
  159. justify-content: space-between;
  160. align-items: center;
  161. margin-bottom: 20rpx;
  162. }
  163. .desc {
  164. color: rgba(102, 102, 102, 1);
  165. width: 100%;
  166. font-family: DM Sans;
  167. font-size: 24rpx;
  168. font-weight: 400;
  169. line-height: 32rpx;
  170. letter-spacing: 0.5%;
  171. text-align: left;
  172. padding: 20rpx 0;
  173. box-sizing: border-box;
  174. margin-bottom: 20rpx;
  175. }
  176. .content-index {
  177. width: 100%;
  178. .content-item {
  179. .content-item-title {
  180. color: rgba(34, 37, 42, 1);
  181. font-family: DM Sans;
  182. font-size: 32rpx;
  183. font-weight: 400;
  184. line-height: 48rpx;
  185. padding-bottom: 12rpx;
  186. box-sizing: border-box;
  187. }
  188. .check-box {
  189. display: flex;
  190. gap: 12rpx;
  191. flex-wrap: wrap;
  192. align-items: center;
  193. .check-item {
  194. flex-shrink: 0;
  195. padding: 8rpx;
  196. border-radius: 8rpx;
  197. background: #9999991a;
  198. border: 1rpx solid #9999991a;
  199. box-sizing: border-box;
  200. color: rgba(102, 102, 102, 1);
  201. font-family: DM Sans;
  202. font-size: 16rpx;
  203. font-weight: 400;
  204. }
  205. .check-active {
  206. box-sizing: border-box;
  207. border: 1rpx solid #016bf6;
  208. border-radius: 8rpx;
  209. background: rgba(252, 233, 220, 1);
  210. color: #016bf6;
  211. }
  212. }
  213. }
  214. }
  215. }
  216. }
  217. .submit-btn {
  218. flex-shrink: 0;
  219. border-radius: 999px;
  220. background: #ff6600;
  221. color: rgba(255, 255, 255, 1);
  222. font-family: DM Sans;
  223. font-size: 32rpx;
  224. font-weight: 400;
  225. line-height: 48rpx;
  226. display: flex;
  227. justify-content: center;
  228. align-items: center;
  229. padding: 24rpx 32rpx;
  230. box-sizing: border-box;
  231. margin: 30rpx 40rpx;
  232. margin-top: 20rpx;
  233. }
  234. }
  235. </style>