This commit is contained in:
2023-11-13 15:12:02 +08:00
parent e382dc5919
commit 5ae165d3f8
2 changed files with 15 additions and 5 deletions

View File

@ -12,8 +12,9 @@
}, { }, {
"path": "pages/message/message", "path": "pages/message/message",
"style": { "style": {
"enablePullDownRefresh": false, "navigationBarTitleText": "消息中心",
"navigationBarTitleText": "消息中心" "onReachBottomDistance": 40, // px
"enablePullDownRefresh": true //true
} }
}, { }, {
"path": "pages/homepage/homepage", "path": "pages/homepage/homepage",

View File

@ -51,7 +51,7 @@
<view class="item" v-for="item in listthree" v-if="listthree.length>0" @tap='goseekadvicefrom(item)'> <view class="item" v-for="item in listthree" v-if="listthree.length>0" @tap='goseekadvicefrom(item)'>
<image src="../../static/docHead.png" mode=""></image> <image src="../../static/docHead.png" mode=""></image>
<view class="title"> <view class="title">
服务推送 {{item.senderName}}
</view> </view>
<view class="time"> <view class="time">
{{item.sendTime}} {{item.sendTime}}
@ -137,7 +137,16 @@
} }
}) })
}, },
} },
onReachBottom() { //
},
onPullDownRefresh() { //
this.info();
setTimeout(function() {
uni.stopPullDownRefresh();
}, 1000);
},
} }
</script> </script>
@ -199,4 +208,4 @@
} }
} }
} }
</style> </style>