公寓小程序端前端代码
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.
 

311 lines
4.8 KiB

/* subpages/index/recruitment/detail/detail.wxss */
.detail-container {
background-color: #f8f8f8;
min-height: 100vh;
}
/* 头部样式 - 继承自recruitment页面 */
.header {
width: 100%;
position: relative;
}
.navigation {
width: 100%;
display: flex;
align-items: center;
justify-content: center;
color: #333333;
font-size: 30rpx;
position: relative;
z-index: 10;
font-weight: 600;
}
.navigation-back {
position: absolute;
left: 0rpx;
z-index: 1000;
width: 80rpx;
height: 80rpx;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
}
/* 通用flex样式 */
.flex {
display: flex;
}
.flex-sb {
justify-content: space-between;
align-items: center;
}
/* 内容区域 */
.content-body {
padding: 20rpx;
margin-top: 50rpx;
}
/* 职位基本信息卡片 */
.job-basic-info {
border-radius: 12rpx;
padding: 30rpx;
margin-bottom: 20rpx;
box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.1);
}
.job-title {
font-size: 36rpx;
font-weight: bold;
color: #333;
margin-bottom: 20rpx;
}
.job-salary {
font-size: 32rpx;
font-weight: bold;
margin-bottom: 20rpx;
}
.job-meta {
display: flex;
gap: 20rpx;
margin-bottom: 20rpx;
flex-wrap: wrap;
}
.meta-item {
font-size: 26rpx;
color: #666;
background-color: #f5f5f5;
padding: 8rpx 16rpx;
border-radius: 4rpx;
}
.job-time {
font-size: 24rpx;
color: #999;
border-top: 1rpx solid #f0f0f0;
padding-top: 20rpx;
line-height: 1.6;
display: flex;
justify-content: space-between;
align-items: center;
}
/* 职位详情部分 */
.job-detail-section {
background-color: #fff;
border-radius: 12rpx;
padding: 30rpx;
margin-bottom: 50rpx;
box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.1);
}
.section-title {
font-size: 32rpx;
font-weight: bold;
color: #333;
margin-bottom: 20rpx;
padding-bottom: 10rpx;
}
.detail-content {
line-height: 1.6;
}
.detail-item {
margin-bottom: 30rpx;
}
.item-title {
font-size: 28rpx;
font-weight: 600;
color: #333;
display: block;
margin-bottom: 10rpx;
}
.item-content {
font-size: 26rpx;
color: #666;
line-height: 1.8;
}
.item-content text {
display: block;
margin-bottom: 8rpx;
}
/* 底部操作按钮 */
.action-buttons {
position: fixed;
bottom: 0;
left: 0;
right: 0;
background-color: #fff;
padding: 20rpx 30rpx;
box-shadow: 0 -2rpx 8rpx rgba(0, 0, 0, 0.1);
z-index: 100;
}
/* 公司详情部分 */
.company-detail-section {
background-color: #fff;
border-radius: 12rpx;
padding: 30rpx;
margin-bottom: 20rpx;
box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.1);
}
.company-info-card {
border-radius: 8rpx;
}
.company-header {
display: flex;
flex-direction: column;
margin-bottom: 20rpx;
}
.company-logo {
width: 120rpx;
height: 120rpx;
margin-right: 20rpx;
border-radius: 8rpx;
overflow: hidden;
background-color: #f5f5f5;
display: flex;
align-items: center;
justify-content: center;
}
.logo-image {
width: 100%;
height: 100%;
border-radius: 8rpx;
}
.company-basic {
flex: 1;
}
.company-name {
font-size: 32rpx;
font-weight: bold;
color: #333;
margin-bottom: 10rpx;
}
.company-tags {
display: flex;
gap: 12rpx;
margin-bottom: 15rpx;
}
.tag {
font-size: 24rpx;
color: #666;
background-color: #f5f5f5;
padding: 4rpx 12rpx;
border-radius: 4rpx;
}
.company-contact {
display: flex;
/* flex-direction: column; */
gap: 8rpx;
}
.contact-item {
font-size: 24rpx;
color: #666;
line-height: 1.4;
}
.company-description {
font-size: 26rpx;
color: #666;
line-height: 1.8;
text-align: justify;
}
/* 其他职位部分 */
.other-jobs-section {
background-color: #fff;
border-radius: 12rpx;
padding: 30rpx;
margin-bottom: 20rpx;
box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.1);
}
.other-jobs-section .job-item {
border: 1rpx solid #f0f0f0;
border-radius: 8rpx;
padding: 20rpx;
margin-bottom: 15rpx;
background-color: #fafafa;
}
.other-jobs-section .job-item:last-child {
margin-bottom: 0;
}
.job-title-small {
font-size: 28rpx;
font-weight: 600;
color: #333;
}
.job-salary-small {
font-size: 26rpx;
font-weight: bold;
}
.job-meta-small {
display: flex;
gap: 15rpx;
margin-top: 10rpx;
}
.meta-small {
font-size: 22rpx;
color: #999;
background-color: #f0f0f0;
padding: 4rpx 8rpx;
border-radius: 4rpx;
}
/* 分页导航 */
.pagination {
display: flex;
align-items: center;
justify-content: center;
gap: 30rpx;
padding: 20rpx;
background-color: #fff;
border-radius: 12rpx;
margin-bottom: 100rpx;
box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.1);
}
.page-info {
font-size: 26rpx;
color: #666;
min-width: 80rpx;
text-align: center;
}
/* 加载状态 */
.loading-section {
display: flex;
justify-content: center;
align-items: center;
padding: 100rpx 40rpx;
min-height: 50vh;
}