Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohoblk-wap
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
李奇
8 years ago
Commit
d7a079892312635601806625252242b97faefc38
1 parent
13e73e2f
fixed: header height修改
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
15 deletions
public/scss/common/_header.css
public/vue/component/header.vue
public/vue/component/product/filter/filter-sub.vue
public/vue/component/product/filter/index.vue
public/scss/common/_header.css
View file @
d7a0798
$
header-height
:
200px
;
\ No newline at end of file
$
header-height
:
88px
;
...
...
public/vue/component/header.vue
View file @
d7a0798
...
...
@@ -108,13 +108,14 @@
right: 0;
left: 0;
z-index: 210;
padding: 20px 34px;
height: 70px;
padding: 0 34px;
height: $header-height;
max-width: 750px;
margin-left: auto;
margin-right: auto;
line-height: 70px;
font-size: 48px;
line-height: $header-height;
font-size: 32px;
font-weight: bold;
background-color: #fff;
border-bottom: 1px solid #eee;
color: #000;
...
...
@@ -129,10 +130,9 @@
}
.icon {
min-width: 110px;
min-height: 110px;
line-height: 110px;
margin-top: -20px;
min-width: $header-height;
min-height: $header-height;
line-height: $header-height;
margin-left: -32px;
text-indent: 32px;
display: inline-block;
...
...
@@ -151,7 +151,7 @@
text-align: center;
margin-left: auto;
margin-right: auto;
font-size:
4
2px;
font-size:
3
2px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
...
...
@@ -181,7 +181,7 @@
}
.blk-header-gap {
height: calc(
70 + 20 * 2 + 1)px
;
height: calc(
$header-height + 2)
;
background-color: transparent;
}
...
...
public/vue/component/product/filter/filter-sub.vue
View file @
d7a0798
...
...
@@ -109,6 +109,7 @@
</script>
<style>
@import "../../../../scss/common/_color.css";
@import "../../../../scss/common/_header.css";
.blk-header {
padding-left: 26px;
...
...
@@ -131,10 +132,11 @@
}
.btn-clear {
font-size: 3
2
px;
font-size: 3
0
px;
border: none;
width: 100px;
background-color: #fff;
line-height: 1;
}
}
...
...
@@ -189,12 +191,12 @@
.filter-sub-select {
position: absolute;
top: calc(
70 + 20 * 2 + 1)px
;
top: calc(
$header-height + 2)
;
left: 0;
right: 0;
bottom: 0;
}
.filter-sort {
...
...
public/vue/component/product/filter/index.vue
View file @
d7a0798
...
...
@@ -317,10 +317,12 @@ export default {
</script>
<style>
@import "../../../../scss/common/_color.css";
@import "../../../../scss/common/_header.css";
.top-filter {
position: fixed;
top:
110px
;
top:
$header-height
;
left: 0;
right: 0;
height: 81px;
...
...
Please
register
or
login
to post a comment