Authored by 陈峰

scroller

@@ -81,7 +81,7 @@ export default { @@ -81,7 +81,7 @@ export default {
81 this.transition = true; 81 this.transition = true;
82 if (this.topStatus === 'drag') { 82 if (this.topStatus === 'drag') {
83 this.styleTop = { 83 this.styleTop = {
84 - marginTop: '0' 84 + marginTop: '10px'
85 }; 85 };
86 if (!this.isLoading) { 86 if (!this.isLoading) {
87 this.isLoading = true; 87 this.isLoading = true;
@@ -106,18 +106,19 @@ export default { @@ -106,18 +106,19 @@ export default {
106 overflow-y: auto; 106 overflow-y: auto;
107 } 107 }
108 .scroller-top { 108 .scroller-top {
109 - width: 87px;  
110 - height: 66px; 109 + width: 43PX;
  110 + height: 33PX;
111 margin: 0 auto; 111 margin: 0 auto;
112 - margin-top: -66px; 112 + margin-top: -43PX;
  113 + margin-bottom: 10PX;
113 background-image: url(~statics/img/pull_sprite.png); 114 background-image: url(~statics/img/pull_sprite.png);
114 - background-position: -2320px 0; 115 + background-position: -1160PX 0;
115 background-repeat: no-repeat; 116 background-repeat: no-repeat;
116 - background-size: 2494px 66px;  
117 - animation: loadingScroller 1s steps(29) .5s infinite; 117 + background-size: 1247PX 33PX;
  118 + animation: loadingScroller 1.5s steps(29) .5s infinite;
118 } 119 }
119 @keyframes loadingScroller { 120 @keyframes loadingScroller {
120 0% { background-position: 0 0; } 121 0% { background-position: 0 0; }
121 - 100% { background-position: -2494px 0; } 122 + 100% { background-position: -1247PX 0; }
122 } 123 }
123 </style> 124 </style>