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
Committed by
shuaiguo
5 years ago
Commit
790f4a51efe8293179eef9974a1ada657d50f84e
1 parent
229b160f
修改弹出键盘导致下方安全区域消失的问题
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
13 deletions
apps/app.vue
apps/pages/activitys/limit-time-coupon/sale-product-list.vue
apps/statics/scss/common.scss
apps/app.vue
View file @
790f4a5
<template>
<div id="app">
<div id="app"
:style="{height: 'calc(' + windowHeight + ' + env(safe-area-inset-bottom))' }"
>
<keep-alive :max="20">
<router-view :key="routerViewKey"></router-view>
</keep-alive>
...
...
@@ -20,6 +20,9 @@ export default {
return this.$route.fullPath;
}
},
windowHeight() {
return window.innerHeight + 'px';
}
},
mounted() {
if (this.yoho.context.needLogin) {
...
...
apps/pages/activitys/limit-time-coupon/sale-product-list.vue
View file @
790f4a5
...
...
@@ -66,7 +66,6 @@ export default {
rule: productData.imageList[0].rule,
more: productData.imageList[0].more
};
console.log(this.productList)
}
};
</script>
...
...
@@ -74,13 +73,15 @@ export default {
<style lang="scss" scoped>
ul {
width: 100%;
height: 100%;
list-style: none;
margin: 0;
padding: 0;
background-image: url("//ad.yoho.cn/html5/2019/10/activity/008/base/repeat_bg.jpg?imageslim");
background-repeat: repeat-y;
background-size: 100% auto;
overflow: hidden;
overflow-x: hidden;
overflow-y: scroll;
-webkit-overflow-scrolling: touch;
li {
...
...
apps/statics/scss/common.scss
View file @
790f4a5
...
...
@@ -554,17 +554,9 @@ body {
margin-bottom
:
env
(
safe-area-inset-bottom
);
}
#app
{
/*
#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