1***@qq.com
1***@qq.com
  • 发布:2019-11-05 13:58
  • 更新:2019-11-05 14:02
  • 阅读:653

安卓下拉刷新是好的,ios的不行

分类:uni-app

<template>

<view class="content">  
    张剑  
</view>  

</template>

<script>

import request from '../../common/xhr.js'  
import uniLoadMore from '@/components/uni-load-more.vue';  
import nanaSort from '@/components/nana-sort.vue';  
import constant from '../../constant.js'  
import stringUtils from "../../common/stringUtils";  

var timer;  

export default {  
    components: {  
        uniLoadMore,  
        nanaSort  
    },  
    data() {  
        return {  

        }  
    },  
    methods: {  
        onPullDownRefresh: function () {  

            if (timer != null) {  
                clearTimeout(timer);  
            }  

            timer = setTimeout(function () {  
               uni.stopPullDownRefresh();  
            }, 3000);  
        }  
    }  
}  

</script>

<style>
</style>

{
"path": "pages/club/club",
"style": {
"navigationBarTitleText": "首页"
}
}

"globalStyle": {
"enablePullDownRefresh": true,
"app-plus": {
"pullToRefresh": {
"support": true,
"color": "#000000",
"style": "circle"
}
},
"navigationStyle": "custom",
"animationDuration": "300",
"animationType": "zoom-fade-out"
}

2019-11-05 13:58 负责人:无 分享
已邀请:
1***@qq.com

1***@qq.com

我之前有个问题就是当前页面为启动页时,ios下拉就会有问题。不知道是不是这个

  • 1***@qq.com (作者)

    圈圈不会自动消失 一个白色的圈圈

    2019-11-05 14:05

  • 1***@qq.com

    回复 1***@qq.com: 具体我忘了,挺久的了,当时刚好有引导图会作为启动页,所以跳过了这个问题

    2019-11-05 14:10

该问题目前已经被锁定, 无法添加新回复