Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
dev
/
pingan-life-index-pro
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
45d3cd5c
authored
2020-04-14 18:55:16 +0800
by
simon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
默认提交
1 parent
3166bc7c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
20 deletions
src/App.vue
src/components/home/header/header.scss
src/App.vue
View file @
45d3cd5
...
...
@@ -479,7 +479,8 @@ textarea {
}
}
@media
(
max-width
:
768px
)
{
//
@media
(
max-width
:
768px
)
{
@media
(
max-width
:
980px
)
{
#app
{
.header
{
position
:
fixed
;
...
...
src/components/home/header/header.scss
View file @
45d3cd5
...
...
@@ -113,31 +113,36 @@ $navHeiM: 6rem;
}
// @media (max-width: 1200px) {
// .v-header {
// @include content-percent();
@media
(
max-width
:
1200px
)
{
.v-header
{
@include
content-percent
(
2%
);
}
}
// .main-nav {}
@media
(
max-width
:
980px
)
{
.v-header
{
@include
content-percent
();
// .logo-img {
// max-width: 17.75rem ;
// margin: 0;
// }
.main-nav
{}
// .pc {
// display: none;
// }
.logo-img
{
max-width
:
17
.75rem
;
margin
:
0
;
}
// .mobile {
// display: block;
// &-nav-list {
// top: 32px;
// }
// }
// }
.pc
{
display
:
none
;
}
.mobile
{
display
:
block
;
// }
&
-nav-list
{
top
:
32px
;
}
}
}
}
@media
(
max-width
:
768px
)
{
.v-header
{
...
...
Please
register
or
sign in
to post a comment