index.vue 3.4 KB

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