smart-admin/rc-busness/assets/css/search.less
2022-01-08 20:29:31 +08:00

593 lines
12 KiB
Plaintext

.rc-top{
position: relative;
}
/deep/ .el-drawer{
height: 60%;
}
ul li ol li em strong i {
list-style: none;
font-style: normal;
}
.rc-main {
.usersearch {
width: 100%;
margin: 0 auto;
overflow: hidden;
}
}
//手机端
@media screen and (max-width: 768px) {
.usercontentshow{
position: relative;
}
.rc-bottom{
position: relative;
background: white;
z-index: 9;
.rc-bottoma{
margin-bottom:2rem;
}
.rc-footer{
display: flex;
align-items: center;
justify-content: space-evenly;
width: 100%;
padding: 0 0.5rem;
box-sizing: border-box;
span{
width: 1.55rem;
height: 0.48rem;
border: 2px solid #E1001A;
display: flex;
align-items: center;
justify-content: center;
font-size: 0.14rem;
color: #E1001A;
border-radius: 0.30rem;
}
em{
width: 1.55rem;
margin-left: 0.25rem;
height: 0.48rem;
background: #E2001A;
border-radius: 0.30rem;
font-size: 0.14rem;
color:#FFFFFF;
display: flex;
align-items: center;
font-style: normal;
justify-content: center;
list-style: none;
}
}
.rc-cat{
margin-top: 0.24rem;
}
.active{
border: 2px solid #E2001A;
color: #E2001A;
cursor: pointer;
}
.unactive{
border: 2px solid #d7d7d7;
color:#999999;
cursor: pointer;
}
.rc-productcat {
display: flex;
align-items: center;
flex-wrap: nowrap;
.rc-cat {
width: 32%;
height: 0.34rem;
background: #ffffff;
border-radius: 1rem;
display: flex;
align-items: center;
justify-content: center;
margin-left: 0.16rem;
font-size: 0.14rem;
span {
margin-left: 0.03rem;
}
img {
width: 0.24rem;
height: 0.16rem;
}
}
}
}
/deep/ .van-search__content {
width: 2.50rem;
height: 0.32rem;
border: 1px solid #d7d7d7;
border-radius: 2rem;
background: white;
}
.rc-search {
width: 0.69rem;
height: 0.32rem;
background: #e1001a;
border-radius: 2rem;
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;
.rc-cat {
width: 32%;
height: 34px;
background: #ffffff;
border-radius: 100px;
display: flex;
align-items: center;
justify-content: center;
margin-left: 16px;
font-size: 14px;
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;
margin-left: 12px;
}
ol{
display: flex;
align-items: center;
flex-wrap: nowrap;
font-size: 12px;
text-align: center;
width: 80%;
overflow-x: auto;
white-space: nowrap;
}
li{
display: inline-block;
text-align: center;
display: flex;
align-items: center;
height: 26px;
background: #FFFFFF;
border: 1px solid #D7D7D7;
padding: 0 5px 0 5px;
border-radius: 100px;
}
}
.rc-contair{
margin-top: 24px;
.rc-rccontair{
height:1.6rem;display:flex;align-items: center;
width: 100%
}
ul{
text-align: center;
align-items: center;
flex-wrap: nowrap;
li{
width: 43%;
margin-top: 16px;
background: #FFFFFF;
border: 1px solid #D7D7D7;
margin-left: 15px;
display: inline-flex;
flex-direction: column;
border-radius: 3px;
}
img{
width: 100%;
display: flex;
margin: 0 auto;
height: 100%
;
}
i{
font-style: normal;
font-size: 18px;
margin-top: 8px;
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;
margin-top: 0.15rem;
height: 0.25rem;
}
strong{
width: 130px;
height: 40px;
border: 2px solid #E2001A;
display: flex;
align-items: center;
justify-content: center;
border-radius: 30px;
margin: 0 auto;
font-size: 14px;
margin-bottom: 0.32rem;
margin-top: 20px;
color: #E2001A;
margin-top: 20px;
}
.rc-click{
max-height: 1.9rem;
min-height: 1.9rem;
}
}
}
//pc端
@media screen and (min-width: 768px) and (max-width: 1920px) {
/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-bottom{
.rc-cat{
margin-top: 24px;
}
.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: 237px;
height: 48px;
border-radius: 30px;
background: #ffffff;
border-radius: 100px;
display: flex;
align-items: center;
justify-content: center;
margin-left: 16px;
font-size: 14px;
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;
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: 80%;
}
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;
align-items: center;
flex-wrap: nowrap;
width: 100%;
overflow: hidden;
li{
float: left;
width: 21%;
margin-top: 16px;
height: 560px;
background: #FFFFFF;
border: 1px solid #D7D7D7;
margin-left: 40px;
border-radius: 3px;
}
img{
width: 85px;
display: flex;
margin: 0 auto;
height: 114px
;
}
i{
font-style: normal;
font-size: 22px;
margin-top: 8px;
color: #666666;
display: block;
}
}
span{
overflow:hidden;
text-overflow:ellipsis;
-webkit-box-orient:vertical;
-webkit-line-clamp:2;
display: flex;
font-size: 30px;
color: #E2001A;
margin-top: 8px;
width: 256px;
text-align: center;
margin: 0 auto;
}
strong{
width: 134px;
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;
}
.rc-rccontair{
height:320px;display:flex;align-items: center
}
}
}