index.vue 3.3 KB

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