提交 1112af4f 编写于 作者: 赵十四's avatar 赵十四

消息界面添加下拉刷新

上级 165461fa
......@@ -164,17 +164,12 @@
"style": {
"navigationStyle": "custom"
}
}, {
"path": "pages/sport/countdown",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}, {
},
{
"path": "pages/post/message",
"style": {
"navigationStyle": "custom"
"navigationStyle": "custom",
"enablePullDownRefresh": true
}
}],
"globalStyle": {
......
......@@ -38,6 +38,12 @@
}
},
//下拉刷新
onPullDownRefresh() {
this.getAllMessage();
uni.stopPullDownRefresh();
},
onLoad() {
this.getAllMessage();
},
......
......@@ -178,7 +178,8 @@
color: #f1992d;
/* opacity: 80%; */
margin-top: 10px;
margin-left: 55px;
text-align:center;
}
.start-button {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册