recruitment.vue 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. <template>
  2. <view id="recruitment">
  3. <view style="z-index: 999;">
  4. <u-navbar title="求职中心" :is-back="false">
  5. <view class="slot-wrap"><image src="/static/search.png" class="search"></image></view>
  6. </u-navbar>
  7. </view>
  8. <scroll-view scroll-y="true" @scroll="scroll" style="padding-top: 20rpx;" :style="'height: ' + windowHeight + 'px;'" @scrolltolower="scrollTolower">
  9. <swiper class="swiper" :autoplay="true" previous-margin="15px" next-margin="15px" :circular="true">
  10. <swiper-item v-for="(item, index) in 4" :key="index" style="padding: 0px 5px;box-sizing: border-box;">
  11. <view style="height: 100%;border-radius: 8px;overflow: hidden;"><image src="../static/rank_bg.png" mode="" style="width: 100%;height: 100%;"></image></view>
  12. </swiper-item>
  13. </swiper>
  14. <view style="margin: 31rpx 35rpx 24rpx">
  15. <u-row gutter="16">
  16. <u-col span="1">
  17. <view style="padding: 5rpx;"><image src="/static/select.png" class="arr-icon" @click="show = false"></image></view>
  18. </u-col>
  19. <u-col span="11">
  20. <view>
  21. <u-subsection
  22. @change="sectionChange"
  23. height="54"
  24. button-color="rgba(47,67,121,0.6)"
  25. bg-color="#F8F9FF"
  26. active-color="#FFFFFF"
  27. inactive-color="#636A75"
  28. :list="tab_list"
  29. :current="current"
  30. ></u-subsection>
  31. </view>
  32. </u-col>
  33. </u-row>
  34. </view>
  35. <view class="boxsize" v-for="(item, index) in 8" :key="index">
  36. <view class="dis_flexs">
  37. <view class="imgboxs"><image style="width: 100%; height: 100%;" src="/static/avatar1.png" mode=""></image></view>
  38. <view style="flex: 1;">
  39. <view class="headTits">中正次时代建筑集团</view>
  40. <view class="lisz">
  41. <view class="bqB">广州</view>
  42. <view class="bqB">广州</view>
  43. </view>
  44. </view>
  45. </view>
  46. <view class="tnsz">
  47. <view class="litns">董事长秘书</view>
  48. <view class="litns">董事长秘书</view>
  49. <view class="moreLs">•••</view>
  50. </view>
  51. </view>
  52. </scroll-view>
  53. <u-popup v-model="show">
  54. <view style="width: 600rpx"><view class="popup_t1">选择你需要的</view></view>
  55. </u-popup>
  56. </view>
  57. </template>
  58. <script>
  59. export default {
  60. name: 'recruitment',
  61. data() {
  62. return {
  63. windowHeight: 0,
  64. show: false,
  65. tab_list: [
  66. {
  67. name: '找岗位'
  68. },
  69. {
  70. name: '找企业'
  71. }
  72. ],
  73. current: 0
  74. };
  75. },
  76. mounted() {
  77. this.windowHeight = uni.getSystemInfoSync().windowHeight - 120;
  78. console.log(this.windowHeight);
  79. },
  80. methods: {
  81. init() {},
  82. scroll(e) {},
  83. scrollTolower() {},
  84. sectionChange(index) {
  85. this.current = index;
  86. }
  87. }
  88. };
  89. </script>
  90. <style scoped>
  91. .search {
  92. width: 40rpx;
  93. height: 40rpx;
  94. margin-left: 30rpx;
  95. }
  96. .slot-wrap {
  97. display: flex;
  98. align-items: center;
  99. }
  100. .tests {
  101. background-color: #00ffff;
  102. margin-bottom: 20rpx;
  103. }
  104. .swiper {
  105. height: 329rpx;
  106. }
  107. .arr-icon {
  108. width: 40rpx;
  109. height: 40rpx;
  110. }
  111. .popup_t1 {
  112. height: 29rpx;
  113. font-size: 30rpx;
  114. font-family: PingFang SC;
  115. font-weight: bold;
  116. color: #131b31;
  117. margin: 100rpx;
  118. }
  119. .boxsize {
  120. border-radius: 32rpx;
  121. background: #ffffff;
  122. box-shadow: 0rpx 0rpx 16rpx 4rpx rgba(47, 67, 121, 0.05);
  123. margin: 0rpx 35rpx 24rpx;
  124. padding: 22rpx 20rpx;
  125. }
  126. .dis_flexs {
  127. display: flex;
  128. margin-bottom: 24rpx;
  129. }
  130. .dis_flexs > .imgboxs {
  131. width: 100rpx;
  132. height: 100rpx;
  133. border-radius: 24rpx;
  134. overflow: hidden;
  135. margin-right: 24rpx;
  136. }
  137. .headTits {
  138. font-size: 30rpx;
  139. font-weight: bold;
  140. color: #2a4174;
  141. margin-bottom: 26rpx;
  142. }
  143. .lisz {
  144. display: flex;
  145. align-items: center;
  146. }
  147. .lisz > .bqB {
  148. border-radius: 16rpx;
  149. background-color: #f2f6ff;
  150. padding: 0rpx 22rpx;
  151. text-align: center;
  152. height: 32rpx;
  153. line-height: 32rpx;
  154. margin-right: 8rpx;
  155. font-size: 20rpx;
  156. color: #636a75;
  157. }
  158. .tnsz {
  159. display: flex;
  160. align-items: center;
  161. }
  162. .litns {
  163. padding: 0rpx 15rpx;
  164. margin-right: 24rpx;
  165. border-radius: 16rpx;
  166. height: 48rpx;
  167. line-height: 48rpx;
  168. background-color: #32467b;
  169. color: #fff;
  170. box-shadow: 0rpx 0rpx 5rpx 0rpx rgba(47, 67, 121, 0.05);
  171. font-size: 26rpx;
  172. font-weight: bold;
  173. }
  174. .moreLs {
  175. border-radius: 16rpx;
  176. font-size: 26rpx;
  177. font-weight: bold;
  178. color: #32467b;
  179. border: 1rpx solid #32467b;
  180. padding: 0rpx 11rpx;
  181. height: 48rpx;
  182. letter-spacing: 1rpx;
  183. line-height: 40rpx;
  184. }
  185. </style>