Skip to content

Commit

Permalink
add shop loading back img
Browse files Browse the repository at this point in the history
  • Loading branch information
bailicangdu committed May 31, 2017
1 parent 853e1da commit 315fe87
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/images/shop_back_svg.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions src/page/shop/shop.vue
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,9 @@
</span>
</transition>
<loading v-show="showLoading || loadRatings"></loading>
<section class="animation_opactiy shop_back_svg_container" v-if="showLoading">
<img src="../../images/shop_back_svg.svg">
</section>
<transition name="router-slid" mode="out-in">
<router-view></router-view>
</transition>
Expand Down Expand Up @@ -726,6 +729,13 @@
75% { transform: scale(.9) }
100% { transform: scale(1) }
}
.shop_back_svg_container{
position: fixed;
@include wh(100%, 100%);
img{
@include wh(100%, 100%);
}
}
.shop_container{
display: flex;
flex-direction: column;
Expand Down

0 comments on commit 315fe87

Please sign in to comment.