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

198 lines
3.5 KiB
CSS

body {
height: 100rem;
}
.header {
box-sizing: border-box;
position: fixed;
top: 0;
left: 0;
right: 0;
height: 6rem;
background-color: #0791c7;
padding: 0.6rem 1.1rem 1.1rem;
}
.header .header_top {
display: flex;
align-items: center;
}
.header .header_top .icon-dingwei:before {
content: "\e604";
color: #fff;
font-size: 1.1rem;
}
.header .header_top .hearer_top_2 {
color: #fff;
font-size: 1.2rem;
font-weight: 900;
}
.header .header_top .icon-choose:before {
content: "\e606";
color: #fff;
font-size: 0.5rem;
}
.header .header_bottom {
margin-top: 1rem;
height: 2.2rem;
background-color: #fff;
display: flex;
align-items: center;
justify-content: center;
}
.header .header_bottom i {
color: #ccc;
}
.header .header_bottom span {
color: #ccc;
font-size: 0.9rem;
padding-left: 0.2rem;
}
.cont_top {
margin-top: 6.5rem;
display: flex;
flex-wrap: wrap;
}
.cont_top li {
display: flex;
flex-direction: column;
align-items: center;
width: 20%;
}
.cont_top img {
width: 3.2rem;
height: 3.2rem;
}
.pinzhi {
margin: 2rem 1.5rem 0;
display: flex;
justify-content: space-between;
background-color: #fcf7f7;
}
.pinzhi .pinzhi_left {
display: flex;
flex-direction: column;
}
.pinzhi .pinzhi_left span:first-child {
font-weight: 800;
}
.pinzhi .pinzhi_left span:nth-child(2) {
margin-top: 0.3rem;
font-weight: 800;
font-size: 0.8rem;
color: #ccc;
}
.pinzhi .pinzhi_left span:last-child {
margin-top: 0.5rem;
font-weight: 800;
font-size: 0.12rem;
color: #70ad36;
}
.pinzhi img {
width: 8rem;
height: 6rem;
}
.huangguan {
height: 2.5rem;
background-color: #dddd7a;
margin: 0.5rem 1rem 0 1rem;
display: flex;
align-items: center;
justify-content: space-between;
border-radius: 0.2rem;
}
.huangguan .huangguan_left {
display: flex;
align-items: center;
}
.huangguan .icon-icon_huangguan:before {
padding-left: 0.5rem;
content: "\e61b";
color: yellow;
font-size: 1.3rem;
}
.huangguan .huangguan_left span:nth-child(2) {
padding-left: 0.3rem;
font-size: 0.9rem;
font-weight: 800;
color: #75753c;
}
.huangguan .huangguan_left span:nth-child(3) {
font-size: 0.12rem;
zoom: 0.8;
color: #75753c;
}
.huangguan .huangguan_right span:first-child {
font-size: 0.12rem;
zoom: 0.9;
color: #75753c;
}
.huangguan .huangguan_right span:last-child {
font-size: 0.12rem;
margin-left: 0.1rem;
padding-right: 0.4rem;
color: #75753c;
}
.cont_bottom {
margin-top: 1rem;
}
.cont_bottom .cont_tuijian {
display: flex;
justify-content: center;
}
.cont_bottom .cont_tuijian::after {
content: '——';
color: #c0bebe;
margin-left: 0.3rem;
}
.cont_bottom .cont_tuijian::before {
content: '——';
color: #c0bebe;
margin-right: 0.3rem;
}
.zonghe {
margin: 1rem 1rem 0;
display: flex;
justify-content: space-between;
}
.zonghe li {
display: flex;
justify-content: center;
}
.zonghe li span {
font-size: 0.9rem;
color: #888787;
}
.zonghe li i {
color: #888787;
}
.bottom {
background-color: #fff;
z-index: 999;
position: fixed;
box-sizing: border-box;
bottom: 0;
left: 0;
right: 0;
}
.bottom .bottom_a {
display: flex;
justify-content: space-around;
}
.bottom .bottom_a .bottom_b {
display: flex;
flex-direction: column;
align-items: center;
}
.bottom .bottom_a .bottom_b .icon-biaoqianA01_shouye-11:before {
content: "\ea94";
color: #ccc;
}
.bottom .bottom_a .bottom_b span {
color: #ccc;
}
.bottom .bottom_a .bottom_c .icon-biaoqianA01_shouye-11:before {
color: blue;
}
.bottom .bottom_a .bottom_c span {
color: blue;
}