[update 首页] 搜索部分调整

This commit is contained in:
danshihao
2024-09-03 17:46:11 +08:00
parent 513125d2e1
commit 9ce46797c1
2 changed files with 34 additions and 3 deletions
+1 -1
View File
@@ -113,7 +113,7 @@ export default {
.all-wrapper {
height: calc(100vh - 60px - 8px - 20px + 200px);
// 友情链接部分减少了12像素
grid-template-rows: 56px 180px minmax(200px, auto) 168px;
grid-template-rows: 48px 180px minmax(200px, auto) 168px;
}
/deep/ .top-wrapper {
.left-p {
+33 -2
View File
@@ -82,7 +82,6 @@ export default {
</script>
<style lang="less" scoped>
@height: 56px;
.search-wrapper {
margin: 0 auto;
width: 80%;
@@ -105,7 +104,7 @@ export default {
right: 20px;
}
/deep/.ant-select-selection__rendered {
line-height: @height;
line-height: 56px;
margin-left: 20px;
margin-right: 34px;
}
@@ -136,6 +135,38 @@ export default {
}
}
// 1366屏幕
@media screen and (max-width: 1366px) {
@fontSize: 14px;
.search-wrapper {
& > .resource-type-select {
font-size: @fontSize;
/deep/ .ant-select-selection__rendered {
line-height: 48px;
}
}
& > .search-input {
/deep/ .ant-input {
font-size: @fontSize;
}
/deep/.ant-input-prefix {
left: 12px;
}
/deep/.ant-input {
padding-left: 30px;
height: 100%;
border-color: @primary-color;
}
}
.btn-box .ant-btn {
min-width: 88px;
padding: 0 12px;
font-size: @fontSize;
}
}
}
.btn-icon {
margin-right: 8px;
vertical-align: sub;