详细问题描述
tabBar下拉刷新, 当"style": "circle"时样式错误. 第一次下拉时, 图标样式错误. 并且不能消失, 会一直存在. 此后每次下拉就正常了. 在其他页面下拉刷新都正常
page.json配置文件 部分代码,
"pages": [
{
"path": "pages/plugin/test",
"style": {
"scrollIndicator":"none",
"app-plus": {
"pullToRefresh": {
"support": true,
"color": "#2BD009",
"style": "circle",
"offset": "150px"
}
}
}
}
"tabBar": {
"color": "rgba(0,0,0,0.6)",
"selectedColor": "#FFA430",
"borderStyle": "white",
"backgroundColor": "#ffffff",
"list": [{
"pagePath": "pages/plugin/test",
"iconPath": "static/img/base/home.png",
"selectedIconPath": "static/img/base/home_curr.png",
"text": "职位"
},
{
"pagePath": "pages/tabBar/message/index",
"iconPath": "static/img/base/message.png",
"selectedIconPath": "static/img/base/message_curr.png",
"text": "消息"
},
{
"pagePath": "pages/tabBar/user/index",
"iconPath": "static/img/base/user.png",
"selectedIconPath": "static/img/base/user_curr.png",
"text": "我的"
}
]
},
表现为下图
http://wx1.sinaimg.cn/large/006BDdctgy1g3zilyk8obg307s0du1kx.gif
另:
当配置全局下拉刷新时, 每个页面都表现为上图一样的错误
"globalStyle": {
"app-plus":{
"pullToRefresh": {
"support": true,
"color": "#2BD009",
"style": "circle",
"offset": "150px"
}
}
},
页面代码如下
<template>
<view class="main">
内容测试
</view>
</template>
<script>
export default {
data() {
return {
content:'',
txt:''
}
},
onLoad(){
var This = this;
},
onPullDownRefresh:function(){
var This = this;
setTimeout(function() {
uni.stopPullDownRefresh();
}, 3000);
},
methods: {
}
}
</script>
<style>
.main view{background: #04B00F; margin: 10px 0; height: 40px;line-height: 40px;}
</style>
用 HBuilderX ,
编译器版本:2.0.0.
win7 64位 旗舰版
ios 12.3.1
iphone 6s.
日志:
2019-06-13 14:35:41.751 [WARNING:] [MENU] !!!Can't find the action id: "workbench.action.testExpr"
2019-06-13 14:36:23.826 [WARNING:] [MENU] !!!Can't find the action id: "workbench.action.testExpr"
2019-06-13 14:36:30.344 [WARNING:] [MENU] !!!Can't find the action id: "workbench.action.testExpr"
[QQ] 1034796962