特易招,招聘小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

176 lines
3.6 KiB

10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
  1. <template>
  2. <view class="page">
  3. <view class="banner">
  4. <uv-swiper
  5. :list="bannerList"
  6. indicator
  7. height="620rpx"
  8. indicatorStyle="bottom: 100rpx;"
  9. keyName="imageContent"></uv-swiper>
  10. <view class="top">
  11. <view class="search">
  12. <uv-search
  13. placeholder="请输入搜索文章"
  14. :showAction="false"
  15. search-icon-size="40rpx"
  16. @search="search"
  17. v-model="keyword"></uv-search>
  18. </view>
  19. </view>
  20. </view>
  21. <view class="content">
  22. <view class="grid">
  23. <uv-grid :border="false"
  24. :col="5">
  25. <uv-grid-item
  26. v-for="(item,index) in baseList"
  27. @click="$utils.navigateTo(item.path)"
  28. :key="index">
  29. <image class="grid-icon" :src="item.icon" mode="aspectFill"></image>
  30. <text class="grid-text">{{item.title}}</text>
  31. </uv-grid-item>
  32. </uv-grid>
  33. </view>
  34. </view>
  35. <!-- 筛选器 -->
  36. <!-- 列表 -->
  37. <workList ref="workList"/>
  38. <PrivacyAgreementPoup/>
  39. <tabber select="0"/>
  40. </view>
  41. </template>
  42. <script>
  43. import PrivacyAgreementPoup from '@/components/config/PrivacyAgreementPoup.vue'
  44. import workList from '@/components/list/workList/index.vue'
  45. import tabber from '@/components/base/tabbar.vue'
  46. export default {
  47. components : {
  48. PrivacyAgreementPoup,
  49. workList,
  50. tabber
  51. },
  52. data() {
  53. return {
  54. baseList : [
  55. {
  56. icon : '/static/image/home/1.png',
  57. title : '电工',
  58. path : '/pages_order/service/applyRelic',
  59. },
  60. {
  61. icon : '/static/image/home/1.png',
  62. title : '焊工',
  63. path : '/pages_order/service/applyRelic',
  64. },
  65. {
  66. icon : '/static/image/home/1.png',
  67. title : '叉车',
  68. path : '/pages_order/service/applyRelic',
  69. },
  70. {
  71. icon : '/static/image/home/1.png',
  72. title : '钳工',
  73. path : '/pages_order/service/applyRelic',
  74. },
  75. {
  76. icon : '/static/image/home/1.png',
  77. title : '其他招工',
  78. path : '/pages_order/service/applyRelic',
  79. },
  80. ],
  81. bannerList: [
  82. {
  83. url: 'https://img-s-msn-com.akamaized.net/tenant/amp/entityid/BB1msKSi.img',
  84. },
  85. {
  86. url: 'https://img-s-msn-com.akamaized.net/tenant/amp/entityid/BB1msKSi.img',
  87. },
  88. {
  89. url: 'https://img-s-msn-com.akamaized.net/tenant/amp/entityid/BB1msKSi.img',
  90. },
  91. ],
  92. productList: [],
  93. keyword : '',
  94. }
  95. },
  96. computed : {
  97. },
  98. // onPullDownRefresh(){
  99. // this.$refs.videoList.queryVideoList()
  100. // this.queryBannerList()
  101. // },
  102. // onShow() {
  103. // this.$refs.videoList.queryVideoList()
  104. // this.queryBannerList()
  105. // },
  106. // //滚动到屏幕底部
  107. // onReachBottom() {
  108. // this.$refs.videoList.loadMoreData()
  109. // },
  110. methods: {
  111. }
  112. }
  113. </script>
  114. <style scoped lang="scss">
  115. .page{
  116. .banner{
  117. position: relative;
  118. background-color: $uni-color;
  119. .top{
  120. position: absolute;
  121. top: var(--status-bar-height);
  122. left: 0;
  123. padding-top: 30rpx;
  124. display: flex;
  125. width: 100%;
  126. flex-direction: column;
  127. align-items: center;
  128. .search{
  129. width: 400rpx;
  130. margin-left: -100rpx;
  131. /deep/ .uv-search__content__icon{
  132. padding: 30rpx 0;
  133. }
  134. }
  135. .title{
  136. image{
  137. width: 600rpx;
  138. height: 300rpx;
  139. }
  140. }
  141. }
  142. }
  143. .content{
  144. position: relative;
  145. margin-top: -60rpx;
  146. .grid{
  147. padding-bottom: 30rpx;
  148. background-color: #fff;
  149. // border-radius: 60rpx;
  150. border-top-left-radius: 60rpx;
  151. border-top-right-radius: 60rpx;
  152. // box-shadow: 0 -10rpx 10rpx 10rpx #00000013;
  153. .grid-icon{
  154. width: 80rpx;
  155. height: 80rpx;
  156. margin-bottom: 10rpx;
  157. margin-top: 30rpx;
  158. }
  159. .grid-text{
  160. font-size: 24rpx;
  161. font-weight: 900;
  162. }
  163. }
  164. }
  165. }
  166. </style>