Commit 4af60785 authored by zhangyanni's avatar zhangyanni

搜索

parent 9d4ede8b
......@@ -726,6 +726,38 @@ i, em {
}
}
.articleHasImgAndContentValidity{
.articleTitle{
font-size: .28rem;
}
.contentValidity{
display: flex;
padding-top: .2rem;
.leftInfo{
width:calc(100% - 2.32rem);
>div{
display: -webkit-box;
text-overflow: ellipsis;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
word-break: break-all;
overflow: hidden;
height: 1rem;
}
.mainIntro{
margin-top: 0;
}
padding-right: .2rem;
}
.rightInfo{
width: 2.32rem;
height: 1.54rem;
background-size: cover;
background-repeat: no-repeat;
}
}
}
.itemButton{
font-size: .22rem;
display: flex;
......
......@@ -67,5 +67,20 @@ export default {
//埋点
maiDianAxios(params){
return api.fetchLogin("/business/log/activityLog",params);
},
//热门搜索
hotSearchAxios(){
return api.fetchGet("/business/search/getHotWords");
},
//历史搜索
historySearchAxios(params){
return api.fetchGet("/business/search/getHistoryWords?"+Qs.stringify(params));
},
//删除历史搜索
deleteSearchAxios(params){
return api.fetchLogin("/business/search/mvHistoryWords?"+Qs.stringify(params))
}
}
......@@ -277,4 +277,9 @@
margin-right: .2rem;
}
}
.header-right-h5{
display: flex;
align-items: center;
justify-content: space-between;
}
</style>
\ No newline at end of file
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment