Files
xuan_wechat/pages/search/search.wxss
2023-08-25 14:04:31 +08:00

82 lines
1.3 KiB
Plaintext

/* 搜索 */
.search {
padding: 30rpx;
box-sizing: border-box;
position: relative;
left: 0;
top: 0;
width: 100%;
background: #fff;
color: #999;
z-index: 999;
}
.search-input {
display: flex;
width: 100%;
height: 90rpx;
line-height: 90rpx;
background: #f7f7f7;
border-radius: 45rpx;
overflow: hidden;
}
.search-input input {
padding: 0 30rpx;
box-sizing: border-box;
height: 90rpx;
color: #000;
font-size: 30rpx;
flex: 1;
width: calc(100% - 180rpx);
}
.search-btn {
font-size: 30rpx;
background: #da2b54;
color: white;
width: 180rpx !important;
padding: 0 !important;
line-height: 90rpx;
border-radius: 0;
}
.search-btn::after {
border: none;
}
/* 搜索历史 */
.search-history{
padding: 20rpx 20rpx 0 20rpx;
}
.search-history-title{
padding: 0 10rpx 20rpx 10rpx;
}
.search-history-title text{
float: right;
font-size: 26rpx;
color: #a2a7ba;
}
.search-history-tag{
overflow: hidden;
}
.search-history-tag view{
display: inline-block;
margin: 0 10rpx 20rpx 10rpx;
background: #f5f6fa;
padding: 10rpx 20rpx;
font-size: 26rpx;
}
.search-history-null{
text-align: center;
padding: 50rpx 0;
color: #747788;
}