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.
huazhiyu/pages/home/home.scss

168 lines
2.7 KiB

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