Commit 370bf49c92a66427b9b6691a703214452e0ebd50
1 parent
6f6fd3c1
领头雁首页头部增加返回组件泡沫填充
Showing
2 changed files
with
14 additions
and
1 deletions
src/pages/mall/mall.less
| ... | ... | @@ -16,4 +16,14 @@ |
| 16 | 16 | background-color: #ffffff; |
| 17 | 17 | z-index:1000 |
| 18 | 18 | } |
| 19 | + .pl { | |
| 20 | + background-color: transparent; | |
| 21 | + width: 100%; | |
| 22 | + &.is-open-app { | |
| 23 | + height: 144px; | |
| 24 | + } | |
| 25 | + &.is-cnlive { | |
| 26 | + height: 123px; | |
| 27 | + } | |
| 28 | + } | |
| 19 | 29 | } |
| 20 | 30 | \ No newline at end of file | ... | ... |
src/pages/mall/mall.vue
| ... | ... | @@ -14,8 +14,11 @@ |
| 14 | 14 | :backs="backs"> |
| 15 | 15 | </back-box> |
| 16 | 16 | |
| 17 | + <!-- pl --> | |
| 18 | + <div class="pl" :class="{'hide': $route.query.hideBack == true, 'is-cnlive': !isWeChat.value, 'is-open-app': $parent.isOpenApp.value}" :style="'padding-top: ' + $parent.top.value + 'px'"></div> | |
| 19 | + | |
| 17 | 20 | <!--轮播--> |
| 18 | - <swiper :style="'margin-top:' + ($parent.isBack && isCNLive.value ? 62 : 10) + 'px'" v-if="banner" | |
| 21 | + <swiper v-if="banner" | |
| 19 | 22 | :swipers="banner" |
| 20 | 23 | :options="{ |
| 21 | 24 | showIndicators: true | ... | ... |