home.scss 4.86 KB
.page{
	// position: absolute;
	// left: 0;
	// top: 0;
	width: 100%;
	height: 100%;
	// overflow-x: hidden;
	// overflow-y: auto;
	position: absolute;
}
.top-img {
	width: 100%;
	height: 335rpx;
}
.head{
		position: fixed;
		left: 0;
		top: var(--status-bar-height);
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		height: calc(110px + var(--status-bar-height));
		// padding-top: calc(40rpx + var(--status-bar-height));
		z-index: 99999;
		/* #ifdef MP */
		/* #endif */
		background-color: rgba(255,255,255,0);
		.logo-title{
			width: 64%;
			color: #fff;
			padding-left: 25rpx;
			image {
				width: 100%;
			}
		}
		.title{
			image {
				width: 210rpx;
				height: 33rpx;
			}
		}
		.setting-mess{
			width: 20%;
			display: flex;
			align-items: center;
			height: 100%;
			margin-right: 20rpx;
			.setting{
				display: flex;
				justify-content: center;
				align-items: center;
				width: 80rpx;
				height: 100%;
				text{
					font-size: 38rpx;
				}
			}
			.mess{
				display: flex;
				justify-content: center;
				align-items: center;
				width: 80rpx;
				height: 100%;
				text{
					font-size: 38rpx;
				}
			}
		}
	}
.main{
	position: relative;
	top: 100px;
	/* #ifdef MP */
	top: 180rpx;
	/* #endif */
	padding-bottom: 140rpx;
	margin: 0 25rpx;
}
.notice-content {
	display: flex;
	align-items: center;
	padding: 20rpx;
	border: 2rpx solid #F0F0F0;
	border-radius: 20rpx;
	.notice-left {
			image {
				width: 80rpx;
				height: 80rpx;
		}
	}
	.notice-line {
		width: 2rpx;
		background-color: #e1e1e1;
		height: 50rpx;
		margin: 0 20rpx;
	}
	.notice-right {
	.notice-right-content {
		display: flex;
		align-items: center;
		margin-bottom: 10rpx;
		.notice-icon {
			border: 2rpx solid #0FBB59;
			color: #0FBB59;
			background-color: #EEFFF5;
			border-radius: 10rpx;
			font-size: 20rpx;
			margin-right: 20rpx;
			padding: 2rpx 6rpx;
			display: inline-block;
		}
		.notice-text {
			overflow: hidden;
			text-overflow: ellipsis;
			white-space: nowrap;
			width: 420rpx;
		}
	}
	}
}
.realtime {
	background-color: #fff;
	border-radius: 20rpx;
	padding: 30rpx;
	margin: 25rpx 0;
	color: #6D7383;
	box-shadow:0 150rpx 20rpx #f1f2f4;
	position: relative;
	.realtime-img {
		position: absolute;
		right: -20rpx;
		z-index: 1;
		top: -10px;
		image {
			width: 280rpx;
			height: 280rpx;
		}
	}
	.realtime-title {
		font-family: 'MyFont', sans-serif;
		color: #000;
		font-size: 30rpx;
	}
	.blue {
		color: #477EFF;
	}
	.realtime-text {
		margin-top: 20rpx;
	}
	.realtime-btn {
		position: relative;
		margin-top: 30rpx;
		height:86rpx;
		.realtime-btn-img {
			position: absolute;
			z-index: 0;
			width: 100%;
		}
		.realtime-btn-text {
			position: absolute;
			z-index: 1;
			text-align: center;
			color: #fff;
			font-size: 32rpx;
			width: 100%;
			line-height: 86rpx;
		}
	}
}
.contractdetail {
	display: flex;
	flex-wrap: wrap;
	text-align: center;
	justify-content: space-between;
	margin: 30rpx 0 24rpx 0;
	.contractdetail-list {
		width: 48%;
	}
	.contractdetail-img {
		position: relative;
		margin-bottom: 26rpx;
		.f1{
			position: absolute;
			top: 22rpx;
			left: 22rpx;
			z-index: 999;
			font-size: 30rpx;
			font-weight: 600;
		}
		.f2{
			position: absolute;
			top: 70rpx;
			left: 22rpx;
			z-index: 999;
			font-size: 22rpx;
			color: #9FABB5;
		}
		image {
			width: 100%;
			height: 238rpx;
			border-radius: 20rpx;
			box-shadow:0 0 15rpx 10rpx #f5f6f7;
		}
	}
}
.article-data{
	width: 100%;
	margin-top: 50rpx;
	.article-title-row {
		display: flex;
		justify-content: space-between;
		align-items: center;
		margin-bottom: 10rpx;
	}
	.article-title {
		font-family: 'MyFont';
		font-size: 28rpx;
	}
	.article-more {
		font-size: 26rpx;
		color: #3B9CFF;
		padding: 8rpx 16rpx;
	}
	.article-list{
		.list{
			display: flex;
			align-items: center;
			width: 100%;
			min-height: 180rpx;
			margin-top: 40rpx;
			border-bottom: 2rpx solid #eaeaea;
			padding-bottom: 40rpx;
			background: #fff;
			border-radius: 10rpx;
			padding: 20rpx;
			margin-bottom: 20rpx;
			.item{
				display: flex;
				flex-direction: column;
				justify-content: space-between;
				flex: 1;
				min-width: 0;
				.title{
					display: flex;
					text{
						font-size: 26rpx;
					}
				}
				.two-omit{
					overflow: hidden;
					text-overflow: ellipsis;
					display: -webkit-box;
					-webkit-box-orient: vertical;
					-webkit-line-clamp: 2;
				}
				.summary{
					margin-top: 8rpx;
					text{
						font-size: 24rpx;
						color: #666;
					}
				}
				.summary .two-omit{
					-webkit-line-clamp: 2;
				}
				.find-collect{
					margin-top: 10rpx;
					display: flex;
					align-items: center;
					.find{
						display: flex;
						align-items: center;
						text{
							color: #9FABB5;
							font-size: 24rpx;
						}
					}
				}
			}
			.thumb{
				flex-shrink: 0;
				margin-right: 20rpx;
				image{
					width: 180rpx;
					height: 120rpx;
					border-radius: 10rpx;
				}
			}
		}
	}
}