Files
ClassContent/历届学生/韩想/项目开发/课程项目/美食/css/index.css
2024-09-27 02:06:13 +08:00

296 lines
5.0 KiB
CSS

.bar {
display: flex;
justify-content: space-between;
align-items: center;
background: #fff;
padding: 0 .5rem;
box-sizing: border-box;
height: 2.25rem;
position: fixed;
width: 100%;
z-index: 999;
}
.banner_swiper img {
width: 100%;
}
.content {
margin-bottom: 3rem;
padding-top: 2.5rem;
}
.icon-wode {
font-size: .9rem !important;
}
input {
width: 100%;
height: 1.5rem;
border: none;
padding-left: .95rem;
margin-left: .5rem;
background: #f1f1f4;
border-radius: 1.5rem;
font-size: .75rem;
}
.menu {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
}
.menu li {
width: 20%;
text-align: center;
}
.menu img {
width: 2.5rem;
height: 2.5rem;
}
.menu p {
font-size: .6rem;
color: #666;
}
.mrsc {
margin-top: 1.6rem;
padding: 0 .8rem;
}
.pub_title{
font-size: .8rem;
font-weight: 600;
color: #999;
line-height: 1.1rem;
margin-bottom: .5rem;
}
.mrsc ul {
display: flex;
margin-bottom: .5rem;
align-items: flex-end;
}
.mrsc ul li{
position: relative;
font-size: .8rem;
margin-right: 1rem;
color: #666;
}
.mrsc ul .active::after,
.do_together_title .active::after {
content: '';
height: .3rem;
border-radius: .15rem;
width: 100%;
left: 0px;
bottom: .15rem;
background: #ff9d9b;
position: absolute;
z-index: 50;
display: block;
}
.active {
font-size: 1.4rem !important;
color: #333 !important;
}
.mrsc_list {
display: flex;
justify-content: space-between;
}
.mrsc_list .mrsc_list_item{
}
.mrsc_list img{
width: 8.35rem;
height: 11.9rem;
border-radius: .35rem;
}
.mrsc_list .tips_titles {
margin-top: .5rem;
font-size: .9rem;
font-weight: 600;
color: #333;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
width: 167px;
}
.tips_text {
padding: 0 .15rem;
background: #ff8d8d;
color: #fff;
font-size: .4rem;
}
.tips {
font-size: .55rem;
color: #ff8d8d;
line-height: .7rem;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
background: #fff2f2;
border-radius: .1rem;
padding: .2rem .3rem;
}
.recommend {
margin-top: 1.6rem;
}
.recommend ul {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
}
.recommend ul li {
width: 5.2rem;
box-shadow: 0px 0px .6rem rgba(0,0,0,0.1);
background: #fff;
border-radius: 1.05rem;
margin-bottom: 1rem;
}
.recommend ul li a {
display: flex;
align-items: center;
justify-content: center;
}
.recommend_active {
background: #fe9b95 !important;
box-shadow: 0px 0px .6rem rgba(255,155,149,0.5) !important;
}
.recommend_active span {
color: #fff !important;
}
.recommend ul li img{
width: .9rem;
height: .9rem;
margin-right: .2rem;
}
.recommend ul li span {
font-size: .6rem;
color: #333;
line-height: 2.1rem;
display: inline-block;
vertical-align: top;
font-weight: 600;
}
.recommend_title {
font-size: 1.25rem;
font-weight: 600;
color: #333;
line-height: 1.8rem;
margin-bottom: .8rem;
}
.do_together_title {
display: flex;
justify-content: flex-start;
position: relative;
align-items: flex-end;
}
.do_together_title li {
margin-right: 1rem;
font-size: .8rem;
color: #666;
cursor: pointer;
position: relative;
}
.do_together_content {
margin-top: .5rem;
}
.do_together_content .roll_father {
margin-bottom: .8rem;
display: none;
-webkit-column-width: 7.6rem;
-o-colum-width: 7.6rem;
-webkit-column-gap: .6rem;
-moz-column-gap: .6rem;
-o-column-gap: .6rem;
}
.showRoll {
display: block !important;
}
.do_together_item{
margin-right: 0.33rem;
border-radius: .3rem;
box-shadow: 0 .15rem .3rem rgba(0,0,0,0.1);
padding-bottom: .6rem;
margin-bottom: 0.6rem;
width: 8.45rem;
}
.roll_father .do_together_item:nth-child(2n) {
margin-right: 0 !important;
}
.item_img {
position: relative;
}
.item_padd {
padding-left: .5rem;
padding-right: .5rem;
padding-bottom: .5rem;
box-sizing: border-box;
}
.item_pa {
padding-left: .5rem;
padding-right: .5rem;
}
.item_img img {
width: 100%;
border-top-left-radius: .3rem;
border-top-right-radius: .3rem;
}
.do_together_item .tips_titles {
font-size: .8rem !important;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.item_avatr {
display: flex;
justify-content: space-between;
align-items: center;
}
.avatr_left,
.avatr_view{
display: flex;
align-items: center;
}
.avatr_left img {
width: .9rem;
height: .9rem;
margin-right: .25rem;
border-radius: 100%;
}
.avatr_left span {
font-size: .45rem;
color: #666;
}
.avatr_view span {
font-size: .45rem;
color: #666;
margin-left: .2rem;
}
.footer {
position: fixed;
width: 100%;
height: 2.5rem;
background: #fff;
display: flex;
justify-content: space-around;
align-items: center;
left: 0;
bottom: 0;
z-index: 999;
}
.footer a {
display: flex;
flex-direction: column;
text-align: center;
}
.footer a img {
width: 1.4rem;
height: 1.4rem;
}
.footer a p {
font-size: .6rem;
color: #666;
}