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
邱骏
5 years ago
Commit
3cb2db6226f34857a3e840f4dd6108287b489483
1 parent
fed02888
活动修改,适应IPHONE X布局修改
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
37 additions
and
7 deletions
apps/components/layout/layout-app.vue
apps/pages/activitys/limit-time-coupon/sale-product-list.vue
apps/pages/home/indexPage/index-page.vue
apps/statics/scss/common.scss
config/common.js
apps/components/layout/layout-app.vue
View file @
3cb2db6
...
...
@@ -87,11 +87,9 @@ export default {
<style lang="scss">
.layout {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
position: relative;
width: 100%;
height: 100%;
overflow: hidden;
font-size: 24px;
display: flex;
...
...
@@ -109,4 +107,6 @@ export default {
overflow: scroll;
}
}
</style>
...
...
apps/pages/activitys/limit-time-coupon/sale-product-list.vue
View file @
3cb2db6
...
...
@@ -81,6 +81,7 @@ ul {
background-repeat: repeat-y;
background-size: 100% auto;
overflow: hidden;
-webkit-overflow-scrolling: touch;
li {
position: relative;
...
...
apps/pages/home/indexPage/index-page.vue
View file @
3cb2db6
...
...
@@ -102,4 +102,14 @@ export default {
width: 100%;
background-color: white;
}
@supports (bottom: env(safe-area-inset-bottom)) {
.content {
height: calc(env(safe-area-inset-bottom) + 100% + 88px);
}
.footer {
height: calc(env(safe-area-inset-bottom) + 100px);
}
}
</style>
...
...
apps/statics/scss/common.scss
View file @
3cb2db6
...
...
@@ -526,6 +526,8 @@ textarea {
html
,
body
{
width
:
100%
;
height
:
100%
;
font-size
:
24px
;
font-family
:
"PingFang SC"
,
"HiraginoSansGB-W3"
,
"SanFranciscoText-Regular"
,
Helvetica
,
Roboto
,
"Heiti SC"
,
"黑体"
,
Arial
;
line-height
:
1
.4
;
...
...
@@ -537,7 +539,24 @@ body {
-moz-user-select
:
none
;
-ms-user-select
:
none
;
user-select
:
none
;
padding-bottom
:
env
(
safe-area-inset-bottom
);
}
#app
{
position
:
relative
;
width
:
100%
;
height
:
100%
;
}
/* 支持iphoneX下方安全区域 */
@supports
(
bottom
:
env
(
safe-area-inset-bottom
))
{
body
{
margin-bottom
:
env
(
safe-area-inset-bottom
);
}
#app
{
height
:
calc
(
100%
+
env
(
safe-area-inset-bottom
));
}
}
/* stylelint-disable */
...
...
config/common.js
View file @
3cb2db6
...
...
@@ -12,7 +12,7 @@ const isTest = process.env.NODE_ENV === 'test3';
const
domains
=
{
// api: 'http://api.yoho.cn/',
// service: 'http://service.yoho.cn/',
// ufo: 'http://
java-yohoufo-fore.test3.ingress.dev.yohocorp
.com/ufo-gateway/',
// ufo: 'http://
2.yohobuy
.com/ufo-gateway/',
// liveApi: 'http://testapi.live.yohops.com:9999/',
// singleApi: 'http://api-test3.yohops.com:9999/',
...
...
Please
register
or
login
to post a comment