index.vue 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. <template>
  2. <view>
  3. <u-navbar :is-back="false">
  4. <view class="jp-search">
  5. <u-search placeholder="输入想找的简历吧" :disabled="true" @click="gotoUrl('pages/hr/query/query')" :show-action="false"></u-search>
  6. </view>
  7. </u-navbar>
  8. <view class="jp-banner">
  9. <u-swiper :list="bannerList" @click="ckBanner" ></u-swiper>
  10. </view>
  11. <view class="jp-work">
  12. <view class="jp-work-tab">
  13. <u-tabs :list="list" :is-scroll="false" :current="current" @change="changeTab" :item-width="100"></u-tabs>
  14. <view class="screen" @click="showpopup=true">
  15. <span>筛选</span>
  16. <u-icon name="arrow-down" color="#999" size="24"></u-icon>
  17. </view>
  18. </view>
  19. <view class="jp-work-list">
  20. <ResumeItem v-for="(item ,index) in list[current].list" :key="item.id" :item="item" ></ResumeItem>
  21. <view class="jp-work-item" style="margin-top: 6px;">
  22. <view style="text-align: center;color:#101010;" @click="gotoUrl('pages/hr/query/query?all=1')" >查看全部</view>
  23. </view>
  24. </view>
  25. </view>
  26. <u-popup v-model="showpopup" mode="center" width="100%" >
  27. <view class="content">
  28. <view class="popup-title">
  29. <h3>招聘岗位</h3>
  30. </view>
  31. <view class="jp-search-tag">
  32. <u-tag v-for="(item,index) in popupList" :key="index" :text="item" mode="dark"
  33. :color="querypopup==item?'#FFFFFF':'#666666'" :bg-color="querypopup==item?'#2295FF':'#f1f1f1'"
  34. @click="ckPopup(item)"
  35. />
  36. </view>
  37. </view>
  38. </u-popup>
  39. <Tabbar-Hr :current="0" ></Tabbar-Hr>
  40. </view>
  41. </template>
  42. <script>
  43. import api from './index.js'
  44. export default api;
  45. </script>
  46. <style>
  47. page{
  48. background-color: #f7f7f7;
  49. }
  50. </style>
  51. <style scoped lang="scss">
  52. .popup-title{
  53. padding: 20rpx;
  54. }
  55. .jp-search-tag{
  56. padding: 20rpx;
  57. *{
  58. margin-right: 10rpx;
  59. margin-bottom: 10rpx;
  60. }
  61. }
  62. .jp-search{
  63. padding: 0 20rpx;
  64. width: 100%;
  65. }
  66. .jp-banner{
  67. padding: 20rpx;
  68. background-color: #fff;
  69. }
  70. .jp-tips{
  71. height:72rpx;
  72. background-color: #fff0e7;
  73. display: flex;
  74. justify-content: center;
  75. align-items: center;
  76. span{
  77. color:#ff6200;
  78. margin: 0 10rpx;
  79. line-height: 28rpx;
  80. }
  81. }
  82. .jp-work-tab{
  83. display: flex;
  84. justify-content: space-between;
  85. align-items: center;
  86. border-bottom: 1px solid #f7f7f7;
  87. background-color: #fff;
  88. padding-right: 20rpx;
  89. .screen{
  90. span{margin-right: 10rpx;}
  91. }
  92. }
  93. .jp-work-item{
  94. padding:30rpx;
  95. background-color: #fff;
  96. border-bottom: 1px solid #f7f7f7;
  97. &:last-child{
  98. border-bottom:none;
  99. }
  100. .jp-work-name{
  101. display: flex;
  102. justify-content: space-between;
  103. align-items: center;
  104. h3{
  105. font-size: 36rpx;
  106. }
  107. span{
  108. font-size: 32rpx;
  109. color:#FF1700
  110. }
  111. }
  112. .jp-work-tag{
  113. display: flex;
  114. align-items: center;
  115. margin-top: 10rpx;
  116. *{
  117. margin-right: 10rpx;
  118. }
  119. }
  120. .jp-work-info{
  121. display: flex;
  122. justify-content: space-between;
  123. align-items: center;
  124. margin-top: 10rpx;
  125. p{
  126. color:#999;
  127. font-size: 24rpx;
  128. margin-left: 10rpx;
  129. }
  130. }
  131. }
  132. </style>