Files
ClassContent/历届学生/逯帅帅/项目开发/学生项目/应越波/day4/饿了么/css/index.less
2024-09-27 02:06:13 +08:00

224 lines
4.6 KiB
Plaintext

body{
height: 100rem;
}
// 头部开始
.header{
box-sizing: border-box;
position: fixed;
top: 0;
left: 0;
right: 0;
height: 6rem;
background-color: rgb(7, 145, 199);
padding: .6rem 1.1rem 1.1rem;
.header_top{
display: flex;
align-items: center;
.icon-dingwei:before {
content: "\e604";
color: #fff;
font-size: 1.1rem;
}
.hearer_top_2{
color: #fff;
font-size: 1.2rem;
font-weight: 900;
}
.icon-choose:before {
content: "\e606";
color: #fff;
font-size: 0.5rem;
}
}
.header_bottom{
margin-top: 1rem;
height: 2.2rem;
background-color: #fff;
display: flex;
align-items: center;
justify-content: center;
i{
color: #ccc;
}
span{
color: #ccc;
font-size: .9rem;
padding-left: .2rem;
}
}
}
// 头部结束
// 中间内容开始
// 中间内容上方区域开始
.cont_top{
margin-top: 6.5rem;
display: flex;
flex-wrap: wrap;
li{
display: flex;
flex-direction: column;
align-items: center;
width: 20%;
}
img{
width: 3.2rem;
height: 3.2rem;
}
}
// 中间内容上方区域结束
// 中间内容品质套餐开始
.pinzhi{
margin: 2rem 1.5rem 0;
display: flex;
justify-content: space-between;
background-color: rgb(252, 247, 247);
.pinzhi_left{
display: flex;
flex-direction: column;
}
.pinzhi_left span:first-child{
font-weight: 800;
}
.pinzhi_left span:nth-child(2){
margin-top: .3rem;
font-weight: 800;
font-size: .8rem;
color: #ccc;
}
.pinzhi_left span:last-child{
margin-top: .5rem;
font-weight: 800;
font-size: .12rem;
color: rgb(112, 173, 54);
}
img{
width: 8rem;
height: 6rem;
}
}
// 中间内容品质套餐结束
// 中间内容超级会员开始
.huangguan{
height: 2.5rem;
background-color: rgb(221, 221, 122);
margin: .5rem 1rem 0 1rem;
display: flex;
align-items: center;
justify-content: space-between;
border-radius: .2rem;
.huangguan_left{
display: flex;
align-items: center;
}
.icon-icon_huangguan:before {
padding-left: .5rem;
content: "\e61b";
color: yellow;
font-size: 1.3rem;
}
.huangguan_left span:nth-child(2){
padding-left: .3rem;
font-size: .9rem;
font-weight: 800;
color: rgb(117, 117, 60);
}
.huangguan_left span:nth-child(3){
font-size: .12rem;
zoom: .8;
color: rgb(117, 117, 60);
}
.huangguan_right span:first-child{
font-size: .12rem;
zoom: .9;
color: rgb(117, 117, 60);
}
.huangguan_right span:last-child{
font-size: .12rem;
margin-left: .1rem;
padding-right: .4rem;
color: rgb(117, 117, 60);
}
}
// 中间内容超级会员结束
// 中间内容下方区域开始
.cont_bottom{
margin-top: 1rem;
.cont_tuijian{
display: flex;
justify-content: center;
}
.cont_tuijian::after{
content: '——';
color: rgb(192, 190, 190);
margin-left: .3rem;
}
.cont_tuijian::before{
content: '——';
color: rgb(192, 190, 190);
margin-right: .3rem;
}
}
.zonghe{
margin: 1rem 1rem 0;
display: flex;
justify-content: space-between;
li {
display: flex;
justify-content: center;
span{
font-size: .9rem;
color: rgb(136, 135, 135);
}
i{
color: rgb(136, 135, 135);
}
}
}
// 中间内容下方区域结束
// 中间内容结束
// 底部开始
.bottom{
background-color: #fff;
z-index: 999;
position: fixed;
box-sizing: border-box;
bottom: 0;
left: 0;
right: 0;
.bottom_a{
display: flex;
justify-content: space-around;
.bottom_b{
display: flex;
flex-direction: column;
align-items: center;
.icon-biaoqianA01_shouye-11:before {
content: "\ea94";
color: #ccc;
}
span{
color: #ccc;
}
}
.bottom_c{
.icon-biaoqianA01_shouye-11:before {
color: blue;
}
span{
color: blue;
}
}
}
}
// 底部结束