sugar1569 7 лет назад
Родитель
Сommit
c1694d1835
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      application/wap/view/first/article/index.html

+ 3 - 3
application/wap/view/first/article/index.html

@@ -24,7 +24,7 @@
                     </ul>
                 </div>
                 <p class="loading-line" v-show="loading == true"><i></i><span>正在加载中</span><i></i></p>
-                <p class="loading-line" v-show="loading == false && loaded == false" v-cloak=""><i></i><span>加载更多</span><i></i></p>
+                <p class="loading-line" v-show="loading == false && loaded == false" v-cloak=""><i></i><span>向上滑动加载更多</span><i></i></p>
                 <p class="loading-line" v-show="loading == false && loaded == true" v-cloak=""><i></i><span>没有更多了</span><i></i></p>
             </div>
         </div>
@@ -67,7 +67,7 @@
                     return article.url ? article.url : $h.U({c:'article',a:'visit',p:{id:article.id}});
                 },
                 getList:function(){
-                    if(this.loading) return ;
+                    if(this.loading) return;
                     this.getArticleList();
                 },
                 getArticleList:function(){
@@ -96,7 +96,7 @@
                     if(this.scroll === null){
                         this.$refs.bsDom.style.height = (document.documentElement.clientHeight)+'px';
                         this.$refs.bsDom.style.overflow = 'hidden';
-                        this.scroll = new BScroll(this.$refs.bsDom,{click:true,probeType:1,cancelable:false,deceleration:0.005,snapThreshold:0.01});
+                        this.scroll = new BScroll(this.$refs.bsDom,{click:true,probeType:1,cancelable:false,deceleration:0.005,snapThreshold:0.1});
                         this.scroll.on('pullingUp',function(){
                             that.loading == false && that.getList();
                         })