You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
215 lines
3.5 KiB
215 lines
3.5 KiB
2 years ago
|
/* pages/search/search.wxss */
|
||
|
page{
|
||
|
background-color: #F6F6FB;
|
||
|
}
|
||
|
.container{
|
||
|
font-size: 30rpx;
|
||
|
/* height: 100vh;
|
||
|
overflow-x: hidden;
|
||
|
overflow-y: auto; */
|
||
|
}
|
||
|
.searchBox{
|
||
|
display: flex;
|
||
|
width: 100%;
|
||
|
padding: 6rpx 0 17rpx 30rpx;
|
||
|
box-sizing: border-box;
|
||
|
background-color: #fff;
|
||
|
}
|
||
|
.searchBox_btn{
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
justify-content: center;
|
||
|
height: 68rpx;
|
||
|
padding: 0 30rpx 0 20rpx;
|
||
|
font-size: 28rpx;
|
||
|
}
|
||
|
.searchBox .searchBox_left {
|
||
|
position: relative;
|
||
|
flex: 1;
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
height: 68rpx;
|
||
|
border-radius: 40rpx;
|
||
|
padding-left: 69rpx;
|
||
|
box-sizing: border-box;
|
||
|
background-color: #F4F5F6;
|
||
|
}
|
||
|
.searchBox_left image{
|
||
|
position: absolute;
|
||
|
top: 50%;
|
||
|
transform: translateY(-50%);
|
||
|
left: 20rpx;
|
||
|
width: 30rpx;
|
||
|
height: 30rpx;
|
||
|
}
|
||
|
.searchBox_left .cancel{
|
||
|
width: 35rpx;
|
||
|
height: 35rpx;
|
||
|
left: 570rpx;
|
||
|
z-index: 10;
|
||
|
}
|
||
|
|
||
|
.searchBox_left input{
|
||
|
width: 100%;
|
||
|
font-size: 28rpx;
|
||
|
color: #020202;
|
||
|
}
|
||
|
.list{
|
||
|
background: #f5f5f5;
|
||
|
width: 100%;
|
||
|
}
|
||
|
.commodity_screen {
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
position: fixed;
|
||
|
top: 0;
|
||
|
left: 0;
|
||
|
background: #000;
|
||
|
opacity: 0.2;
|
||
|
overflow: hidden;
|
||
|
z-index: 1000;
|
||
|
color: #fff;
|
||
|
}
|
||
|
.commodity_attr_box {
|
||
|
width: 100%;
|
||
|
overflow: hidden;
|
||
|
position: fixed;
|
||
|
bottom: 0;
|
||
|
left: 0;
|
||
|
z-index: 2000;
|
||
|
background: #fff;
|
||
|
padding-top: 20rpx;
|
||
|
}
|
||
|
.mt10{
|
||
|
margin: 0 auto;
|
||
|
text-align: center;
|
||
|
height: 70rpx;
|
||
|
width: 450rpx;
|
||
|
line-height: 70rpx;
|
||
|
border-radius:10rpx;
|
||
|
border: 1px solid #999;
|
||
|
font-size: 30rpx;
|
||
|
margin-top: 30rpx;
|
||
|
}
|
||
|
.cont {
|
||
|
width: 100%;
|
||
|
margin: 0 auto;
|
||
|
}
|
||
|
.cont .product {
|
||
|
margin-bottom:10rpx;
|
||
|
background:#fff;
|
||
|
display:inline-block;
|
||
|
width:46%;
|
||
|
margin-left:22rpx;
|
||
|
font-size:13px;
|
||
|
border-radius: 10rpx;
|
||
|
overflow: hidden;
|
||
|
}
|
||
|
|
||
|
.cont_image {
|
||
|
width: 100%;
|
||
|
height: 285rpx;
|
||
|
}
|
||
|
|
||
|
.cont .title {
|
||
|
font-size: 28rpx;
|
||
|
color: #333;
|
||
|
line-height: 28px;
|
||
|
margin: 0;
|
||
|
max-height: 60rpx;
|
||
|
display: -webkit-box;
|
||
|
-webkit-line-clamp: 2;
|
||
|
-webkit-box-orient: vertical;
|
||
|
overflow: hidden;
|
||
|
text-overflow: ellipsis;
|
||
|
padding: 0 20rpx 0 20rpx;
|
||
|
}
|
||
|
|
||
|
.cont .gstatus{
|
||
|
color: #999;
|
||
|
font-size: 21rpx;
|
||
|
margin: 5rpx 20rpx 10rpx 20rpx;
|
||
|
/* border-radius: 40rpx; */
|
||
|
padding: 3rpx 5rpx;
|
||
|
height: 25rpx;
|
||
|
width: 45rpx;
|
||
|
line-height: 25rpx;
|
||
|
text-align: center;
|
||
|
border: 1rpx solid #999;
|
||
|
}
|
||
|
|
||
|
.photo{
|
||
|
height:345rpx;
|
||
|
width:100%;
|
||
|
}
|
||
|
.cont .photo {
|
||
|
background:#fff;
|
||
|
display:inline-block;
|
||
|
}
|
||
|
.co .title {
|
||
|
font-size: 32rpx;
|
||
|
color: #333;
|
||
|
line-height: 20px;
|
||
|
margin: 0;
|
||
|
height: 20px;
|
||
|
padding: 1% 5% 0 5%;
|
||
|
font-weight: 700;
|
||
|
overflow:hidden;
|
||
|
text-overflow:ellipsis;
|
||
|
display:-webkit-box;
|
||
|
-webkit-line-clamp:1;
|
||
|
-webkit-box-orient:vertical;
|
||
|
}
|
||
|
.gmxx {
|
||
|
padding-left:20rpx;
|
||
|
width:74%;
|
||
|
}
|
||
|
|
||
|
.gmx {
|
||
|
text-align: right;
|
||
|
width: 67%;
|
||
|
font-size: 25rpx;
|
||
|
text-decoration:line-through;
|
||
|
color: #999;
|
||
|
margin-right:7px;
|
||
|
}
|
||
|
.gmx .xiaoliang {
|
||
|
font-size: 26rpx;
|
||
|
}
|
||
|
.gmxx button {
|
||
|
border-radius: 0;
|
||
|
background: #dd2727;
|
||
|
text-align: center;
|
||
|
color: #fff;
|
||
|
font-size: 14px;
|
||
|
width: 30%;
|
||
|
text-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
|
||
|
font-family: '\5FAE\8F6F\96C5\9ED1', arial, "\5b8b\4f53";
|
||
|
}
|
||
|
.gmxx{
|
||
|
font-size: 15px;
|
||
|
color: #fa5151;
|
||
|
/*padding-top: 10px; */
|
||
|
}
|
||
|
.ku{
|
||
|
text-align: right;
|
||
|
width: 50%;
|
||
|
font-size: 23rpx;
|
||
|
margin-right:10rpx;
|
||
|
color: #999;
|
||
|
}
|
||
|
.goods_shopBox{
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
margin: 15rpx 20rpx 15rpx;
|
||
|
font-size: 20rpx;
|
||
|
color: #1d1313;
|
||
|
}
|
||
|
.goods_shopBox .goods_shop{
|
||
|
width: 30rpx;
|
||
|
height: 30rpx;
|
||
|
border-radius: 50%;
|
||
|
margin-right: 10rpx;
|
||
|
}
|
||
|
|