修改
This commit is contained in:
parent
e382dc5919
commit
5ae165d3f8
@ -12,8 +12,9 @@
|
||||
}, {
|
||||
"path": "pages/message/message",
|
||||
"style": {
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationBarTitleText": "消息中心"
|
||||
"navigationBarTitleText": "消息中心",
|
||||
"onReachBottomDistance": 40, //距离底部多远时触发 单位为px
|
||||
"enablePullDownRefresh": true //设置参数为true
|
||||
}
|
||||
}, {
|
||||
"path": "pages/homepage/homepage",
|
||||
|
||||
@ -51,7 +51,7 @@
|
||||
<view class="item" v-for="item in listthree" v-if="listthree.length>0" @tap='goseekadvicefrom(item)'>
|
||||
<image src="../../static/docHead.png" mode=""></image>
|
||||
<view class="title">
|
||||
服务推送
|
||||
{{item.senderName}}
|
||||
</view>
|
||||
<view class="time">
|
||||
{{item.sendTime}}
|
||||
@ -137,7 +137,16 @@
|
||||
}
|
||||
})
|
||||
},
|
||||
}
|
||||
},
|
||||
onReachBottom() { //上滑加载
|
||||
},
|
||||
onPullDownRefresh() { //下拉刷新
|
||||
this.info();
|
||||
setTimeout(function() {
|
||||
uni.stopPullDownRefresh();
|
||||
}, 1000);
|
||||
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
@ -199,4 +208,4 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
Loading…
Reference in New Issue
Block a user