194 lines
3.9 KiB
SCSS
194 lines
3.9 KiB
SCSS
page{
|
|
background-color: #f6f6f6;
|
|
}
|
|
.main{
|
|
.head{
|
|
position: fixed;
|
|
z-index: 100;
|
|
width: 100%;
|
|
top: 0;
|
|
left: 0;
|
|
background-color: #FFFFFF;
|
|
border-bottom: 1rpx solid #f6f6f6;
|
|
padding-bottom: 10px;
|
|
.head_top{
|
|
display: flex;
|
|
align-items: center;
|
|
.head_back{
|
|
display: flex;
|
|
align-items: center;
|
|
border-radius: 50rpx;
|
|
margin-left: 10px;
|
|
.head_back_img{
|
|
display: block;
|
|
width: 18px;
|
|
height: 18px;
|
|
margin-left: 7px;
|
|
}
|
|
}
|
|
.head_search{
|
|
width: 210px;
|
|
margin:0rpx 0px 0rpx 10px;;
|
|
display: flex;
|
|
align-items: center;
|
|
background-color: #F6F6F6;
|
|
height: 38px;
|
|
border-radius: 50rpx;
|
|
font-size: 28rpx;
|
|
color: #000000;
|
|
justify-content: space-between;
|
|
.head_search_img{
|
|
width: 28px;
|
|
height: 28px;
|
|
margin-right: 13rpx;
|
|
margin-left: 23rpx;
|
|
}
|
|
.head_search_input{
|
|
width: 500rpx;
|
|
height: 100%;
|
|
font-size: 27rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.cont{
|
|
// 商品区域样式
|
|
.shop_view{
|
|
margin-top: 10rpx;
|
|
padding: 13rpx 20rpx 0rpx 20rpx;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
.shop_view_ul{
|
|
width: 346rpx;
|
|
.shop_view_li{
|
|
background-color: #FFFFFF;
|
|
border-radius: 20rpx;
|
|
width: 100%;
|
|
box-shadow: 0 4rpx 8rpx rgba(0,0,0,.05);
|
|
margin-bottom: 20rpx;
|
|
.shop_view_li_swiper{
|
|
width: 100%;
|
|
height: 504rpx;
|
|
.shop_view_li_swiper_item{
|
|
width: 100%;
|
|
.shop_view_li_swiper_img_url{
|
|
width: 100%;
|
|
height: 504rpx;
|
|
display: block;
|
|
border-radius: 20rpx;
|
|
}
|
|
}
|
|
}
|
|
.shop_view_img{
|
|
width: 100%;
|
|
position: relative;
|
|
height: 320rpx;
|
|
.shop_view_tag{
|
|
width: 66rpx;
|
|
height: 42rpx;
|
|
position: absolute;
|
|
z-index: 2;
|
|
right: -15rpx;
|
|
top: 20rpx;
|
|
background: url(../../static/tag_img.png);
|
|
background-repeat: no-repeat;
|
|
background-size: 100% 100%;
|
|
.shop_view_tag_text{
|
|
font-size: 20rpx;
|
|
color: #FFFFFF;
|
|
height: 30rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
}
|
|
.shop_view_img_u{
|
|
width: 300rpx;
|
|
position: absolute;
|
|
z-index: 1;
|
|
left: 20rpx;
|
|
top: 20rpx;
|
|
.shop_view_img_url{
|
|
width: 100%;
|
|
height: 300rpx;
|
|
display: block;
|
|
}
|
|
}
|
|
}
|
|
.shop_view_cont{
|
|
padding: 20rpx;
|
|
.shop_view_cont_title{
|
|
font-size: 28rpx;
|
|
font-weight: 500;
|
|
color: #000000;
|
|
min-height: 80rpx;
|
|
}
|
|
.shop_view_cont_desc{
|
|
color: #666666;
|
|
font-size: 24rpx;
|
|
}
|
|
.shop_view_cont_tag{
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
.shop_view_cont_tag_text{
|
|
border-radius: 6rpx;
|
|
border: 1px solid #FF6868;
|
|
padding: 0rpx 10rpx;
|
|
border-radius: 10rpx;
|
|
color: #ff6868;
|
|
font-size: 18rpx;
|
|
margin-top: 10rpx;
|
|
margin-right: 10rpx;
|
|
}
|
|
}
|
|
}
|
|
.shop_view_cont_bottom{
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
.shop_view_cont_price{
|
|
font-size: 32rpx;
|
|
color: red;
|
|
font-weight: 500;
|
|
}
|
|
.shop_view_cont_cart{
|
|
width: 65rpx;
|
|
height: 65rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
.shop_view_cont_cart_img{
|
|
width: 40rpx;
|
|
height: 40rpx;
|
|
display: block;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.shop_view_bcg{
|
|
background-color: inherit;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.price::before {
|
|
content: '¥';
|
|
font-size: 24rpx;
|
|
margin-right: 5rpx;
|
|
}
|
|
.prices::before {
|
|
content: '¥';
|
|
font-size: 20rpx;
|
|
margin-right: 5rpx;
|
|
margin-left: 5rpx;
|
|
}
|
|
.market_name{
|
|
color: #999999;
|
|
font-size: 23rpx;
|
|
text-decoration: line-through;
|
|
margin-left: 5rpx;
|
|
font-weight: 400;
|
|
}
|
|
} |