mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-11-17 16:13:48 +08:00
Homepage / Product list / Product Detail / header / footer / RoyalCanin css,js added
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
@keyframes fadeOut {
|
||||
0% {
|
||||
opacity: 1
|
||||
}
|
||||
|
||||
to {
|
||||
opacity: 0
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes fadeIn {
|
||||
0% {
|
||||
opacity: 0
|
||||
}
|
||||
|
||||
to {
|
||||
opacity: 1
|
||||
}
|
||||
}
|
||||
@@ -10,23 +10,65 @@ img, picture {
|
||||
height: auto;
|
||||
}
|
||||
.rc-main {
|
||||
padding:0 1.25rem;
|
||||
padding-left:1.25rem;
|
||||
padding-right:1.25rem;
|
||||
box-sizing:border-box;
|
||||
margin:0 auto;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
}
|
||||
.ts-remove {
|
||||
text-decoration: line-through;
|
||||
}
|
||||
.ts-product-list{
|
||||
text-align: center;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-evenly;
|
||||
&:after{
|
||||
content:"";
|
||||
width:154px;
|
||||
}
|
||||
li{
|
||||
img{
|
||||
width: 320px;
|
||||
height:auto;
|
||||
object-fit: contain;
|
||||
display: flex;
|
||||
margin: 0 auto;
|
||||
border: 1px solid #D7D7D7;
|
||||
display: inline-flex;
|
||||
border-radius: 4px;
|
||||
flex-direction: column;
|
||||
max-width:10rem;
|
||||
.rc-column
|
||||
{
|
||||
text-align:center;
|
||||
padding:0 1rem;
|
||||
box-sizing: border-box;
|
||||
span{
|
||||
height:2.75rem;
|
||||
font-size: 1rem;
|
||||
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;
|
||||
color:#E2001A;
|
||||
}
|
||||
i{
|
||||
font-style: normal;
|
||||
font-size: 1.125rem;
|
||||
margin-top: .5rem;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
img{
|
||||
width:10rem;
|
||||
height:10rem;
|
||||
object-fit: contain;
|
||||
display: flex;
|
||||
margin: 0 auto;
|
||||
height: auto;
|
||||
}
|
||||
.active{
|
||||
color: #E2001A;
|
||||
cursor: pointer;
|
||||
@@ -36,24 +78,37 @@ img, picture {
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
.rc-age{
|
||||
display: flex;
|
||||
h2{
|
||||
color:#333333;
|
||||
.rc-container {
|
||||
height: 100%;
|
||||
max-width: 1400px;
|
||||
background-color: #fff;
|
||||
margin: auto;
|
||||
}
|
||||
.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;
|
||||
font-size: .875rem;
|
||||
color: #fff;
|
||||
cursor: pointer;
|
||||
text-align: center;
|
||||
background: #E2001A;
|
||||
&.center{
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
}
|
||||
ol{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: nowrap;
|
||||
text-align: center;
|
||||
width: 86%;
|
||||
}
|
||||
li{
|
||||
flex-shrink: 0;
|
||||
&.ts-standard-btn--two{
|
||||
background-color: transparent;
|
||||
color: #e2001a;
|
||||
border-color: #e2001a;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.rc-mubu{
|
||||
height: 100%;
|
||||
background: #333333;
|
||||
@@ -63,14 +118,41 @@ img, picture {
|
||||
width: 100%;
|
||||
z-index: 8;
|
||||
}
|
||||
.ts-scrollable{
|
||||
overflow-y:hidden;
|
||||
overflow-x:auto;
|
||||
white-space: nowrap;
|
||||
&::-webkit-scrollbar{
|
||||
display:none;
|
||||
}
|
||||
}
|
||||
.ts-scrollable-container{
|
||||
display: flex;
|
||||
h2{
|
||||
margin:0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.ts-scrollable{
|
||||
overflow-y:hidden;
|
||||
overflow-x:auto;
|
||||
white-space: nowrap;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: nowrap;
|
||||
text-align: center;
|
||||
width: 86%;
|
||||
&::-webkit-scrollbar{
|
||||
display:none;
|
||||
}
|
||||
li{
|
||||
border-radius: 100px;
|
||||
}
|
||||
}
|
||||
.active{
|
||||
color: #E2001A;
|
||||
cursor: pointer;
|
||||
border: 2px solid #E2001A;
|
||||
}
|
||||
.unactive{
|
||||
color:#999999;
|
||||
cursor: pointer;
|
||||
border: 2px solid #d7d7d7;
|
||||
}
|
||||
}
|
||||
|
||||
.online{
|
||||
width:100%;
|
||||
background:#d7d7d7;
|
||||
@@ -90,6 +172,10 @@ img, picture {
|
||||
position: fixed;
|
||||
right: 0;
|
||||
top: 30%;
|
||||
background: #FFFFFF;
|
||||
box-shadow: 0px 0px .62rem rgba(0, 0, 0, 0.16);
|
||||
border-radius: .25rem;
|
||||
z-index:3;
|
||||
ul{
|
||||
width: 60px;
|
||||
height: 181px;
|
||||
@@ -103,7 +189,7 @@ img, picture {
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
margin-top: 0.18rem;
|
||||
margin-top: 1.125rem;
|
||||
}
|
||||
li:last-child{
|
||||
margin-bottom: 0.2rem;
|
||||
@@ -131,7 +217,6 @@ img, picture {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-top: 8px;
|
||||
img{
|
||||
width: 0.22rem;
|
||||
height: 0.22rem;
|
||||
@@ -195,78 +280,59 @@ img, picture {
|
||||
z-index:3;
|
||||
}
|
||||
}
|
||||
.rc-age{
|
||||
.ts-scrollable-container{
|
||||
margin-bottom:1.25rem;
|
||||
&:last-child{
|
||||
margin-bottom:0;
|
||||
}
|
||||
h2{
|
||||
font-size: 16px;
|
||||
margin-right:.1rem;
|
||||
}
|
||||
ol{
|
||||
font-size: 12px;
|
||||
}
|
||||
li{
|
||||
width: .64rem;
|
||||
height: 26px;
|
||||
line-height: 26px;
|
||||
border-radius: 100px;
|
||||
margin-left: 9px;
|
||||
}
|
||||
}
|
||||
.ts-scrollable{
|
||||
.active{
|
||||
border: 2px solid #E2001A;
|
||||
}
|
||||
.unactive{
|
||||
border: 2px solid #d7d7d7;
|
||||
.ts-scrollable{
|
||||
li{
|
||||
width: 4.125rem;
|
||||
height: 1.625rem;
|
||||
margin-left: .5rem;
|
||||
font-size:.75rem;
|
||||
line-height: 1.375rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
/* pc端 */
|
||||
@media screen and (min-width: 769px)
|
||||
{
|
||||
/deep/.van-tabs__wrap
|
||||
{
|
||||
max-width: 768px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size:16px;
|
||||
}
|
||||
.rc-top{
|
||||
margin-top: 124px;
|
||||
}
|
||||
.ts-list--four-column {
|
||||
-webkit-column-count: 4;
|
||||
column-count: 4;
|
||||
}
|
||||
.rc-list__header{
|
||||
background: none;
|
||||
padding: .5rem 0;
|
||||
border-bottom: none;
|
||||
}
|
||||
.rc-padding--sm {
|
||||
padding: 2rem;
|
||||
}
|
||||
.rc-margin-bottom--xs {
|
||||
margin-bottom: .5rem;
|
||||
}
|
||||
.rc-header {
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
.rc-header__logo {
|
||||
width: 120px;
|
||||
}
|
||||
.rc-header__nav--primary {
|
||||
height: 80px;
|
||||
}
|
||||
.rc-list--inline .list__item, .rc-list--inline .rc-list__item {
|
||||
margin-right: 32px;
|
||||
}
|
||||
.rc-btn--action, .rc-btn--icon, .rc-btn--icon--xs, .rc-input__submit--micro, .rc-input__submit--search {
|
||||
min-width: 48px;
|
||||
height: 48px;
|
||||
}
|
||||
.rc-md-down {
|
||||
display: none!important;
|
||||
}
|
||||
.ts-list--four-column, .ts-list--four-column .list, .ts-list--four-column .rc-list {
|
||||
page-break-inside: avoid;
|
||||
break-inside: avoid;
|
||||
.ts-product-list{
|
||||
text-align: left;
|
||||
display:block;
|
||||
li{
|
||||
max-width:20rem;
|
||||
margin-right:.9rem;
|
||||
margin-left:.9rem;
|
||||
.rc-column{
|
||||
span{
|
||||
font-size:1.875rem;
|
||||
height: 5.2rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
img{
|
||||
width:20rem;
|
||||
}
|
||||
}
|
||||
.rc-main {
|
||||
width:100%;
|
||||
@@ -282,9 +348,6 @@ img, picture {
|
||||
}
|
||||
.rc-fixright{
|
||||
width:5.5rem;
|
||||
background: #FFFFFF;
|
||||
box-shadow: 0px 0px .62rem rgba(0, 0, 0, 0.16);
|
||||
border-radius: .25rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
@@ -348,20 +411,24 @@ img, picture {
|
||||
}
|
||||
}
|
||||
|
||||
.ts-scrollable{
|
||||
.rc-age{
|
||||
h2
|
||||
{
|
||||
font-size: 20px;
|
||||
color: #333333;
|
||||
}
|
||||
.ts-scrollable-container
|
||||
{
|
||||
margin-top:1.25rem;
|
||||
&:last-child{
|
||||
margin-bottom:0;
|
||||
}
|
||||
h2{
|
||||
font-size:20px;
|
||||
}
|
||||
.ts-scrollable
|
||||
{
|
||||
li
|
||||
{
|
||||
margin-left: 40px;
|
||||
width: 100px;
|
||||
height: 40px;
|
||||
width: 8.125rem;
|
||||
height: 2.5rem;
|
||||
line-height: 40px;
|
||||
font-size: 18px;
|
||||
font-size: .875rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -230,84 +230,6 @@ ul li ol li em strong i {
|
||||
}
|
||||
}
|
||||
*/
|
||||
.rc-contair{
|
||||
.rc-rccontair{
|
||||
height:160px;
|
||||
display:flex;
|
||||
align-items: center;
|
||||
}
|
||||
ul{
|
||||
text-align: center;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-evenly;
|
||||
&:after{
|
||||
content:"";
|
||||
width:154px;
|
||||
}
|
||||
li{
|
||||
margin-bottom: .16rem;
|
||||
border: 1px solid #D7D7D7;
|
||||
display: inline-flex;
|
||||
border-radius: 4px;
|
||||
flex-direction: column;
|
||||
max-width:1.6rem;
|
||||
.rc-column
|
||||
{
|
||||
text-align:center;
|
||||
padding:0 .15rem;
|
||||
box-sizing: border-box;
|
||||
span{
|
||||
height:.44rem;
|
||||
font-size: 0.16rem;
|
||||
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;
|
||||
color:#E2001A;
|
||||
}
|
||||
}
|
||||
}
|
||||
img{
|
||||
max-width:1.6rem;
|
||||
display: flex;
|
||||
margin: 0 auto;
|
||||
height: auto;
|
||||
}
|
||||
i{
|
||||
font-style: normal;
|
||||
font-size: .18rem;
|
||||
margin-top: 8px;
|
||||
color: #666666;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
.rc-click{
|
||||
/*
|
||||
max-height: 1.9rem;
|
||||
min-height: 1.9rem;
|
||||
*/
|
||||
}
|
||||
strong{
|
||||
width: 1.2rem;
|
||||
height: 40px;
|
||||
border: 2px solid #E2001A;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 30px;
|
||||
margin: 0 auto;
|
||||
font-size: 14px;
|
||||
color: #E2001A;
|
||||
margin-top: 8px;
|
||||
margin-bottom: 32px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//pc端
|
||||
@@ -439,7 +361,6 @@ border-radius: 30px;
|
||||
}
|
||||
}
|
||||
.rc-product {
|
||||
margin-top: 30px;
|
||||
h2 {
|
||||
font-size: 18px;
|
||||
color: #333333;
|
||||
@@ -451,25 +372,24 @@ border-radius: 30px;
|
||||
align-items: center;
|
||||
flex-wrap: nowrap;
|
||||
.rc-cat {
|
||||
width: 108px;
|
||||
width: 327px;
|
||||
height: 48px;
|
||||
border-radius: 30px;
|
||||
background: #ffffff;
|
||||
border-radius: 100px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
justify-content: center;
|
||||
font-size: 14px;
|
||||
&:last-child{
|
||||
margin-left: 16px;
|
||||
}
|
||||
span {
|
||||
margin-left: 0px;
|
||||
font-size: 18px;
|
||||
}
|
||||
img {
|
||||
/*
|
||||
width: 24px;
|
||||
height: 16px;
|
||||
*/
|
||||
display:none;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -521,75 +441,4 @@ border-radius: 30px;
|
||||
}
|
||||
}
|
||||
*/
|
||||
.rc-contair{
|
||||
margin-top: 40px;
|
||||
ul{
|
||||
text-align: center;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
width: 100%;
|
||||
li{
|
||||
border: 1px solid #D7D7D7;
|
||||
border-radius: 3px;
|
||||
box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.09);
|
||||
margin-bottom:40px;
|
||||
margin-right:16px;
|
||||
max-width: 320px;
|
||||
.rc-column
|
||||
{
|
||||
text-align:center;
|
||||
padding:0 .15rem;
|
||||
box-sizing: border-box;
|
||||
margin-bottom: 32px;
|
||||
span
|
||||
{
|
||||
height:80px;
|
||||
font-size: 30px;
|
||||
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;
|
||||
color:#E2001A;
|
||||
}
|
||||
i{
|
||||
font-style: normal;
|
||||
font-size: 22px;
|
||||
margin-top: 8px;
|
||||
color: #666666;
|
||||
display: block;
|
||||
}
|
||||
strong{
|
||||
width: 1.2rem;
|
||||
height: 40px;
|
||||
border: 2px solid #E2001A;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 30px;
|
||||
margin: 0 auto;
|
||||
font-size: 14px;
|
||||
color: #E2001A;
|
||||
margin-top: 8px;
|
||||
}
|
||||
}
|
||||
}
|
||||
img{
|
||||
width: 320px;
|
||||
height:auto;
|
||||
object-fit: contain;
|
||||
display: flex;
|
||||
margin: 0 auto;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.rc-rccontair{
|
||||
height:320px;display:flex;align-items: center
|
||||
}
|
||||
}
|
||||
}
|
||||
1934
rc-busness/assets/css/royalcanin-custom.css
Normal file
1934
rc-busness/assets/css/royalcanin-custom.css
Normal file
File diff suppressed because it is too large
Load Diff
23308
rc-busness/assets/css/royalcanin-standard.css
Normal file
23308
rc-busness/assets/css/royalcanin-standard.css
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user