Initial Commit
This commit is contained in:
225
pages/search_details/search_details.wxss
Normal file
225
pages/search_details/search_details.wxss
Normal file
@ -0,0 +1,225 @@
|
||||
|
||||
page {
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
.top-all{
|
||||
background-color: #ffffff;
|
||||
height: 90rpx;
|
||||
width: 690rpx;
|
||||
padding: 0 30rpx;
|
||||
text-align: center;
|
||||
position: relative;
|
||||
font-size: 36rpx;
|
||||
color: #333333;
|
||||
}
|
||||
.back{
|
||||
height: 90rpx;
|
||||
position: absolute;
|
||||
left: 30rpx;
|
||||
}
|
||||
.back image{
|
||||
width: 40rpx;
|
||||
height: 40rpx;
|
||||
}
|
||||
.ipt{
|
||||
margin-left: 90rpx;
|
||||
width: 380rpx;
|
||||
height: 56rpx;
|
||||
background-color: #f3f4f8;
|
||||
border-radius: 28rpx;
|
||||
position: relative;
|
||||
}
|
||||
.ipt input{
|
||||
height: 56rpx;
|
||||
border: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 340rpx;
|
||||
padding:0 20rpx;
|
||||
line-height: 56rpx;
|
||||
text-align: left;
|
||||
}
|
||||
.search-cont{
|
||||
height: 38rpx;
|
||||
background-color: #999999;
|
||||
border-radius: 19rpx;
|
||||
line-height: 38rpx;
|
||||
padding: 0 20rpx;
|
||||
position: absolute;
|
||||
left: 80rpx;
|
||||
top: 12rpx;
|
||||
font-size: 24rpx;
|
||||
color: #ffffff;
|
||||
}
|
||||
.search-cont image{
|
||||
width: 12rpx;
|
||||
height: 12rpx;
|
||||
margin-left: 12rpx;
|
||||
}
|
||||
|
||||
.type-all{
|
||||
padding-left:30rpx;
|
||||
height: 100rpx;
|
||||
background-color: #ffffff;
|
||||
margin-bottom: 30rpx;
|
||||
overflow-x: scroll;
|
||||
}
|
||||
.type{
|
||||
text-align: center;
|
||||
}
|
||||
.type-name{
|
||||
font-size: 28rpx;
|
||||
color: #999999;
|
||||
width: 140rpx;
|
||||
text-align: center;
|
||||
}
|
||||
.type-active .type-name{
|
||||
font-size: 32rpx;
|
||||
color: #ee7b1e;
|
||||
}
|
||||
|
||||
.img image{
|
||||
width: 12rpx;
|
||||
height:12rpx;
|
||||
margin-left: 20rpx;
|
||||
}
|
||||
.img view{
|
||||
height:12rpx;
|
||||
margin-top:35rpx;
|
||||
}
|
||||
.img view:last-child{
|
||||
margin: 6rpx 0 35rpx 0;
|
||||
}
|
||||
.cont-all{
|
||||
width: 690rpx;
|
||||
margin:0 auto 30rpx;
|
||||
}
|
||||
.cont-all::after{
|
||||
display: block;
|
||||
content: '';
|
||||
clear: both;
|
||||
}
|
||||
.cont{
|
||||
float: left;
|
||||
width: 330rpx;
|
||||
background-color: #ffffff;
|
||||
border-radius: 10rpx;
|
||||
margin: 0 30rpx 30rpx 0;
|
||||
}
|
||||
.cont:nth-child(2n){
|
||||
margin-right: 0;
|
||||
}
|
||||
.goods-img{
|
||||
width: 330rpx;
|
||||
height: 330rpx;
|
||||
}
|
||||
.goods-name{
|
||||
width: 280rpx;
|
||||
padding:0 25rpx;
|
||||
font-size: 32rpx;
|
||||
color: #333333;
|
||||
margin-top: 25rpx;
|
||||
}
|
||||
.goods-price{
|
||||
margin: 0 auto;
|
||||
padding: 18rpx 10rpx;
|
||||
border-bottom: 1rpx solid #e5e5e5;
|
||||
}
|
||||
.price{
|
||||
font-size: 36rpx;
|
||||
color: #ee7b1e;
|
||||
}
|
||||
.price-text1{
|
||||
font-size: 28rpx;
|
||||
}
|
||||
.price-text2{
|
||||
font-size: 24rpx;
|
||||
color: #999999;
|
||||
text-decoration: line-through;
|
||||
}
|
||||
.goods-sales{
|
||||
font-size: 24rpx;
|
||||
color: #999999;
|
||||
line-height: 62rpx;
|
||||
padding:0 25rpx;
|
||||
}
|
||||
|
||||
.empty{
|
||||
text-align: center;
|
||||
margin-top: 300rpx;
|
||||
font-size: 28rpx;
|
||||
color: #999;
|
||||
}
|
||||
|
||||
/* 搜索 */
|
||||
.top {
|
||||
height: 100rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 0 30rpx;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.top_fi {
|
||||
width: 100%;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.search {
|
||||
font-size: 24rpx;
|
||||
flex: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
height: 60rpx;
|
||||
background-color: #f5f5f5;
|
||||
border-radius: 40rpx;
|
||||
padding-left: 39rpx;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.search>image:first-child{
|
||||
width: 32rpx;
|
||||
height: 32rpx;
|
||||
margin-right: 20rpx;
|
||||
}
|
||||
.search>image:last-child{
|
||||
width: 32rpx;
|
||||
height: 32rpx;
|
||||
}
|
||||
.search input {
|
||||
width: 460rpx;
|
||||
}
|
||||
|
||||
.sear {
|
||||
font-size: 24rpx;
|
||||
color: #999;
|
||||
padding-left: 30rpx;
|
||||
}
|
||||
|
||||
.hot{
|
||||
padding: 0 30rpx;
|
||||
font-size: 32rpx;
|
||||
color: #333333;
|
||||
padding-top: 20rpx;
|
||||
}
|
||||
.hot-all{
|
||||
padding: 0 30rpx;
|
||||
margin-top: 40rpx;
|
||||
}
|
||||
.hot-all::after{
|
||||
display: block;
|
||||
content: '';
|
||||
clear: both;
|
||||
}
|
||||
.hot-cont{
|
||||
float: left;
|
||||
height: 40rpx;
|
||||
line-height: 40rpx;
|
||||
background-color: #f3f4f8;
|
||||
border-radius: 4rpx;
|
||||
font-size: 24rpx;
|
||||
color: #666666;
|
||||
padding: 0 14rpx;
|
||||
margin:0 24rpx 30rpx 0;
|
||||
}
|
Reference in New Issue
Block a user