mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-11-20 09:33:47 +08:00
Layout fixed
This commit is contained in:
595
rc-busness/assets/css/product-list.less
Normal file
595
rc-busness/assets/css/product-list.less
Normal file
@@ -0,0 +1,595 @@
|
||||
/deep/ .el-drawer{
|
||||
height: 60%;
|
||||
}
|
||||
ul li ol li em strong i {
|
||||
list-style: none;
|
||||
font-style: normal;
|
||||
}
|
||||
.rc-main {
|
||||
//rc-main start
|
||||
margin-top:.23rem;
|
||||
.usersearch {
|
||||
margin: 0 auto;
|
||||
overflow: hidden;
|
||||
}
|
||||
//rc-main end
|
||||
}
|
||||
|
||||
//手机端
|
||||
@media screen and (max-width: 768px) {
|
||||
.usercontentshow{
|
||||
position: relative;
|
||||
}
|
||||
.online{height:.08rem;}
|
||||
.rc-mubu{
|
||||
height: 100%;
|
||||
background: #333333;
|
||||
opacity: 0.6;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
z-index: 998;
|
||||
}
|
||||
.rc-bottom{
|
||||
.rc-footer
|
||||
{
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
span
|
||||
{
|
||||
width: 155px;
|
||||
height: 48px;
|
||||
border: 2px solid #E1001A;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 14px;
|
||||
color: #E1001A;
|
||||
border-radius: 30px;
|
||||
}
|
||||
em{
|
||||
width: 155px;
|
||||
margin-left: 25px;
|
||||
height: 48px;
|
||||
background: #E2001A;
|
||||
border-radius: 30px;
|
||||
font-size: 14px;
|
||||
color:#FFFFFF;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-style: normal;
|
||||
justify-content: center;
|
||||
list-style: none;
|
||||
}
|
||||
}
|
||||
position: relative;
|
||||
height: 100%;
|
||||
height: 617px;
|
||||
background: white;
|
||||
z-index: 999;
|
||||
.rc-productcat {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: nowrap;
|
||||
.rc-cat {
|
||||
width: 32%;
|
||||
height: 34px;
|
||||
background: #ffffff;
|
||||
border-radius: 100px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-left: 0;
|
||||
font-size: 14px;
|
||||
span {
|
||||
margin-left: 3px;
|
||||
}
|
||||
img {
|
||||
width: 24px;
|
||||
height: 16px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/deep/ .van-search__content {
|
||||
width: 250px;
|
||||
height: 32px;
|
||||
border: 1px solid #d7d7d7;
|
||||
border-radius: 200px;
|
||||
background: white;
|
||||
}
|
||||
.rc-search {
|
||||
width: 69px;
|
||||
height: 32px;
|
||||
background: #e1001a;
|
||||
border-radius: 200px;
|
||||
text-align: center;
|
||||
color: white;
|
||||
}
|
||||
.rc-title {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin: 0 auto;
|
||||
color: #333333;
|
||||
margin-top: 12px;
|
||||
h2 {
|
||||
font-size: 18px;
|
||||
color: #333333;
|
||||
margin-left: 12px;
|
||||
}
|
||||
span {
|
||||
font-size: 14px;
|
||||
color: #666666;
|
||||
border-bottom: 1px solid #666666;
|
||||
display: block;
|
||||
margin-right: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
.rc-variety {
|
||||
ul {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: nowrap;
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
|
||||
}
|
||||
ul li {
|
||||
width: 80px;
|
||||
height: 32px;
|
||||
background: #ffffff;
|
||||
border: 1px solid #d7d7d7;
|
||||
border-radius: 100px;
|
||||
text-align: center;
|
||||
font-size: 14px;
|
||||
float: left;
|
||||
line-height: 32px;
|
||||
margin-left: 11px;
|
||||
}
|
||||
}
|
||||
.rc-product {
|
||||
h2 {
|
||||
font-size: 18px;
|
||||
color: #333333;
|
||||
margin-left: 12px;
|
||||
}
|
||||
}
|
||||
.rc-productcat {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: nowrap;
|
||||
margin-bottom:.1rem;
|
||||
.rc-cat {
|
||||
width: 32%;
|
||||
height: 34px;
|
||||
background: #ffffff;
|
||||
border-radius: 100px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: .14rem;
|
||||
margin-right:.2rem;
|
||||
span {
|
||||
margin-left: 3px;
|
||||
}
|
||||
img {
|
||||
width: 24px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
.rc-productright {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
img {
|
||||
width: 24px;
|
||||
height: 20px;
|
||||
margin-left: 15px;
|
||||
}
|
||||
span {
|
||||
font-size: 14px;
|
||||
color: #666666;
|
||||
margin-left: 8px;
|
||||
}
|
||||
}
|
||||
/*
|
||||
.rc-prefecture{
|
||||
display: flex;
|
||||
h2{
|
||||
font-size: 16px;
|
||||
color: #333333;
|
||||
}
|
||||
ol{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: nowrap;
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
width: 80%;
|
||||
}
|
||||
li{
|
||||
width: 40%;
|
||||
height: 26px;
|
||||
background: #FFFFFF;
|
||||
border: 1px solid #D7D7D7;
|
||||
line-height: 26px;
|
||||
float: left;
|
||||
border-radius: 100px;
|
||||
margin-left: 9px;
|
||||
}
|
||||
}
|
||||
*/
|
||||
.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端
|
||||
@media screen and (min-width: 768px){
|
||||
/deep/.el-dialog {
|
||||
width: 920px;
|
||||
height: 570px;
|
||||
background: #FFFFFF;
|
||||
}
|
||||
|
||||
.rc-button
|
||||
{
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
font-size: 16px;
|
||||
width: 100%;
|
||||
padding: 40px 0 40px 0;
|
||||
span
|
||||
{
|
||||
width: 160px;
|
||||
height: 48px;
|
||||
border: 2px solid #E2001A;
|
||||
border-radius: 30px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: #E2001A;
|
||||
cursor: pointer;
|
||||
}
|
||||
em{
|
||||
font-style: normal;
|
||||
width: 164px;
|
||||
height: 48px;
|
||||
background: #E2001A;
|
||||
cursor: pointer;
|
||||
border-radius: 30px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: #FFFFFF;
|
||||
margin-left: 40px;
|
||||
}
|
||||
}
|
||||
.rc-cat{
|
||||
//margin-top: 24px;
|
||||
}
|
||||
|
||||
.rc-bottom{
|
||||
.rc-productcat {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: nowrap;
|
||||
.rc-cat {
|
||||
width: 237px;
|
||||
height: 48px;
|
||||
border-radius: 30px;
|
||||
background: #ffffff;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-left: 16px;
|
||||
font-size: 14px;
|
||||
span {
|
||||
margin-left: 3px;
|
||||
}
|
||||
|
||||
img {
|
||||
width: 24px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
.form-search {
|
||||
display: none;
|
||||
}
|
||||
.rc-title {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin: 0 auto;
|
||||
color: #333333;
|
||||
margin-top: 12px;
|
||||
h2 {
|
||||
font-size: 18px;
|
||||
color: #333333;
|
||||
margin-left: 12px;
|
||||
}
|
||||
span {
|
||||
font-size: 14px;
|
||||
color: #666666;
|
||||
border-bottom: 1px solid #666666;
|
||||
display: block;
|
||||
margin-right: 8px;
|
||||
}
|
||||
.rc-change{
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.rc-variety {
|
||||
margin-top: 30px;
|
||||
ul {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: nowrap;
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
|
||||
|
||||
}
|
||||
ul li {
|
||||
width: 80px;
|
||||
height: 32px;
|
||||
background: #ffffff;
|
||||
border: 1px solid #d7d7d7;
|
||||
border-radius: 100px;
|
||||
text-align: center;
|
||||
font-size: 14px;
|
||||
// color: #999999;
|
||||
float: left;
|
||||
line-height: 32px;
|
||||
margin-left: 11px;
|
||||
}
|
||||
}
|
||||
.rc-product {
|
||||
margin-top: 30px;
|
||||
h2 {
|
||||
font-size: 18px;
|
||||
color: #333333;
|
||||
margin-left: 12px;
|
||||
}
|
||||
}
|
||||
.rc-productcat {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: nowrap;
|
||||
.rc-cat {
|
||||
width: 108px;
|
||||
height: 48px;
|
||||
border-radius: 30px;
|
||||
background: #ffffff;
|
||||
border-radius: 100px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
font-size: 14px;
|
||||
span {
|
||||
margin-left: 0px;
|
||||
font-size: 18px;
|
||||
}
|
||||
img {
|
||||
/*
|
||||
width: 24px;
|
||||
height: 16px;
|
||||
*/
|
||||
display:none;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
.rc-productright {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
img {
|
||||
width: 24px;
|
||||
height: 20px;
|
||||
margin-left: 15px;
|
||||
}
|
||||
span {
|
||||
font-size: 14px;
|
||||
color: #666666;
|
||||
margin-left: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
.rc-prefecture{
|
||||
display: flex;
|
||||
margin-top: 47px;
|
||||
h2{
|
||||
font-size: 20px;
|
||||
color: #333333;
|
||||
margin-left: 12px;
|
||||
}
|
||||
ol{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: nowrap;
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
width: 88%;
|
||||
}
|
||||
li{
|
||||
width: 130px;
|
||||
height: 40px;
|
||||
border: 2px solid #D7D7D7;
|
||||
opacity: 1;
|
||||
border-radius: 30px;
|
||||
background: #FFFFFF;
|
||||
line-height: 40px;
|
||||
float: left;
|
||||
margin-left: 40px;
|
||||
color: #999999;
|
||||
}
|
||||
}
|
||||
*/
|
||||
.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