571 lines
12 KiB
SCSS
571 lines
12 KiB
SCSS
page{
|
|
background: #f6f6f6;
|
|
}
|
|
.mian{
|
|
.head_capsule{
|
|
color: #fff;
|
|
display: flex;
|
|
align-items: center;
|
|
margin-left: 10px;
|
|
justify-content: space-between;
|
|
position: fixed;
|
|
z-index: 110;
|
|
border-radius: 50rpx;
|
|
.head_back{
|
|
display: flex;
|
|
align-items: center;
|
|
background: rgba(255, 255, 255, 0.6);
|
|
border: 1rpx solid rgba(0, 0, 0, 0.1);
|
|
border-radius: 50rpx;
|
|
.head_backimg{
|
|
display: block;
|
|
width: 16px;
|
|
height: 16px;
|
|
margin-left: 7px;
|
|
}
|
|
}
|
|
.head_line{
|
|
width: 1rpx;
|
|
margin-left: 5px;
|
|
margin-right: 5px;
|
|
height: 32rpx;
|
|
background-color: rgba(0, 0, 0, 0.1);
|
|
}
|
|
.head_hove{
|
|
background: rgba(255,255,255,.8);
|
|
border: 1rpx solid rgba(0, 0, 0, 0.1);
|
|
}
|
|
.head_home{
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 100%;
|
|
overflow: hidden;
|
|
.head_homeimg{
|
|
display: block;
|
|
width: 30rpx;
|
|
height: 30rpx;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.shop_swiper{
|
|
width: 100%;
|
|
height: 750rpx;
|
|
position: relative;
|
|
.shop_swiper_wrap{
|
|
width: 100%;
|
|
height: 750rpx;
|
|
.shop_swiper_marquees{
|
|
width: 100%;
|
|
height: 100%;
|
|
.shop_swiper_img{
|
|
width: 100%;
|
|
height: 100%;
|
|
.shop_swiper_video_list{
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
.shop_swiper_imgUrl{
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.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_comment{
|
|
background: #FFFFFF;
|
|
margin: 20rpx 20rpx 0rpx 20rpx;
|
|
border-radius: 16rpx;
|
|
box-shadow: 0 4rpx 8rpx rgba(0,0,0,.05);
|
|
.shop_comment_head{
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 20rpx 40rpx 20rpx 20rpx;
|
|
.shop_comment_head_title{
|
|
font-size: 30rpx;
|
|
color: #000000;
|
|
font-weight: 500;
|
|
}
|
|
.shop_comment_head_arrow{
|
|
font-size: 26rpx;
|
|
color: #999999;
|
|
position: relative;
|
|
}
|
|
.shop_comment_head_arrow::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 100%;
|
|
transform: translate3d(0, -50%, 0) rotate(45deg);
|
|
width: 13rpx;
|
|
height: 13rpx;
|
|
border-top: 3rpx solid #999999;
|
|
border-right: 3rpx solid #999999;
|
|
}
|
|
}
|
|
.shop_comment_tag{
|
|
display: flex;
|
|
overflow: hidden;
|
|
flex-wrap: wrap;
|
|
margin: 0rpx 20rpx 0rpx 20rpx;
|
|
border-bottom: 1rpx solid #f6f6f6;
|
|
.shop_comment_item{
|
|
padding: 0rpx 20rpx 0rpx 20rpx;
|
|
height: 45rpx;
|
|
background: #FFD7D7;
|
|
border-radius: 50rpx;
|
|
border: 1rpx solid #FFA0A0;
|
|
color: #FF5D5D;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 23rpx;
|
|
margin-right: 10rpx;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
}
|
|
.shop_comment_cont{
|
|
padding: 0rpx 20rpx 0rpx 20rpx;
|
|
.shop_comment_cont_ul{
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 20rpx 0;
|
|
.shop_comment_cont_l{
|
|
display: flex;
|
|
align-items: center;
|
|
.shop_comment_cont_userimg{
|
|
width: 60rpx;
|
|
height: 60rpx;
|
|
background-color: #000000;
|
|
border-radius: 50rpx;
|
|
display: block;
|
|
}
|
|
.shop_comment_cont_username{
|
|
color: #000000;
|
|
font-size: 26rpx;
|
|
margin-left: 15rpx;
|
|
}
|
|
.shop_comment_cont_amount{
|
|
padding: 0 10rpx;
|
|
height: 34rpx;
|
|
background: #FFF4CD;
|
|
border-radius: 4rpx;
|
|
border: 1rpx solid #F9D448;
|
|
font-size: 22rpx;
|
|
color: #D0AA1B;
|
|
margin-left: 15rpx;
|
|
}
|
|
}
|
|
.shop_comment_cont_ip{
|
|
color: #999;
|
|
font-size: 23rpx;
|
|
}
|
|
}
|
|
.shop_comment_m{
|
|
overflow: hidden;
|
|
.shop_comment_title{
|
|
font-size: 27rpx;
|
|
color: #333333;
|
|
}
|
|
.shop_comment_item{
|
|
margin: 20rpx 0;
|
|
display: flex;
|
|
justify-content:space-between;
|
|
.shop_comment_itemImg{
|
|
width: 155rpx;
|
|
height: 155rpx;
|
|
background-color: #666666;
|
|
border-radius: 20rpx;
|
|
display: block;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.shop_ask{
|
|
font-size: 26rpx;
|
|
color: #333333;
|
|
}
|
|
.shop_answer{
|
|
font-size: 26rpx;
|
|
color: #666666;
|
|
}
|
|
.shop_padding{
|
|
padding: 0rpx 20rpx 20rpx 20rpx;
|
|
}
|
|
.shop_padding text{
|
|
vertical-align: middle;
|
|
display: inline-block;
|
|
}
|
|
.shop_ask::before {
|
|
vertical-align: middle;
|
|
content: "";
|
|
display: inline-block;
|
|
width: 30rpx;
|
|
height: 30rpx;
|
|
background-image: url('../../static/shopdetail/ask.png');
|
|
background-size: cover;
|
|
margin-right: 10rpx; /* 调整图片与标题的间距 */
|
|
}
|
|
.shop_answer::before {
|
|
content: "";
|
|
display: inline-block;
|
|
width: 30rpx;
|
|
height: 30rpx;
|
|
background-image: url('../../static/shopdetail/answer.png');
|
|
background-size: cover;
|
|
margin-right: 10rpx; /* 调整图片与标题的间距 */
|
|
vertical-align: middle;
|
|
}
|
|
}
|
|
.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;
|
|
}
|
|
}
|
|
.user_title{
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-top: 60rpx;
|
|
.user_name{
|
|
color: #FF0000;
|
|
font-size: 36rpx;
|
|
font-weight: 500;
|
|
margin: 0 10rpx 0 10rpx;
|
|
vertical-align: middle;
|
|
display: inline-block;
|
|
}
|
|
}
|
|
.user_title::before{
|
|
content: "";
|
|
vertical-align: middle;
|
|
display: inline-block;
|
|
width: 30rpx;
|
|
height: 30rpx;
|
|
background-image: url('../../static/user/leftimg.png');
|
|
background-size: cover;
|
|
margin-right: 10rpx;
|
|
}
|
|
.user_title::after{
|
|
vertical-align: middle;
|
|
content: "";
|
|
display: inline-block;
|
|
width: 30rpx;
|
|
height: 30rpx;
|
|
background-image: url('../../static/user/rightimg.png');
|
|
background-size: cover;
|
|
margin-left: 10rpx;
|
|
}
|
|
// 商品区域样式
|
|
.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: 1rpx 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;
|
|
}
|
|
}
|
|
}
|
|
.footer{
|
|
position: fixed;
|
|
z-index: 998;
|
|
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: 90rpx;
|
|
.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;
|
|
}
|
|
.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;
|
|
}
|
|
} |