diff --git a/teamwork/pages.json b/teamwork/pages.json index 9ae5b8632a55402fbc49c55884f23748c19081f4..9c3d928f49c32e4b03133f9a4ac0e98f71fd4b4f 100644 --- a/teamwork/pages.json +++ b/teamwork/pages.json @@ -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": { diff --git a/teamwork/pages/post/message.vue b/teamwork/pages/post/message.vue index 9e98f47ad03886c4a8f0085779917ae8e4447b13..0d88e3d3709fec9277ec414e755b5c26a270d3be 100644 --- a/teamwork/pages/post/message.vue +++ b/teamwork/pages/post/message.vue @@ -38,6 +38,12 @@ } }, + + //下拉刷新 + onPullDownRefresh() { + this.getAllMessage(); + uni.stopPullDownRefresh(); + }, onLoad() { this.getAllMessage(); }, diff --git a/teamwork/pages/sport/main.vue b/teamwork/pages/sport/main.vue index 9a846a1f2e299bfa4aee96a807e9bb30f86944dc..f98833ea26e06a6c2d9a1bbc8066eb74b760c373 100644 --- a/teamwork/pages/sport/main.vue +++ b/teamwork/pages/sport/main.vue @@ -178,7 +178,8 @@ color: #f1992d; /* opacity: 80%; */ margin-top: 10px; - margin-left: 55px; + text-align:center; + } .start-button {