Homepage / Product list / Product Detail / header / footer / RoyalCanin css,js added

This commit is contained in:
Vion
2022-01-11 19:08:04 +08:00
parent 016080859d
commit b93b2f1180
41 changed files with 26240 additions and 1372 deletions

View File

@@ -1,9 +1,16 @@
/deep/.van-swipe__indicator {
width:.5rem;
height:.5rem;
}
/deep/.van-swipe__indicator--active{
background-color: #E1001A;
}
@media screen and (max-width:768px){
.searchBara{
position: fixed;
width: 100%;
position: fixed;
top:70px;
top:66px;
background: white;
z-index: 9999;
overflow-x: auto;
@@ -67,46 +74,11 @@
z-index: 2;
}
.rc-usermessage{
width: 80%;
margin: 0 auto;
text-align: center;
em{
font-style: normal;
font-size: 0.3rem;
display: block;
padding-top: 0.8rem;
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;
}
span{
font-size: 1rem;
display: block;
text-align: center;
}
}
.rc-video{
display: none;
@@ -119,7 +91,7 @@
.van-swipe-item {
color: #fff;
height: 3.75rem;
height: 26.31rem;
width: 100%;
font-size: 0.20px;
line-height: 1.50rem;
@@ -127,23 +99,15 @@
position: relative;
}
.rc-lunbo{
width: 100%;
margin-top: 0.46rem;
.rc-selection{
display: none;
}
h2{
text-align: center;
font-size: 0.26rem;
color: #E2001A;
}
#xxxFullScreen {
background-color: white;
margin-top: 0.40rem;
#swiper1 {
width: 100%;
overflow: hidden;
padding: 0 0 0.10rem 0;
}
.swiper-container{
height: 6.45rem;
@@ -155,7 +119,7 @@
position: relative;
}
#swiper1 .swiper-container .swiper-wrapper .swiper-slide {
width: 3rem;
width: 17.25rem;
//height: 6.45rem !important; //Auto adaption
}
@@ -176,9 +140,14 @@
}
.uservideo{
width: 100%;
height: 2.51rem;
display: block;
width: 100%;
height:auto;
max-height: 15.68rem;
display: block;
video{
max-width:100%;
max-height:100%;
}
}
}
.sw-center{
@@ -197,21 +166,20 @@
align-items: center;
}
img{
width: 1.6rem;
height: 1.6rem;
width: 10rem;
height: 10rem;
object-fit: cover;
display: block;
margin-top: 0.40rem;
margin-top: 2.5rem;
}
span{
font-size: 0.18rem;
font-size: 1.125rem;
color: #E2001A;
display: block;
margin-top: 0.20rem;
margin-top: 1.25rem;
}
p{
font-size: 0.14rem;
color: #666666;
font-size: .875rem;
text-overflow: -o-ellipsis-lastline;
overflow: hidden;
text-overflow: ellipsis;
@@ -219,37 +187,13 @@
-webkit-line-clamp: 2;
line-clamp: 2;
-webkit-box-orient: vertical;
width: 60%;
max-width: 60%;
text-align: center;
line-height:.24rem;
}
em{
font-style: normal;
font-size: 0.20rem;
color: #666666;
font-size: 1.25rem;
}
.sw-cen{
width: 100%;
display: flex;
justify-content: center;
position: relative;
z-index: 3;
padding-bottom: 0.2rem;
i{
font-style: normal;
width: 1.30rem;
height: 0.40rem;
border: 2px solid #E2001A;
border-radius: 0.30rem;
line-height: 0.40rem;
text-align: center;
color: #E2001A;
font-size: 0.14rem;
margin-top: 0.32rem;
display: block;
}
}
}
}
@@ -329,100 +273,6 @@
}
width: 100%;
margin-top: 0.45rem;
h2{
text-align: center;
font-size: 0.26rem;
color: #E2001A;
}
.rc-contair{
margin-top: 0.24rem;
.rc-rccontair{
height:1.60rem;display:flex;align-items: center
}
ul{
text-align: center;
align-items: center;
li{
width: 43%;
margin-top: 0.16rem;
flex-direction: column;
text-overflow: -o-ellipsis-lastline;
overflow: hidden;
text-overflow: ellipsis;
display: inline-flex;
background: #FFFFFF;
border: 1px solid #D7D7D7;
margin-left: 0.15rem;
border-radius: 0.03rem;
}
img{
width: 100%;
display: flex;
margin: 0 auto;
height:100%;
}
i{
font-style: normal;
font-size: 0.18rem;
margin-top: 0.08rem;
color: #666666;
display: block;
}
}
span{
font-size: 0.16rem;
color: #666666;
text-overflow: -o-ellipsis-lastline;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
line-clamp: 2;
-webkit-box-orient: vertical;
word-break: break-all;
white-space: normal;
height: 0.25rem;
margin-top: 0.08rem;
}
strong{
width: 1.30rem;
height: 0.40rem;
border: 2px solid #E2001A;
display: flex;
align-items: center;
justify-content: center;
border-radius: 30px;
margin: 0 auto;
font-size: 0.14rem;
color: #E2001A;
margin-top: 0.2rem;
margin-bottom: 0.3rem;
}
.userserlect{
display: flex;
width: 100%;
justify-content: center;
align-items: center;
margin-top: 0.40rem;
span{
width: 1.30rem;
height: 0.40rem;
background: #E2001A;
text-align: center;
line-height: 0.40rem;
border-radius: 0.30rem;
font-size: 0.14rem;
color: #FFFFFF;
}
}
}
}
}
.active {
@@ -465,11 +315,6 @@ object-fit: cover;
margin: 0 auto;
position: relative;
margin-top: 9.375rem;
h2{
text-align: center;
font-size: 2.5rem;
color: #E2001A;
}
#xxxFullScreen {
background-color: white;
margin-top: 100px;
@@ -508,7 +353,7 @@ object-fit: cover;
justify-content: space-evenly;
.rc-right
{
width: 4.40rem;
width: 27.5rem;
display: flex;
align-items: center;
justify-content: center;
@@ -545,18 +390,8 @@ object-fit: cover;
display: block;
margin-top: 1rem;
}
strong
.ts-standard-btn
{
font-style: normal;
width: 8.125rem;
height: 2.5rem;
border: 2px solid #E2001A;
border-radius: 1.875rem;
display: block;
line-height: 2.5rem;
text-align: center;
color:#E2001A;
font-size: .875rem;
margin-top: 1rem;
}
}
@@ -630,7 +465,8 @@ img{
.rc-max-width--xl {
.rc-ma
{
padding-bottom:28px;
padding:60px 0;
.ul-zhuan{
width: 100%;
display: flex;
@@ -638,12 +474,12 @@ img{
flex-wrap: wrap;
flex-direction: row;
span{
margin-top: .5rem;
margin-top: 2.5rem;
display: block;
}
img{
width: 9.875rem;
height: 9.875rem;
width: 9.5rem;
height: 9.5rem;
display: block;
}
li{
@@ -666,12 +502,6 @@ img{
display: none;
}
.selectionswitch{
width: 100%;
h2{
text-align: center;
font-size: 2.5rem;
color: #E2001A;
}
.van-tabs{
display: none;
}
@@ -691,93 +521,6 @@ margin-left: 2.5rem;
}
}
.rc-contair
{
margin-top: 1.25rem;
ul{
text-align: center;
margin-top: 4.8rem;
display: flex;
justify-content: space-between;
width: 100%;
li
{
border-radius: 3px;
display: inline-flex;
background: #FFFFFF;
flex-direction: column;
justify-content: center;
align-items: center;
border: 1px solid #D7D7D7;
margin-top: 2.5rem;
}
img{
width: 320px;
height:auto;
object-fit: contain;
display: flex;
margin: 0 auto;
}
i{
font-style: normal;
font-size: 1.125rem;
margin-top: .5rem;
color: #666666;
display: block;
font-size: 1.375rem;
color: #666666;
}
}
span{
font-size: 1.875rem;
color: #E2001A;
text-overflow: -o-ellipsis-lastline;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
line-clamp: 2;
margin-top:1rem;
-webkit-box-orient: vertical;
}
strong{
width: 8.125rem;
height: 2.5rem;
border: 2px solid #E2001A;
display: flex;
align-items: center;
justify-content: center;
border-radius: 1.875rem;
margin: 0 auto;
font-size: .875rem;
color: #E2001A;
margin-top: 1.5rem;
}
.userserlect{
display: flex;
width: 100%;
justify-content: center;
align-items: center;
padding-bottom: 5.5rem;
padding-top: 5rem;
span{
width: 8.125rem;
height: 2.5rem;
background: #E2001A;
text-align: center;
line-height: 2.5rem;
border-radius: 1.875rem;
font-size: .875rem;
color: #FFFFFF;
}
}
}
}
}
.active {
@@ -833,39 +576,10 @@ color: #E2001A;
}
.rc-usermessage{
width: 50%;
margin: 0 auto;
text-align: center;
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;
text-align: center;
}
}
}