Authored by 肖亚东

UI调整 — review by 李其昌

... ... @@ -5,7 +5,7 @@
align-items: center;
background: #f5f5f5;
border-radius: 6px;
// margin-top: 12px;
margin-top: 12px;
font-family: SFProText-Regular;
font-size: 34px;
color: #000;
... ...
.search-item {
margin-top: 144px;
margin-top: 60px;
width: 670px;
.title {
font-family: PingFang-SC-Medium;
... ... @@ -12,6 +12,7 @@
.removeSearch {
color: #999;
font-size: 32px;
font-family: PingFang-SC-Regular;
font-weight: normal;
}
}
... ...
... ... @@ -128,7 +128,9 @@ export default class Search extends Component {
}
{
hotSearch.length > 0 &&
<SearchItem title={hotSearchTitle} list={hotSearch} ></SearchItem>
<View className='hotSearch'>
<SearchItem title={hotSearchTitle} list={hotSearch} ></SearchItem>
</View>
}
</ScrollView>
</View>
... ...
... ... @@ -3,14 +3,18 @@
height: 100vh;
width: 670px;
.latelySearch{
.latelySearch {
margin-top: 140px;
}
.hotSearch {
margin-top: 140px;
}
}
.search-out-box {
width: 100%;
height: 72px;
height: 96px;
padding: 0 40px;
background: #fff;
z-index: 99;
... ...