Skip to content

Commit

Permalink
Merge pull request #8 from chengdujs/develop
Browse files Browse the repository at this point in the history
Fix swipe bug
  • Loading branch information
MrTreasure authored Jan 26, 2017
2 parents aac288e + 025e71c commit 841ba90
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
6 changes: 5 additions & 1 deletion src/css/all.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
html{
font-size: calc(100vw / 16); // 设计稿320,每份20px
}
body{
font-size: 14px;
font-family: '\5FAE\8F6F\96C5\9ED1';
background:#e5e5e5;
}
Expand All @@ -7,4 +11,4 @@ a{
}
a:hover{
color:#f00;
}
}
2 changes: 1 addition & 1 deletion src/pages/home/HomePage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</div>
</div>
<div class="job-content">
<div class="job-banner">
<div class="job-banner" style="height: 5.5rem;">
<vw-swipe >
<vw-swipe-item>
<a href="">
Expand Down
3 changes: 1 addition & 2 deletions src/vw-ui/components/swipe/swipe.vue
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
<style scoped>
.vw-swipe{
position: relative;
width: 320px;
height: 110px;
overflow: hidden;
height: 100%;
}
.vw-swipe ul{
height: 100%;
Expand Down

0 comments on commit 841ba90

Please sign in to comment.