Skip to content

Commit

Permalink
fix: style
Browse files Browse the repository at this point in the history
  • Loading branch information
zixuan1986 committed Feb 23, 2024
1 parent 1f6bd60 commit ce76516
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 43 deletions.
3 changes: 3 additions & 0 deletions src/assets/css/exam/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,9 @@
}

@media screen and (max-width: @phone) {
.p-exam .m-exam-search .search-group .search-item.type-list .type-item:last-child {
.ml(0px);
}
.p-exam {
.m-exam-content {
.pt(64px);
Expand Down
81 changes: 41 additions & 40 deletions src/assets/css/furniture/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
.pt(40px);
.m-furniture-search {
.search-group {
box-sizing: border-box;
max-width: 100%;
.search-item {
&.type-list {
.type-item {
Expand Down Expand Up @@ -36,7 +38,7 @@
flex-wrap: wrap;
gap: 10px;
.u-item {
background: #F3F4F5;
background: #f3f4f5;
flex: none;
width: 80px;
height: 30px;
Expand Down Expand Up @@ -88,9 +90,6 @@
flex: none;
}
.el-select {
.el-input {
width: 90%;
}
.el-input__inner {
border: none;
background-color: #f3f4f5;
Expand Down Expand Up @@ -140,62 +139,64 @@
.m-furniture-search {
max-width: 100%;
.u-furniture-select {
width: 40%;
flex: 1;
width: 100%;
min-width: 120px;
max-width: 240px;
margin-right: 0px;
}
}
.m-archive-pages {
.none;
}
.m-furniture-wrap {
.u-set-item {
::-webkit-scrollbar {
display: none;
}
.u-furniture-list {
padding: 5px;
flex-wrap: nowrap;
overflow-x: auto;
.m-archive-pages {
.none;
}
.m-furniture-wrap {
.u-set-item {
::-webkit-scrollbar {
display: none;
}
.u-furniture-list {
padding: 5px;
flex-wrap: nowrap;
overflow-x: auto;
}
}
}
}
.m-furniture-list{
.m-furniture-set{
width: 100%;
.u-item {
.m-furniture-list {
.m-furniture-set {
width: 100%;
.u-image {
.u-item {
width: 100%;
text-align: center;
img{
.u-image {
width: 100%;
text-align: center;
img {
}
}
}
}
}
}
}
.el-popover {
width: 100% !important;
left: 0 !important;
}
.el-popover {
width: 100% !important;
left: 0 !important;
}
}
.m-furniture-item .m-furniture-detail .u-name {
.fz(18px);
.fz(18px);
}
.filter-content {
.filter-item {
.check-box-wrapper {
.el-radio-group {
.el-radio-button {
&.is-active,
&:hover {
.el-radio-button__inner {
background-color: @furnitureColor;
.filter-item {
.check-box-wrapper {
.el-radio-group {
.el-radio-button {
&.is-active,
&:hover {
.el-radio-button__inner {
background-color: @furnitureColor;
}
}
}
}
}
}
}
}
3 changes: 0 additions & 3 deletions src/views/furniture/Index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -533,9 +533,6 @@ export default {
input {
width: 100% !important;
}
.search-input {
min-width: 300px;
}
}
}
}
Expand Down

0 comments on commit ce76516

Please sign in to comment.