Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
xianyu-ufo-app-web
·
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
邱骏
2019-10-31 11:10:38 +0800
Committed by
shuaiguo
2019-11-01 09:37:40 +0800
Commit
16061e52354a0016b4a22bd9dd5f819414b45a6f
1 parent
790f4a51
iphoneX适配
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletions
apps/app.vue
apps/pages/home/indexPage/index-page.vue
apps/app.vue
View file @
16061e5
...
...
@@ -21,7 +21,11 @@ export default {
}
},
windowHeight() {
return window.innerHeight + 'px';
if (typeof window !== 'undefined') {
return window.innerHeight + 'px';
} else {
return '100%';
}
}
},
mounted() {
...
...
apps/pages/home/indexPage/index-page.vue
View file @
16061e5
...
...
@@ -102,4 +102,10 @@ export default {
width: 100%;
background-color: white;
}
@supports (bottom: env(safe-area-inset-bottom)) {
.footer {
height: calc(env(safe-area-inset-bottom) + 100px);
}
}
</style>
...
...
Please
register
or
login
to post a comment