Showing
4 changed files
with
4 additions
and
4 deletions
@@ -82,7 +82,7 @@ export default { | @@ -82,7 +82,7 @@ export default { | ||
82 | panstart() { | 82 | panstart() { |
83 | this.originY = 0 - this.currentIndex * this.itemHeight; | 83 | this.originY = 0 - this.currentIndex * this.itemHeight; |
84 | this.transitionStyle = ''; | 84 | this.transitionStyle = ''; |
85 | - this.selectStyle['will-change'] = 'transform'; | 85 | + this.selectStyle['will-change'] = 'true'; |
86 | this.transform(); | 86 | this.transform(); |
87 | }, | 87 | }, |
88 | panmove(e) { | 88 | panmove(e) { |
@@ -37,7 +37,7 @@ export default { | @@ -37,7 +37,7 @@ export default { | ||
37 | left: 0; | 37 | left: 0; |
38 | bottom: 0; | 38 | bottom: 0; |
39 | z-index: 999; | 39 | z-index: 999; |
40 | - will-change: transform; | 40 | + will-change: true; |
41 | transition-duration: 280ms; | 41 | transition-duration: 280ms; |
42 | } | 42 | } |
43 | .search-slider-enter-active { | 43 | .search-slider-enter-active { |
@@ -134,7 +134,7 @@ export default { | @@ -134,7 +134,7 @@ export default { | ||
134 | 134 | ||
135 | } | 135 | } |
136 | .home-slider-enter-active, .home-slider-leave-active { | 136 | .home-slider-enter-active, .home-slider-leave-active { |
137 | - will-change: transform; | 137 | + will-change: true; |
138 | transition-duration: 280ms; | 138 | transition-duration: 280ms; |
139 | } | 139 | } |
140 | .home-slider-enter-active { | 140 | .home-slider-enter-active { |
@@ -82,7 +82,7 @@ export default { | @@ -82,7 +82,7 @@ export default { | ||
82 | panstart() { | 82 | panstart() { |
83 | this.originY = 0 - this.currentIndex * this.itemHeight; | 83 | this.originY = 0 - this.currentIndex * this.itemHeight; |
84 | this.transitionStyle = ''; | 84 | this.transitionStyle = ''; |
85 | - this.selectStyle['will-change'] = 'transform'; | 85 | + this.selectStyle['will-change'] = 'true'; |
86 | this.transform(); | 86 | this.transform(); |
87 | }, | 87 | }, |
88 | panmove(e) { | 88 | panmove(e) { |
-
Please register or login to post a comment