my.scss 4.23 KB
.page{
	position: relative;
	height: 100%;
}
.logo {
	text-align: center;
	margin: 100rpx 30rpx 40rpx 30rpx;
	image {
		width: 100%;
	}
}
.my-top{
	width: 100%;
	/* 用户信息 */
	.user-info{
		display: flex;
		align-items: center;
		height: 120rpx;
		.portrait{
			width: 120rpx;
			height: 120rpx;
			margin-right: 20rpx;
			box-sizing: border-box;
			image{
				width: 120rpx;
				height: 120rpx;
				border-radius: 20%;
				border: 4rpx solid #FFFFFF;
				box-sizing: border-box;
			}
		}
		.info{
			display: flex;
			flex-direction: column;
			justify-content: center;
			width: 74%;
			height: 100%;
			color: #000;
			.nickname{
				width: 100%;
				margin-bottom: 20rpx;
				text{
					font-size: 36rpx;
				}
			}
			.rank{
				display: flex;
				align-items: center;
				height: 30rpx;
				border-radius: 30rpx;
				image{
					width: 44rpx;
					height: 44rpx;
					margin-right: 10rpx;
				}
				text{
					font-size: 24rpx;
				}
			}
		}
	}
	.user-right {
		display: flex;
		image {
			width: 26rpx;
			height: 26rpx;
		}
	}
}
.main {
	position: absolute;
	z-index: 1;
	padding-bottom: 120rpx;
	width: 100%;
}
.mian-box {
	background: rgba(255, 255, 255, 0.8);
	border-radius: 20rpx 20rpx 0 0;
	padding: 30rpx;
}
.titleall-box {
	display: flex;
	justify-content: space-between;
	padding: 20rpx 0;
	.titleall-left {
		font-size: 32rpx;
		font-weight: bold;
		display: flex;
		align-items: center;
		.titleall-left-line {
			width: 16rpx;
			height: 36rpx;
			border-radius: 100rpx;
			background: -webkit-gradient(linear, left top, right top, from(#E60012), to(#E60012));
			background: -o-linear-gradient(left, #E60012, #E60012);
			background: linear-gradient(to right, #E60012, #E60012);
			margin-right: 20rpx;
		}
	}
	.titleall-right {
		color: #C1C1C1;
		image {
			width: 20rpx;
			height: 20rpx;
			margin-left: 10rpx;
		}
	}
}
.message-list{
	position: relative;
	z-index: 1000;
	.list{
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		height: 100rpx;
		border-bottom: 2rpx solid #f6f6f6;
		.icon-data{
			display: flex;
			align-items: center;
			width: 80%;
			height: 100%;
			.icon{
				display: flex;
				align-items: center;
				justify-content: center;
				width: 40rpx;
				height: 40rpx;
				image{
					width: 40rpx;
					height: 40rpx;
				}
			}
			.data{
				margin-left: 20rpx;
				.title{
					display: flex;
					width: 100%;
					text{
						font-size: 30rpx;
						color: #000;
					}
				}
			}
		}
		.more{
			display: flex;
			align-items: center;
			text{
				font-size: 26rpx;
				color: #000;
			}
		}
	}
}
/* 我的服务 */
.my-service{
	width: 100%;
	.toptitle {
		display: flex;
		justify-content: space-between;
		margin-bottom: 20rpx;
		.title{
				display: flex;
				align-items: center;
				margin-bottom: 20rpx;
				.line {
					width: 15rpx;
					height: 34rpx;
					background: linear-gradient(to bottom, #74CE6A, #3CB545);
					border-radius: 100rpx;
					margin-right: 10rpx;
				}
				.line-blue {
					background: linear-gradient(to bottom, #6BB7F6, #4699E7);
				}
				text{
					font-size: 32rpx;
					font-weight: bold;
					color: #212121;
				}
			}
		.title-more {
			color: #C1C1C1;
			font-size: 28rpx;
			image {
				width: 24rpx;
				height: 24rpx;
			}
		}
	}
	.service-list{
		display: flex;
		flex-wrap: wrap;
		text-align: center;
		margin-top: 20rpx;
		margin-bottom: 20rpx;
		.list{
			display: flex;
			flex-direction: column;
			align-items: center;
			justify-content: center;
			width: 24%;
			.thumb{
				font-size: 46rpx;
				font-weight: bold;
			}
			.name{
				display: flex;
				align-items: center;
				justify-content: center;
				text{
					color: #000;
					font-size: 30rpx;
					font-weight: bold;
				}
			}
		}
		.line {
			width: 4rpx;
			height: 30rpx;
			background-color:#E8E8E8;
			display: inline-block;
			margin-top: 40rpx;
		}
	}
}
.my-middle {
	background-color: #fff;
	border-radius: 10rpx;
	display: flex;
	justify-content: space-between;
	align-items: center;
	box-shadow: 0 0 10rpx 6rpx #f4f4f4;
	margin: 40rpx 0;
	padding: 20rpx;
	.my-middle-left {
		image {
			width: 40rpx;
			height: 40rpx;
			position: relative;
			top: 10rpx;
			margin-right: 10rpx;
		}
	}
	.my-middle-right {
		image {
			width: 24rpx;
			height: 24rpx;
			position: relative;
			top: 6rpx;
		}
	}
}