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
yyq
5 years ago
Commit
b82d3144a994d64ab6523babfe4cc8e42e984b81
1 parent
cf8918d4
fix
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
12 deletions
apps/components/layout/layout-app.vue
apps/pages/home/strategy/strategy.vue
apps/statics/scss/common.scss
apps/components/layout/layout-app.vue
View file @
b82d314
...
...
@@ -111,15 +111,4 @@ export default {
overflow: scroll;
}
}
@supports (bottom: env(safe-area-inset-bottom)) {
.layout {
padding-bottom: env(safe-area-inset-bottom);
}
.layout.no-safe-area {
padding-bottom: 0;
}
}
</style>
...
...
apps/pages/home/strategy/strategy.vue
View file @
b82d314
<template>
<LayoutApp title="闲鱼潮玩转攻略" :show-back="true" :back-action="goBack">
<LayoutApp title="闲鱼潮玩转攻略" :show-back="true" :
no-safe-area="true" :
back-action="goBack">
<div class="body-warpper">
<ul>
<li v-for="(item, index) in dataList" :key="index">
...
...
apps/statics/scss/common.scss
View file @
b82d314
...
...
@@ -557,6 +557,14 @@ body {
#app
{
height
:
calc
(
100%
+
env
(
safe-area-inset-bottom
));
}
.layout
{
padding-bottom
:
env
(
safe-area-inset-bottom
);
}
.layout.no-safe-area
{
padding-bottom
:
0
;
}
}
/* stylelint-disable */
...
...
Please
register
or
login
to post a comment