Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-easy-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
easyUI
hls-easy-ui
Commits
f4ef7b9c
Commit
f4ef7b9c
authored
May 08, 2019
by
JingChao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update index.vue
parent
97c1d497
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
6 deletions
+19
-6
index.vue
packages/components/Scroll/index.vue
+19
-6
No files found.
packages/components/Scroll/index.vue
View file @
f4ef7b9c
...
...
@@ -406,10 +406,10 @@ export default {
//$ = vue-better-scroll
.vue-better-scroll {
width 100%
//height 100%
overflow hidden
box-sizing border-box
position absolute
position relative
height 100%
&__wrapper {
-webkit-user-select: none;
...
...
@@ -422,6 +422,7 @@ export default {
text-size-adjust: none;
-webkit-transform-origin: left top;
transform-origin: left top;
padding-bottom: 1.76rem;
}
&__pullup {
...
...
@@ -460,11 +461,21 @@ export default {
}
}
}
.platform-ios{
.vue-better-scroll {
&__wrapper {
padding-bottom: 2.16rem;
}
}
}
// iPhoneX适配
@media (device-width: 375px) and (device-height: 812px) and (-webkit-min-device-pixel-ratio: 3) {
.platform-ios {
.has-header {
top: 84px;
.vue-better-scroll {
&__wrapper {
padding-bottom: 2.84rem;
}
}
}
}
...
...
@@ -472,8 +483,10 @@ export default {
// iPhoneX Max适配
@media (device-width: 414px) and (device-height: 896px) {
.platform-ios {
.has-header {
top: 84px;
.vue-better-scroll {
&__wrapper {
padding-bottom: 2.84rem;
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment