|
|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<view class="talent-search-page">
|
|
|
+ <!-- <image class="top-bg" src="/static/images/index/index-bg1.png" mode="widthFix" /> -->
|
|
|
<view class="topbg-sticky">
|
|
|
- <image class="top-bg" src="/static/images/index/index-bg1.png" mode="widthFix" />
|
|
|
<!-- <view class="top-bg"></view> -->
|
|
|
<!-- 搜索框 -->
|
|
|
<view class="search flex align-center justify-center"
|
|
|
@@ -52,7 +52,8 @@
|
|
|
</view>
|
|
|
|
|
|
<!-- 人才列表 -->
|
|
|
- <view class="talent-list" :style="{ marginTop: talentListMarginTop }">
|
|
|
+ <!-- <view class="talent-list" :style="{ marginTop: talentListMarginTop }"> -->
|
|
|
+ <view class="talent-list">
|
|
|
<view class="talent-card" v-for="(talent, index) in talentList" :key="index"
|
|
|
@click="goToResumeDetail(talent)">
|
|
|
<view class="talent-content">
|
|
|
@@ -202,7 +203,7 @@
|
|
|
talentListMarginTop() {
|
|
|
// 搜索框高度 + 筛选栏高度(紧凑布局)
|
|
|
// 筛选栏实际高度约 46px(按钮18px + 内边距16px + 外边距12px)
|
|
|
- return (4 + this.statusBarHeight) + 'px';
|
|
|
+ return (1+ this.statusBarHeight) + 'px';
|
|
|
//return '-69px';
|
|
|
}
|
|
|
},
|
|
|
@@ -593,7 +594,16 @@
|
|
|
background-color: #f5f5f5;
|
|
|
}
|
|
|
|
|
|
- .topbg-sticky {}
|
|
|
+ .topbg-sticky {
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ justify-content: space-around;
|
|
|
+ background-image: url('/static/images/index/index-bg1.png');
|
|
|
+ background-repeat: no-repeat;
|
|
|
+ background-size: cover;
|
|
|
+ background-position-y: -38rpx;
|
|
|
+ // border: #007AFF 1px solid;
|
|
|
+ }
|
|
|
|
|
|
.top-bg {
|
|
|
|
|
|
@@ -650,9 +660,9 @@
|
|
|
//margin-top: -60rpx;
|
|
|
background-color: #fff;
|
|
|
height: 82rpx;
|
|
|
- position: relative;
|
|
|
- z-index: 22;
|
|
|
- margin: -80rpx auto 0rpx auto;
|
|
|
+ margin: 2px auto;
|
|
|
+
|
|
|
+
|
|
|
border-radius: 8px;
|
|
|
padding: 24rpx;
|
|
|
|
|
|
@@ -740,8 +750,8 @@
|
|
|
|
|
|
// 搜索框
|
|
|
.search {
|
|
|
- position: fixed;
|
|
|
- top: 0;
|
|
|
+ // position: fixed;
|
|
|
+ // top: 0;
|
|
|
width: 100%;
|
|
|
padding: 0rpx 20rpx 20rpx 20rpx;
|
|
|
// padding-top 已改为动态计算,在模板中通过 :style 设置
|
|
|
@@ -960,6 +970,7 @@
|
|
|
padding: 20rpx;
|
|
|
z-index: 100;
|
|
|
position: relative;
|
|
|
+ //border:1px solid red
|
|
|
}
|
|
|
|
|
|
.talent-card {
|