myorder.css 4.6 KB
.container {
	position: relative;
	font-family: PingFangSC-Regular;
}
/*遮罩*/
.wrap{
	width: 7.5rem;
	height: 100%;
	background-color: rgba(0,0,0,0.5);
	position: fixed; 
	z-index: 2;
	display: none;
}
/*弹层*/
.popup{
	width: 5.88rem;
	height: 3.79rem;
	left: 0.81rem;
	display: flex;
	flex-direction: column;
	background-color: #FFFFFF;
	z-index: 3;
	top: 3.58rem;
	border-radius: 0.15rem;
	align-items: center;
	top: 3.58rem;
	position: absolute;
}
.text{
	font-size: 0.3rem;
	margin-top: 1.13rem;
}
.popup .btn{
	font-size: 0.36rem;
	color: #333333;
	width: 2.3rem;
	height: 0.8rem;
	background-color: #FFCC00;
	text-align: center;
	line-height: 0.8rem;
	border-radius: 0.4rem;
	margin-top: 0.66rem;
}
/*导航*/
.nav {
	margin-bottom: 0.65rem;
}

.nav ul {
	display: flex;
	font-size: 0.3rem;
	margin-top: 0.44rem;
	justify-content: center;
}

.nav ul li {
	display: block;
	width: 17%;
	text-align: center;
	color: #666666;
}

.nav .active {
	color: #333333;
	position: relative;
}

.nav .active:before {
	content: '';
	display: block;
	width: 0.48rem;
	height: 0.1rem;
	background-color: #FFCC00;
	position: absolute;
	left: 50%;
	margin-left: -0.24rem;
	bottom: 0;
	top: 0.44rem;
	border-radius: 0.05rem;
}


/*nav_item*/

.nav_item {
	border-top: 1px solid #E4E4E4;
	width: 100%;
	padding: 0.38rem 0.38rem 0.43rem 0.41rem;
}

.nav_item_pay {
	display: flex;
	font-size: 0.26rem;
	justify-content: space-between;
}
.nav_item_pay_left{
	display: flex;
	align-items: baseline;
}
.nav_item_pay_btn,.nav_item_pay_btn_eat{
	display: inline-block;
	width: 0.66rem;
	height: 0.36rem;
	text-align: center;
	margin-left: 0.3rem;
	line-height: 0.36rem;
	font-size: 0.24rem;
	border-radius: 0.03rem;
}
.nav_item_pay_btn{
	border: 1px solid #FCB200;
	color: #FCB200;
}
.nav_item_pay_btn_eat{
	border: 1px solid #67C33E;
	color: #67C33E;
}
.pay {
	color: #C90103;
	white-space: nowrap;
}

.num {
	color: #666666;
	margin-left: 0.3rem;
}

.date {
	color: #999999;
}


/*产品*/

.nav_item_product {
	display: flex;
	margin-top: 0.4rem;
}

.nav_item_product_pic {
	width: 0.96rem;
	height: 0.96rem;
	overflow: hidden;
}

.nav_item_product img {
	width: 100%;
	height: 100%;
}

.nav_item_product_box {
	width: 8.75rem;
}

.nav_item_product_item,
.nav_item_product_item_sub {
	display: flex;
	justify-content: space-between;
	margin-left: 0.23rem;
	align-items: baseline;
}

.nav_item_product_item {
	margin-top: 0.05rem;
    margin-left: 0.5rem;
    /*width:4rem;*/
}

.nav_item_product_item_sub {
	margin-top: 0.1rem;
    margin-left: 0.5rem;
}

.nav_item_product_item p {
	font-size: 0.3rem;
	/*white-space: nowrap;*/
	color: #222222;
}

.nav_item_product_item span {
	font-size: 0.3rem;
	color: #222222;
}

.nav_item_product_item_sub p {
	font-size: 0.26rem;
	/*white-space: nowrap;*/
	color: #666666;
    width:4.2rem;
}

.nav_item_product_item_sub span {
	font-size: 0.24rem;
	color: #666666;
}

.nav_item_product_item_money {
	display: flex;
	align-items: baseline;
	margin-top: 0.37rem;
	justify-content: flex-end;
}

.nav_item_product_item_money span:nth-child(1) {
	font-size: 0.26rem;
	color: #C90103;
	margin-right: 0.64rem;
}

.nav_item_product_item_money span:nth-child(2) {
	font-size: 0.26rem;
	color: #333333;
	display: block;
	width: 1.48rem;
	height: 0.56rem;
	background-color: #EEEEEE;
	text-align: center;
	line-height: 0.56rem;
	border-radius: 0.28rem;
	margin-right: 0.25rem;
}

.nav_item_product_item_money span:nth-child(3) {
	font-size: 0.26rem;
	display: block;
	width: 1.48rem;
	height: 0.56rem;
	background-color: #C90103;
	text-align: center;
	line-height: 0.56rem;
	border-radius: 0.28rem;
	color: #FFFFFF;
}


/*制作中*/

.make {
	color: #FEAD00;
	white-space: nowrap;
}

.all_money {
	font-size: 0.26rem;
	color: #333333;
	display: flex;
	justify-content: flex-end;
	margin-top: 0.68rem;
}


/*待取货*/

.take {
	color: #67C33E;
	white-space: nowrap;
	
}

.nav_item_product_take_btn {
	display: flex;
	justify-content: flex-end;
	align-items: baseline;
	margin-top: 0.64rem;
	/*margin-left: 5rem;*/
	width:6.8rem;
}

.nav_item_product_take_btn span:nth-child(1) {
	font-size: 0.26rem;
	color: #333333;
	margin-right: 0.3rem;
}

.go_take,
.go_evaluate,
.again {
	font-size: 0.26rem;
	display: block;
	text-align: center;
	line-height: 0.56rem;
	border-radius: 0.28rem;
	height: 0.56rem;
}
.go_evaluate{
	width: 1.33rem;
	height: 0.56rem;
	background-color: #EEEEEE;
	color: #333333;
}
.go_take {
	width: 1.83rem;
	background-color: #67C33E;
	color: #FFFFFF;
}
.again {
	width: 1.57rem;
	color: #333333;
	background-color: #FFCC00;
}
.evaluate {
	color: #333333;
	white-space: nowrap;
}
/*.food_item>.food_item {
margin-top: 10px;	
}*/