Files
AGuestSaas/pages/home/projectDetail/projectDetail.wxss
2020-12-28 14:00:13 +08:00

482 lines
8.1 KiB
Plaintext

.project_content {
background-color: #fff;
box-sizing: border-box;
padding-bottom: 10rpx;
}
.project_cover {
width: 100%;
height: 400rpx;
position: relative;
overflow: hidden;
padding-bottom: 0;
}
.project_video {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 0;
}
.project_cover_bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 0;
}
.project_type_icon {
position: absolute;
top: 0;
left: 0;
background-color: #ffcc00;
color: #4a1900;
padding: 4rpx 20rpx;
border-radius: 10rpx 0 20rpx 0;
font-size: 24rpx;
z-index: 1;
}
.project_title {
margin-top: 30rpx;
padding: 0 30rpx;
color: #333;
font-weight: 600;
font-size: 32rpx;
/* overflow: hidden; */
/* text-overflow: ellipsis; */
/* display: -webkit-box; */
/* -webkit-box-orient: vertical; */
/* -webkit-line-clamp: 1; */
}
.project_des {
margin-top: 20rpx;
padding: 0 30rpx;
color: #333;
font-size: 26rpx;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
.project_time {
margin-top: 20rpx;
padding: 0 10rpx;
color: #666;
font-size: 26rpx;
/* overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2; */
}
.project_time image {
width: 30rpx;
position: relative;
bottom: -6rpx;
right: 0;
margin-left: 30rpx;
margin-right: 4rpx;
}
.project_line {
margin: 0 20rpx;
border-bottom: solid 1rpx #f7f7f7;
}
.project_type {
font-size: 24rpx;
color: #333;
padding: 0 30rpx;
font-weight: normal;
}
.project_type span {
display: inline-block;
padding: 4rpx 26rpx;
border-radius: 30rpx;
background-color: #f7f7f7;
margin-right: 10rpx;
margin-top: 20rpx;
}
.project_bottom {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
box-sizing: border-box;
font-size: 36rpx;
font-weight: 600;
color: #333;
padding: 20rpx;
}
.project_bottom span {
color: #999;
font-size: 24rpx;
font-weight: normal;
}
.project_bottom .color333 {
color: #666;
}
.project_bottom_num {
font-size: 34rpx;
font-weight: 600;
color: #333;
}
.project_warn {
display: flex;
flex-direction: row;
justify-content: start;
align-items: center;
box-sizing: border-box;
font-size: 22rpx;
color: #999;
padding: 20rpx;
}
.project_warn icon {
margin-right: 10rpx;
}
/* 项目分类 */
.project_classification {
width: 100%;
height: 90rpx;
line-height: 90rpx;
background-color: #fff;
margin-top: 2rpx;
display: flex;
flex-direction: row;
justify-content: space-around;
align-items: center;
border-bottom: solid 1rpx #f7f7f7;
box-sizing: border-box;
}
.project_classification .item {
font-weight: 600;
font-size: 28rpx;
color: #333;
height: 80rpx;
padding: 0 10rpx;
border-bottom: solid 4rpx #fff;
}
.project_classification .select_item {
border-bottom: solid 4rpx #378fff;
color: #378fff;
}
.project_detail_html {
padding: 20rpx;
background-color: #fff;
padding-top: 30rpx;
}
.project_nav {
color: #333;
font-weight: 600;
font-size: 32rpx;
padding-bottom: 12rpx;
}
/* 立即报名 */
.project_now_act {
margin-top: 20rpx;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
box-sizing: border-box;
font-size: 40rpx;
font-weight: 600;
color: #333;
background-color: #fff;
padding: 20rpx 30rpx;
position: fixed;
bottom: 0;
width: 100%;
height: 120rpx;
}
swiper {
width: 100%;
height: 100%;
}
.project_now_act span,
.project_now_act button {
margin-left: 60rpx;
flex: 1;
display: inline-block;
background-color: #378fff;
color: #fff;
font-size: 30rpx !important;
border-radius: 10rpx !important;
padding: 20rpx 100rpx;
text-align: center;
font-weight: 600;
}
.project_now_act button {
padding: 10rpx 0 !important;
}
.project_now_act .nolike {
background-color: #cacaca;
color: #fff;
}
.project_now_act .left .collect {
width: 50rpx;
}
.project_now_act .left {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
box-sizing: border-box;
font-size: 24rpx;
color: #999;
font-weight: normal;
}
.acted span {
background-color: #999;
}
.project_be_sure {
width: 100%;
height: 100%;
position: fixed;
top: 0;
left: 0;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
box-sizing: border-box;
z-index: 1;
}
.project_be_sure .bg {
background-color: rgba(0, 0, 0, 0.6);
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 2;
}
.project_be_sure .content {
width: 600rpx;
background-color: #fff;
position: relative;
z-index: 3;
border-radius: 20rpx;
text-align: center;
padding-bottom: 30rpx;
}
.project_be_sure .content .project_cover {
width: 100%;
height: 360rpx;
border-radius: 20rpx 20rpx 0 0;
}
.project_be_sure .content .txt1 {
font-size: 36rpx;
font-weight: 600;
color: #333;
padding-top: 40rpx;
}
.project_be_sure .content .txt2 {
padding-top: 20rpx;
font-size: 24rpx;
color: #999;
}
.project_be_sure .content .txt3 {
font-size: 32rpx;
color: #fff;
background-color: #378fff;
font-weight: 600;
width: 70%;
margin-left: 15%;
box-sizing: border-box;
padding: 20rpx 30rpx;
border-radius: 50rpx;
margin-top: 30rpx;
}
.project_be_sure .content .txt4 {
font-size: 26rpx;
color: #999;
padding: 20rpx 30rpx;
}
/* 项目概况 */
.project_overview>view {
padding: 40rpx 0;
color: #666;
font-size: 28rpx;
border-bottom: solid 1rpx #f7f7f7;
display: flex;
flex-direction: row;
justify-content: start;
align-items: center;
box-sizing: border-box;
}
.project_overview>view>.time {
margin-left: 30rpx;
color: #666;
font-size: 24rpx;
display: flex;
flex-direction: row;
align-items: center;
justify-content: start;
box-sizing: border-box;
}
.project_overview>view>.time .num {
font-size: 36rpx;
color: #333;
font-weight: 600;
}
.project_overview>view>.time>view {
display: flex;
flex-direction: column;
justify-content: start;
align-items: flex-start;
box-sizing: border-box;
margin-right: 40rpx;
}
.project_overview .right {
color: #333;
font-weight: 600;
margin-left: 30rpx;
width: calc(100% - 180rpx);
}
/* 项目回报列表 */
.project_list {
width: 100%;
background-color: #ffffff;
border-radius: 10rpx;
box-shadow: 0 0 20rpx rgba(0, 0, 0, 0.2);
padding: 30rpx 20rpx 20rpx 20rpx;
margin-top: 30rpx;
box-sizing: border-box;
}
.project_list .title {
font-size: 34rpx;
font-weight: bold;
color: #333;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
box-sizing: border-box;
}
.project_list .fast {
font-size: 26rpx;
color: #999;
border: solid 1rpx #999;
display: inline-block;
padding: 2rpx 12rpx;
border-radius: 6rpx;
margin-top: 13rpx;
}
.project_list .des {
font-size: 28rpx;
color: #333;
padding-top: 20rpx;
}
.project_list .imglist {
display: flex;
flex-direction: row;
justify-content: start;
align-items: center;
box-sizing: border-box;
padding: 20rpx 0 30rpx 0;
flex-wrap: wrap;
border-bottom: solid 2rpx #f7f7f7;
}
.project_list .imglist image {
width: 180rpx;
height: 180rpx;
margin-top: 10rpx;
margin-right: 10rpx;
}
.project_list .seeAll {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
box-sizing: border-box;
padding-top: 20rpx;
font-size: 26rpx;
color: #999;
}
.project_list .seeAll span {
background-color: #378fff;
color: #fff;
padding: 8rpx 20rpx;
font-size: 24rpx;
border-radius: 6rpx;
}
/* 项目已结束 */
.end {
text-align: center;
font-size: 24rpx;
color: #000;
font-weight: normal;
background-color: #cacaca;
padding: 10rpx 30rpx;
}
/* 倒计时 */
.project_diffDays {
padding: 16rpx 40rpx;
border-radius: 50rpx;
background-color: #378fff;
color: #fff;
margin: 30rpx 20rpx;
font-size: 26rpx;
text-align: center;
width: 50%;
}