TakeOutShop/shopProDetail/detail/style.scss
2025-04-15 20:33:17 +08:00

334 lines
6.4 KiB
SCSS

page{
background: #f6f6f6;
}
.mian{
.head{
position: fixed;
z-index: 100;
width: 100%;
top: 0;
left: 0;
padding-bottom: 10px;
display: flex;
align-items: center;
.head_back{
display: flex;
align-items: center;
background: rgba(255,255,255,.6);
border: 1rpx solid rgba(0,0,0,.1);
border-radius: 50rpx;
margin-left: 10px;
.head_back_img{
display: block;
width: 16px;
height: 16px;
margin-left: 7px;
}
}
.head_nav{
display: flex;
.head_item{
padding: 0px 8px 0px 8px;
margin-top: 5px;
.head_item_name{
font-size: 28rpx;
color: #999999;
}
.head_item_img{
width: 32px;
height: 8px;
}
}
.head_item_active{
.head_item_name{
font-size: 28rpx;
color: #333333;
font-weight: 500;
}
.head_item_img{
background: url(../../static/act.png);
background-repeat: no-repeat;
background-size: 100% 100%;
}
}
}
.head_search{
background-color: #F6F6F6;
border-radius: 50rpx;
display: flex;
align-items: center;
justify-content: center;
margin-left: 8px;
}
}
.head_show{
background-color: #FFFFFF;
border-bottom: 1rpx solid #f6f6f6;
}
.shop_swiper{
width: 100%;
height: 750rpx;
position: relative;
.shop_qc{
width: 100rpx;
height: 100rpx;
position: absolute;
bottom: 20rpx;
left: 20rpx;
z-index: 2;
}
.shop_swiper_wrap{
width: 100%;
height: 750rpx;
.shop_swiper_marquees{
width: 100%;
height: 100%;
.shop_swiper_img{
width: 100%;
height: 750rpx;
.shop_swiper_video_list{
width: 100%;
height: 750rpx;
}
.shop_swiper_imgUrl{
width: 100%;
height: 750rpx;
}
}
}
}
.currentNumber{
padding: 5rpx 5rpx 5rpx 5rpx;
position: absolute;
left: 43.5%;
bottom: 20rpx;
background-color: rgba(81, 63, 55, 0.8);
border-radius: 50rpx;
display: flex;
align-items: center;
.item_currentNumber{
font-size: 24rpx;
color: #cdcac6;
padding: 3rpx 10rpx 3rpx 10rpx;
border-radius: 10rpx;
display: flex;
align-items: center;
justify-content: center;
.item_currentNumber_img{
width: 15rpx;
height: 15rpx;
display: block;
margin-right:5rpx;
}
}
.item_currentNumber_hover{
background-color: rgba(0, 0, 0, 0.8);
color: #fefefe;
font-weight: 500;
}
.item_currentNumber_width{
width: 73rpx;
}
}
}
.shop_head{
background: #FFFFFF;
margin: 20rpx 20rpx 0rpx 20rpx;
padding: 20rpx;
border-radius: 16rpx;
box-shadow: 0 4rpx 8rpx rgba(0,0,0,.05);
.shop_price{
font-size: 43rpx;
color: #FF0000;
font-weight: 500;
}
.shop_title{
font-size: 34rpx;
color: #333333;
font-weight: 500;
margin-top: 10rpx;
}
.shop_desc{
font-size: 26rpx;
color: #999999;
margin-top: 10rpx;
}
}
.shop_detail{
margin: 20rpx 20rpx 0rpx 20rpx;
background-color: #FFFFFF;
border-top-left-radius: 16rpx;
border-top-right-radius: 16rpx;
.shop_detail_title{
color: #333333;
font-size: 30rpx;
padding: 25rpx 20rpx 25rpx 20rpx;
font-weight: 500;
}
.shop_detail_title::before{
content: "";
width: 10rpx;
height: 40rpx;
background: linear-gradient(180deg, #FF3135 0%, #f2f5f7 100%);
margin-right: 10rpx;
display: inline-block;
vertical-align: middle;
}
.shop_detail_img image{
width: 100%;
display: block;
}
}
.footer{
position: fixed;
z-index: 88;
left: 0;
transform: translate3d(0, -100%, 0);
width: 100%;
top: 100%;
background: #FFFFFF;
padding-bottom: env(safe-area-inset-bottom);
padding-top: 20rpx;
border-top: 1rpx solid #F2F2F2;
.footer_cont{
padding-right: 20rpx;
display: flex;
justify-content: space-between;
align-items: center;
.footer_l{
display: flex;
align-items: center;
justify-content: space-between;
.footer_li{
width: 110rpx;
.footer_icon{
margin: 0 auto;
width: 50rpx;
height: 50rpx;
position: relative;
.footer_amount{
position: absolute;
right: -10rpx;
top:-10rpx;
width: 30rpx;
height: 30rpx;
border-radius: 50rpx;
background-color: #FF3135;
font-size: 18rpx;
color: #FFFFFF;
z-index: 2;
display: flex;
align-items: center;
justify-content: center;
}
.footer_icon_img{
width: 50rpx;
height: 50rpx;
display: block;
position: absolute;
top: 0;
left: 0;
z-index: 1;
}
}
.footer_name{
font-size: 20rpx;
color: #666666;
text-align: center;
}
}
}
.footer_r{
width:75%;
display: flex;
align-items: center;
justify-content: space-between;
.footer_btn{
width: 50%;
height: 75rpx;
font-size: 27rpx;
color: #9b5c1f;
background-color: #fbe7cf;
display: flex;
align-items: center;
justify-content: center;
font-weight: 500;
flex: 1;
}
.footer_btn_bcg{
color: #FFFFFF;
background-color: #FD3F3F;
}
.border_l{
border-radius: 50rpx;
// margin-right: 20rpx;
// border-top-left-radius: 20rpx;
// border-bottom-left-radius: 20rpx;
}
.border_r{
border-radius: 50rpx;
// border-top-right-radius: 20rpx;
// border-bottom-right-radius: 20rpx;
}
}
}
}
.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;
}
.cont_qc{
width: 100%;
background-color: #FFFFFF;
color: #333333;
border-top-left-radius: 20rpx;
border-top-right-radius: 20rpx;
.cont_open_title{
text-align: center;
font-size: 32rpx;
color: #333333;
font-weight: 500;
position: sticky;
top: 0;
height: 100rpx;
line-height: 100rpx;
.cont_open_close{
width: 100rpx;
height: 100rpx;
position: absolute;
top: 0;
right: 0;
display: flex;
align-items: center;
justify-content: center;
}
.cont_open_close image{
width: 55rpx;
height: 55rpx;
}
}
.cont_image{
width: 100%;
min-height: 600rpx;
max-height: 1200rpx;
overflow-x: auto;
}
}
}