myorder.scss 3.16 KB
.listBox{
	position: relative;
	z-index: 1;
}
.content {
	width: 100%;
}
/* 订单tab */
.order-tab{
	position: fixed;
	left: 0;
	top: 88rpx;
	/* #ifdef MP-WEIXIN */
	top: calc(100rpx + var(--status-bar-height));
	/* #endif */
	z-index: 10;
	display: flex;
	align-items: center;
	width: 100%;
	height: 100rpx;
	background-color: #FFFFFF;
	.tab{
		position: relative;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 25%;
		height: 80%;
		text{
			font-size: 26rpx;
			color: #7C7C7C;
		}
	}
	.action{
		text{
			color: #222222;
		}
		.line{
			position: absolute;
			left: 50%;
			bottom: -10rpx;
			width: 40rpx;
			height: 9rpx;
			background-color: #667FFF;
			transform: translate(-50%,0);
			border-radius: 10rpx 10rpx 0 0;
		}
	}
}

/* 订单列表 */
.order-list{
	width: 100%;
	margin-top: 120rpx;
	/* #ifdef MP-WEIXIN */
	margin-top: calc(50rpx + var(--status-bar-height));
	/* #endif */
	padding-bottom: 10rpx;
	.list{
		padding: 0 4%;
		min-height: 400rpx;
		background-color: #FFFFFF;
		border-radius: 20rpx;
		margin: 25rpx;
		.title-status{
			display: flex;
			align-items: center;
			justify-content: space-between;
			width: 100%;
			height: 100rpx;
			.title{
				display: flex;
				align-items: center;
				text{
					font-size: 26rpx;
					color: #A7A7A7;
				}
				image {
					width: 18rpx;
					height: 18rpx;
					margin-left: 10rpx;
				}
			}
			.status{
				display: flex;
				align-items: center;
				text{
					font-size: 26rpx;
					color: #EE8952;
				}
			}
		}
		.goods-list{
			width: 100%;
			border-top: 2rpx dashed #F1F1F1;
			border-bottom: 2rpx dashed #F1F1F1;
			.goods{
				display: flex;
				align-items: center;
				width: 100%;
				height: 200rpx;
				.thumb{
					display: flex;
					align-items: center;
					width: 26%;
					height: 100%;
					image{
						width: 135rpx;
						height: 135rpx;
						border-radius: 10rpx;
					}
				}
				.item{
					display: flex;
					align-items: center;
					width: 74%;
					.goods-name{
						width: 85%;
						font-size: 26rpx;
						color: #A7A7A7;
						.goods-name-title {
							font-size: 30rpx;
							color: #3d3d3d;
							font-weight: bold;
							margin-bottom: 60rpx;
						}
					}
					.goods-price{
						width: 15%;
						font-size: 28rpx;
						color: #B9B9B9;
						text-align: right;
						.min{
							margin-bottom: 66rpx;
						}
					}
				}
			}
		}
		.status-btn{
			display: flex;
			align-items: center;
			justify-content: space-between;
			width: 100%;
			height: 100rpx;
			font-size: 28rpx;
			font-weight: bold;
			.red {
				color: #FA5D52;
			}
			.big {
				font-size: 36rpx;
			}
			.btn{
				width: 200rpx;
				height: 58rpx;
				position: relative;
				text{
					font-size: 28rpx;
					color: #fff;
					position: absolute;
					width: 200rpx;
					line-height: 58rpx;
					text-align: center;
					z-index: 1;
				}
				image {
					width: 200rpx;
					height: 58rpx;
					position: absolute;
					z-index: 0;
					box-shadow: 5rpx 10rpx 20rpx 0 #b7c8ff;
					border-radius: 100rpx;
				}
			}
		}
	}
}