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/GoodChoice/GoodChoice.scss

171 lines
3.0 KiB

.page{
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: #f6f6f6;
padding-bottom: 40rpx;
}
.head-back{
position: relative;
position: fixed;
left: 0;
top: 0;
z-index: 100;
width: 100%;
height: 100rpx;
background: linear-gradient(to right,#00b6a5,#00ccba);
/* #ifdef APP-PLUS */
height: calc(120rpx + var(--status-bar-height));
padding-top: var(--status-bar-height);
/* #endif */
/* #ifdef MP */
height: 150rpx;
padding-top: var(--status-bar-height);
/* #endif */
.back{
position: absolute;
left: 0;
top: 0;
/* #ifdef APP-PLUS */
top: var(--status-bar-height);
/* #endif */
/* #ifdef MP */
top: var(--status-bar-height);
/* #endif */
display: flex;
align-items: center;
justify-content: center;
width: 100rpx;
height: 100rpx;
text{
display: flex;
width: 20rpx;
height: 20rpx;
border-left: 2rpx solid #FFFFFF;
border-bottom: 2rpx solid #FFFFFF;
transform: rotate(45deg);
}
}
.title{
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100rpx;
image{
width: 200rpx;
height: 50rpx;
}
}
}
.head-bg{
width: 100%;
height: calc(300rpx + var(--status-bar-height));
background: linear-gradient(to right,#00b6a5,#00ccba);
border-radius: 0 0 20% 20%;
padding-top: 100rpx;
/* #ifdef APP-PLUS */
padding-top: calc(100rpx + var(--status-bar-height));
/* #endif */
/* #ifdef MP */
padding-top: calc(100rpx + var(--status-bar-height));
/* #endif */
// banner
.banner{
width: 90%;
height: 300rpx;
border-radius: 10rpx;
overflow: hidden;
margin:20rpx auto;
.screen-swiper{
min-height: 100% !important;
image{
width: 100%;
height: 100%;
border-radius: 10rpx;
}
}
}
}
.goods-data{
width: 100%;
margin-top: 160rpx;
/* #ifdef APP-PLUS */
margin-top: 150rpx;
/* #endif */
/* #ifdef MP */
margin-top: calc(100rpx + var(--status-bar-height));
/* #endif */
.goods-list{
width: 94%;
margin: 0 auto;
background-color: #FFFFFF;
border-radius: 20rpx;
.list{
display: flex;
align-items: center;
padding: 0 20rpx;
height: 300rpx;
margin-bottom: 20rpx;
.thumb{
display: flex;
align-items: center;
width: 40%;
height: 100%;
image{
width: 260rpx;
height: 260rpx;
border-radius: 10rpx;
}
}
.item{
width: 56%;
height: 260rpx;
margin-left: 4%;
.title{
display: flex;
align-items: center;
width: 100%;
height: 100rpx;
text{
font-size: 28rpx;
color: #222222;
}
}
.introduce{
display: flex;
align-items: center;
width: 100%;
text{
font-size: 24rpx;
color: #c0c0c0;
}
}
.like-goods{
display: flex;
align-items: center;
justify-content: flex-end;
width: 100%;
height: 100rpx;
.like{
display: flex;
align-items: center;
text{
font-size: 26rpx;
font-weight: bold;
color: $base;
}
.iconfont{
margin-left: 10rpx;
}
}
}
}
}
}
}