File tree Expand file tree Collapse file tree 3 files changed +16
-4
lines changed Expand file tree Collapse file tree 3 files changed +16
-4
lines changed Original file line number Diff line number Diff line change 1
1
<template >
2
2
<div class =" shoplist_container" >
3
- <ul v-load-more =" loaderMore" v-if =" ! shopListArr.length" type =" 1" >
3
+ <ul v-load-more =" loaderMore" v-if =" shopListArr.length" type =" 1" >
4
4
<router-link :to =" {path: 'shop', query:{geohash, id: item.id}}" v-for =" item in shopListArr" tag =' li' :key =" item.id" class =" shop_li" >
5
5
<section >
6
6
<img :src =" imgBaseUrl + item.image_path" class =" shop_img" >
45
45
</hgroup >
46
46
</router-link >
47
47
</ul >
48
- <ul v-else >
48
+ <ul v-else class = " animation_opactiy " >
49
49
<li class =" list_back_li" v-for =" item in 10" :key =" item" >
50
50
<img src =" ../../images/shopback.svg" class =" list_back_svg" >
51
51
</li >
@@ -206,7 +206,7 @@ export default {
206
206
margin-right : 0.4rem ;
207
207
}
208
208
.list_back_li {
209
- height : 5 .85rem ;
209
+ height : 4 .85rem ;
210
210
.list_back_svg {
211
211
@include wh (100% , 100% )
212
212
}
Original file line number Diff line number Diff line change 25
25
</div >
26
26
<div class =" swiper-pagination" ></div >
27
27
</div >
28
- <img src =" ../../images/fl.svg" class =" fl_back" v-else >
28
+ <img src =" ../../images/fl.svg" class =" fl_back animation_opactiy " v-else >
29
29
</nav >
30
30
<div class =" shop_list_container" >
31
31
<header class =" shop_header" >
Original file line number Diff line number Diff line change @@ -96,4 +96,16 @@ html,body{
96
96
97
97
.paddingTop {
98
98
padding-top : 1.95rem ;
99
+ }
100
+
101
+ @keyframes backOpacity {
102
+ 0% { opacity : 1 }
103
+ 25% { opacity : .5 }
104
+ 50% { opacity : 1 }
105
+ 75% { opacity : .5 }
106
+ 100% { opacity : 1 }
107
+ }
108
+
109
+ .animation_opactiy {
110
+ animation : backOpacity 2s ease-in-out infinite ;
99
111
}
You can’t perform that action at this time.
0 commit comments