Skip to content

Commit 7793197

Browse files
author
zhusha
committed
style:修复因face导致的其他搜索区域问题
1 parent 2dc2d4d commit 7793197

1 file changed

Lines changed: 10 additions & 5 deletions

File tree

src/assets/css/common/search.less

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
.pvx-search-wrapper {
22
.flex;
33
.z(12);
4+
.r(10px);
45
height: auto;
56
box-sizing: border-box;
7+
padding: 10px 15px;
68
align-items: center;
79
gap: 40px;
10+
box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
811

912
.search-group {
1013
position: relative;
@@ -51,7 +54,7 @@
5154
line-height: 40px;
5255
border-radius: 30px;
5356
color: #949494;
54-
background-color: transparent;
57+
background-color: #fff;
5558
font-weight: bold;
5659
text-align: center;
5760
cursor: pointer;
@@ -87,14 +90,16 @@
8790
}
8891

8992
&.filter-wrap {
90-
margin-right: 0;
93+
margin-right: 20px;
9194

9295
.filter-img {
9396
cursor: pointer;
9497
height: 40px;
9598

9699
svg {
97100
fill: #949494;
101+
background-color: #fff;
102+
border-radius: 50%;
98103
}
99104

100105
&.active {
@@ -112,7 +117,7 @@
112117

113118
.el-input__wrapper {
114119
border: none;
115-
background-color: transparent;
120+
background-color: #f3f4f5;
116121
border-radius: 30px;
117122
box-shadow: none;
118123
}
@@ -145,7 +150,7 @@
145150
display: flex;
146151
justify-content: flex-start;
147152
align-items: center;
148-
background: transparent;
153+
background: #f3f4f5;
149154
border-radius: 20px;
150155
width: 227px;
151156
height: 40px;
@@ -164,7 +169,7 @@
164169
color: #24292e;
165170
width: 170px;
166171
border-radius: 30px;
167-
background: transparent;
172+
background: #f3f4f5;
168173

169174
&::placeholder {
170175
font-weight: normal;

0 commit comments

Comments
 (0)