You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
quzhou/pages/home/home.scss

167 lines
2.7 KiB

.page{
// position: absolute;
// left: 0;
// top: 0;
// width: 100%;
// height: 100%;
// overflow-x: hidden;
// overflow-y: auto;
padding-bottom: 100rpx;
background-color: #f2f2f2;
}
.head-info{
position: fixed;
left: 0;
top: 0;
z-index: 100;
width: 100%;
/* #ifdef APP-PLUS||H5 */
padding: calc(20rpx + var(--status-bar-height)) 25rpx 0;
// height: calc(200rpx + var(--status-bar-height));
/* #endif */
/* #ifdef MP */
padding:0 25rpx;
height: 170rpx;
/* #endif */
background-size: 100% 433rpx;
background-color: #fff;
overflow: hidden;
padding-bottom: 20rpx;
.head-search{
display: flex;
align-items: center;
justify-content: space-between;
margin-top:45px;
.icon-info{
display: flex;
align-items: center;
height: 100%;
text{
font-size: 52rpx;
color: #222;
}
image{
width: 42rpx;
height: 43rpx;
}
}
.search{
display: flex;
align-items: center;
flex:1;
padding: 0 20rpx;
height: 65rpx;
background-color: #f5f5f5;
border-radius: 10rpx;
.icon{
display: flex;
align-items: center;
margin-right: 20rpx;
image{
width: 27rpx;
height: 29rpx;
}
}
.hint{
display: flex;
align-items: center;
.max{
font-size: 24rpx;
color: #a09f9f;
}
.min{
font-size: 24rpx;
color: #F6f6f6;
margin-left: 10rpx;
}
}
}
}
}
.main{
/* #ifdef APP-PLUS||H5 */
margin-top: calc(190rpx + var(--status-bar-height));
/* #endif */
/* #ifdef MP */
margin-top: 170rpx;
/* #endif */
padding-top: 20rpx;
background-color: #FFFFFF;
}
/* banner */
.banner{
padding: 0 25rpx;
height: 260rpx;
margin-bottom: 30rpx;
// margin: -200rpx auto 20rpx;
border-radius: 10rpx;
overflow: hidden;
.screen-swiper{
height: 100%;
min-height: 100% !important;
image{
height: 260rpx;
border-radius: 10rpx;
}
}
.u-swiper{
background-color: #fff !important;
}
}
.devide{
height:10rpx;
background:#f7f7f7;
}
.new-product{
padding: 20rpx 25rpx;
text-align: center;
.zenxuan{
width:100%;
}
.empty{
width:50%;
margin:20rpx auto;
height:auto;
}
.product-title{
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
height: 80rpx;
.title{
display: flex;
align-items: center;
text{
font-size: 28rpx;
color: #4c4b4b;
padding-left:20rpx;
border-left:4px solid rgb(221, 190, 127)
}
}
}
.goods-list{
white-space:nowrap;
width: 100%;
overflow-y: hidden;
overflow-x: auto;
.list{
display:inline-block;
width: 25%;
height: 100%;
.pictrue{
width: 100%;
height: 70%;
image{
width: 150rpx;
height: 150rpx;
}
}
}
}
}