mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-11-21 09:56:54 +08:00
Homepage / Product list / Product Detail / header / footer / RoyalCanin css,js added
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user