shopcar.css 4.1 KB
/*.choose{
	position: relative;
	width: 1rem;
	height: 1rem;
	border-radius: 50%;
	border: none;
}
.choose:before{
	content: '';
	display: block;
	width: 1rem;
	height: 1rem;
	position: absolute;
	background:url(../img/未选中圆圈.png) left no-repeat;
	background-size: 100% 100%;
	left: 0;
	bottom: 0;
}
.choose:checked:before{
	content: '';
	display: block;
	width: 1rem;
	height: 1rem;
	position: absolute;
	left: 0;
	bottom: 0;
	background: url(../img/xuanzhong.png) left no-repeat;
	background-size: 100% 100%;
	background-color: #FFFFFF;
}*/
.shop_car_item{
	display: flex;
	height: 2.47rem;
	justify-content: flex-start;
	align-items: center;
	padding: 0 0.32rem 0 0.24rem;
	position: relative;
	border-bottom: 1px solid #E4E4E4;
}
.shop_car_item img{
	width: 1.56rem;
	height: 1.56rem;
}

/*按钮*/
.choose,.all_choose{
	position: relative;
	width: 0.36rem;
	height: 0.36rem;
	border-radius: 50%;
	border: none;
	margin-right: 0.24rem;
}
.all_choose:before{
	content: '';
	display: block;
	width: 0.36rem;
	height: 0.36rem;
	position: absolute;
	background:url(../img/未选中圆圈.png) left no-repeat;
	background-size: 100% 100%;
	left: 0;
	bottom: 0;
}
.all_choose:checked:before{
	content: '';
	display: block;
	width: 0.36rem;
	height: 0.36rem;
	position: absolute;
	left: 0;
	bottom: 0;
	background: url(../img/xuanzhong.png) left no-repeat;
	background-size: 100% 100%;
	background-color: #FFFFFF;
}

.choose:before{
	content: '';
	display: block;
	width: 0.36rem;
	height: 0.36rem;
	position: absolute;
	background:url(../img/未选中圆圈.png) left no-repeat;
	background-size: 100% 100%;
	left: 0;
	bottom: 0;
}
.choose:checked:before{
	content: '';
	display: block;
	width: 0.36rem;
	height: 0.36rem;
	position: absolute;
	left: 0;
	bottom: 0;
	background: url(../img/xuanzhong.png) left no-repeat;
	background-size: 100% 100%;
	background-color: #FFFFFF;
}

/*右侧文字*/
.shop_car_item_text{
	display: flex;
	flex-direction: column;
	width: 4.5rem;
	margin-left: 0.34rem;
}
.shop_car_item_name{
	font-size: 0.3rem;
	color: #222222;
	margin-top: 0.08rem;
}
.shop_car_item_other_name{
	font-size: 0.26rem;
	color: #999999;
	margin-top: 0.06rem;
	margin-bottom: 0.25rem;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.shop_car_item_text_num{
	display: flex;
	align-items: baseline;
}
.shop_car_item_text_num_icon{
	font-size: 0.22rem;
	line-height: 0.55rem;
	margin-right: 0.05rem;
}
.shop_car_item_text_money{
	font-size: 0.34rem;
}

/*删除*/
.shop_car_item_delete{
	font-size: 0.26rem;
	color: #999999;
	white-space: nowrap;
	position: absolute;
	right: 0.32rem;
	top: 0.2rem;
}
/*加减*/
.shop_car_item_btn{
	position: absolute;
	display: flex;
	top: 1.59rem;
	font-size: 0.3rem;
	left: 5.88rem;
	flex-wrap: nowrap;
	line-height: 0.4rem;
	width: 2rem;
}
.shop_car_item_btn .iconfont{
	font-size: 0.4rem;
	line-height: 0.4rem;
	color: #999999;
}
.shop_car_item_btn p{
	margin-left: 0.22rem;
	margin-right: 0.22rem;
}
.shop_car_num{
	width: 0.58rem;
	text-align: center;
	border: none;
	outline: none;
	font-size: 0.3rem;
	color: #222222;
}
/*结算*/
.count{
	position: fixed;
	bottom: 1rem;
	left: 0;
	width: 7.5rem;
	left: 50%;
	margin-left: -3.75rem;
	border-top: 1px solid #CCCCCC;
	height: 1rem;
	display: flex;
	align-items: center;
	padding-left: 0.32rem;
}
.count_all{
	font-size: 0.28rem;
	color: #333333;
	margin-right: 0.49rem;
}
.count_all_text{
	font-size: 0.28rem;
	color: #333333;
}
.count_all_num{
	font-size: 0.32rem;
	color: #C90103;
}
.count_btn{
	position: absolute;
	right: 0;
	bottom: 0;
	font-size: 0.3rem;
	display: block;
	line-height: 1rem;
	height: 1rem;
	width: 1.89rem;
	text-align: center;
	background-color: #FFCC00;
}


/*footer*/
.footer{
	position: fixed;
	bottom: 0;
	left: 0;
	width: 7.5rem;
	left: 50%;
	margin-left: -3.75rem;
	border-top: 1px solid #CCCCCC;
	background-color: #FFFFFF;
	font-size: 0.22rem;
	height: 1rem;
	display: flex;
	justify-content: space-around;
}
.footer_item {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	position:relative;
}
.footer_item span{
	color: #999999;
}
.footer_item img{
	width: 0.7rem;
	height: 0.7rem;
}
.footer_active span{
	color: #FEAD00;
}