Skip to content

Commit

Permalink
vtour margin-top
Browse files Browse the repository at this point in the history
  • Loading branch information
aa1479474496 committed Oct 10, 2017
1 parent fb5ee2a commit acc74d5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/assets/css/vtour.css
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,10 @@
height: 44px;
line-height: 44px;
}

.swipe-box {
width: 100%;
margin-top: -30px;
}
.vtour-bar {
position: absolute;
z-index: 2;
Expand Down
2 changes: 1 addition & 1 deletion src/components/mobile/vtour.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="index-mask" style="display:block;">
<div class="vtour-content" ontouchmove="return false;">
<div class="vtour-header"><a href="javascript:history.back(-1);" class="vtour-back"><i class="vtour-back-icon"></i></a>{{pageTitle}}</div>
<div class="swipe-box" style="width:100%;">
<div class="swipe-box">
<template v-if="!!qjList.length">
<div class="swipe-content pos-rel" v-show="displayName=='overall'">
<a :href='qjList[0].vLink' class="overall-link"></a>
Expand Down

0 comments on commit acc74d5

Please sign in to comment.