Desktop Menu / Product detail page layout update

This commit is contained in:
Vion
2022-01-10 20:23:58 +08:00
parent f1b7b7c501
commit baad9d2555
9 changed files with 1248 additions and 858 deletions

View File

@@ -440,74 +440,35 @@
}
@media screen and (min-width: 768px)
@media screen and (min-width: 769px)
{
.sw-center{
display: none;
}
.useraimg{
width: 100%;
height: 4.69rem;
height: 29.31rem;
object-fit: cover;
}
.van-swipe-item {
color: #fff;
height: 4.69rem;
height: 29.31rem;
width: 100%;
font-size: 0.20rem;
line-height: 1.50rem;
font-size: 1.25rem;
line-height: 9.375rem;
text-align: center;
}
.rc-fixright{
width: 0.60rem;
height: 1.81rem;
background: #FFFFFF;
box-shadow: 0px 0px 0.10rem rgba(0, 0, 0, 0.16);
border-radius: 0.04rem;
position: fixed;
right: 0;
top: 30%;
display: flex;
flex-direction: column;
z-index: 9999;
ul{
height: 100%;
li{
width: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin-top: 0.08rem;
}
}
img{
width: 0.30rem;
height: 0.30rem;
display: block;
}
img{
width: 0.30rem;
height: 0.30rem;
display: block;
}
span{
font-size: 0.12rem;
color: #666666;
}
}
.rc-lunbo{
width: 100%;
margin-top: 0.46rem;
margin-top: 2.875rem;
margin: 0 auto;
position: relative;
margin-top: 1.50rem;
margin-top: 9.375rem;
h2{
text-align: center;
font-size: 0.40rem;
font-size: 2.5rem;
color: #E2001A;
}
#xxxFullScreen {
@@ -520,7 +481,7 @@ color: #666666;
.swiper-container2 {
width: 100%;
height: 6.18rem;
height: 38.6rem;
// overflow: visible !important;
position: relative;
}
@@ -536,7 +497,7 @@ color: #666666;
}
/* 下一张 */
#swiper1 .swiper-container .swiper-wrapper .swiper-slide-next {
margin-top: 0.05rem;
margin-top: .31rem;
//height: 6.18rem !important;
}
.swiper-container .swiper-wrapper .swiper-slide-active {
@@ -558,7 +519,7 @@ color: #666666;
height: auto;
}
span{
font-size: 0.26rem;
font-size: 1.6rem;
display: block;
margin-top: 20px;
color: #E2001A;
@@ -580,29 +541,29 @@ color: #666666;
em
{
font-style: normal;
font-size: 0.22rem;
font-size: 1.375rem;
color: #666666;
display: block;
margin-top: 0.16rem;
margin-top: 1rem;
}
strong
{
font-style: normal;
width: 1.30rem;
height: 0.40rem;
width: 8.125rem;
height: 2.5rem;
border: 2px solid #E2001A;
border-radius: 0.30rem;
border-radius: 1.875rem;
display: block;
line-height: 0.40rem;
line-height: 2.5rem;
text-align: center;
color:#E2001A;
font-size: 0.14rem;
margin-top: 0.16rem;
font-size: .875rem;
margin-top: 1rem;
}
}
.uservideo{
width: 5.60rem;
height: 5.06rem;
width: 35rem;
height: 31.6rem;
display: block;
border: 1px solid red;
@@ -611,10 +572,10 @@ border: 1px solid red;
position: absolute;
top: 50%;
left:0;
margin-top: -0.115rem;
margin-top: -.72rem;
img{
width: 0.11rem;
height: 0.22rem;
width: .69rem;
height: 1.38rem;
display: block;
}
}
@@ -622,10 +583,10 @@ img{
position: absolute;
top: 50%;
right:0;
margin-top: -0.115rem;
margin-top: -.72rem;
img{
width: 0.11rem;
height: 0.22rem;
width: .69rem;
height: 1.375rem;
display: block;
}
}
@@ -639,7 +600,7 @@ img{
//height: 1.65rem !important;
}
.swiperWrap{
height: 4.69rem;
height: 29.3rem;
width: 100%;
img{
height: 4.69rem;
@@ -649,11 +610,11 @@ img{
}
/deep/.swiper-pagination-bullet-active{
background: red;
width: 0.08rem;
height: 0.08rem;
width: .5rem;
height: .5rem;
}
/deep/.swiper-pagination-bullet{
width: 8rem;
width: 50rem;
height: 8px;
background: #d7d7d7;
@@ -669,7 +630,7 @@ img{
}
.rc-main{
width: 100%;
margin-top: 0.40rem;
margin-top: 2.5rem;
.van-tabs{
display: none;
}
@@ -684,20 +645,20 @@ img{
flex-wrap: wrap;
flex-direction: row;
span{
margin-top: 0.08rem;
margin-top: .5rem;
display: block;
}
img{
width: 1.58rem;
height: 1.58rem;
width: 9.875rem;
height: 9.875rem;
display: block;
}
li{
cursor: pointer;
font-size: 16px;
width: 1.58rem;
width: 9.875rem;
text-align: center;
height: 1.58rem;
height: 9.875rem;
background: #F6F6F6;
border-radius: 50%;
}
@@ -707,7 +668,7 @@ img{
width: 100%;
h2{
text-align: center;
font-size: 0.40rem;
font-size: 2.5rem;
color: #E2001A;
}
.van-tabs{
@@ -724,18 +685,18 @@ img{
justify-content: center;
cursor: pointer;
li{
font-size: 0.16rem;
margin-left: 0.40rem;
font-size: 1rem;
margin-left: 2.5rem;
}
}
.rc-contair
{
margin-top: 0.24rem;
margin-top: 1.25rem;
ul{
text-align: center;
margin-top: 0.77rem;
margin-top: 4.8rem;
display: flex;
justify-content: space-between;
width: 100%;
@@ -748,7 +709,7 @@ margin-left: 0.40rem;
justify-content: center;
align-items: center;
border: 1px solid #D7D7D7;
margin-top: 0.40rem;
margin-top: 2.5rem;
}
img{
@@ -760,18 +721,18 @@ margin-left: 0.40rem;
}
i{
font-style: normal;
font-size: 0.18rem;
margin-top: 0.08rem;
font-size: 1.125rem;
margin-top: .5rem;
color: #666666;
display: block;
font-size: 0.22rem;
font-size: 1.375rem;
color: #666666;
}
}
span{
font-size: 0.30rem;
font-size: 1.875rem;
color: #E2001A;
text-overflow: -o-ellipsis-lastline;
overflow: hidden;
@@ -779,38 +740,38 @@ font-size: 0.30rem;
display: -webkit-box;
-webkit-line-clamp: 2;
line-clamp: 2;
margin-top:0.16rem;
margin-top:1rem;
-webkit-box-orient: vertical;
}
strong{
width: 1.30rem;
height: 0.40rem;
width: 8.125rem;
height: 2.5rem;
border: 2px solid #E2001A;
display: flex;
align-items: center;
justify-content: center;
border-radius: 0.30rem;
border-radius: 1.875rem;
margin: 0 auto;
font-size: 0.14rem;
font-size: .875rem;
color: #E2001A;
margin-top: 0.24rem;
margin-top: 1.5rem;
}
.userserlect{
display: flex;
width: 100%;
justify-content: center;
align-items: center;
padding-bottom: 0.88rem;
padding-top: 0.80rem;
padding-bottom: 5.5rem;
padding-top: 5rem;
span{
width: 1.30rem;
height: 0.40rem;
width: 8.125rem;
height: 2.5rem;
background: #E2001A;
text-align: center;
line-height: 0.40rem;
border-radius: 0.30rem;
font-size: 0.14rem;
line-height: 2.5rem;
border-radius: 1.875rem;
font-size: .875rem;
color: #FFFFFF;
}
@@ -819,13 +780,13 @@ color: #FFFFFF;
}
}
.active {
font-size: 0.16rem;
font-size: 1rem;
border: 3px solid red;
color: red;
}
.unactive {
font-size: 0.16rem;
font-size: 1rem;
color: #444444;
border: 1px solid #D7D7D7;
}
@@ -835,24 +796,24 @@ color: #FFFFFF;
display: flex;
justify-content: center;
align-items: center;
margin-top: 0.77rem;
margin-top: 4.8rem;
span{
margin-top: 0.08rem;
margin-top: .5rem;
display: block;
}
img{
width: 1.58rem;
height: 1.58rem;
width: 9.875rem;
height: 9.875rem;
display: block;
}
li{
display: inline-block;
cursor: pointer;
font-size: 0.16rem;
margin-left: 0.40rem;
width: 1.58rem;
font-size: 1rem;
margin-left: 2.5rem;
width: 9.875rem;
text-align: center;
height: 1.58rem;
height: 9.875rem;
background: #F6F6F6;
border-radius: 50%;
}
@@ -875,41 +836,35 @@ color: #E2001A;
margin: 0 auto;
text-align: center;
em{
font-style: normal;
font-size: 0.30rem;
display: block;
padding-top: 0.80rem;
em{
font-style: normal;
font-size: 1.875rem;
display: block;
padding-top: 5rem;
color: #E1001A;
}
span{
font-size: 1rem;
margin-top: 1rem;
color: #666666;
display: flex;
align-items: center;
justify-content: center;
}
i{
font-style: normal;
width: 1.57rem;
height: 0.48rem;
border: 2px solid #E2001A;
border-radius: 0.30rem;
display: block;
line-height: 0.48rem;
font-size: 0.16rem;
color: #E2001A;
margin: 0 auto;
margin-top: 0.32rem;
margin-bottom: 0.80rem;
}
color: #E1001A;
}
span{
font-size: 0.16rem;
margin-top: 0.17rem;
color: #666666;
display: flex;
align-items: center;
justify-content: center;
}
i{
font-style: normal;
width: 1.57rem;
height: 0.48rem;
border: 2px solid #E2001A;
border-radius: 0.30rem;
display: block;
line-height: 0.48rem;
font-size: 0.16rem;
color: #E2001A;
margin: 0 auto;
margin-top: 0.32rem;
margin-bottom: 0.80rem;
}
}
}
}