|
@@ -1,5 +1,3 @@
|
|
|
-<!-- @format -->
|
|
|
-
|
|
|
<template>
|
|
|
<view
|
|
|
style="height: 100%; background-color: #f3f4f9; padding: 20rpx"
|
|
@@ -85,11 +83,19 @@ export default {
|
|
|
// this.read = res;
|
|
|
// });
|
|
|
this.getList();
|
|
|
+ uni.startPullDownRefresh();
|
|
|
+ },
|
|
|
+ onPullDownRefresh() {
|
|
|
+ this.getList();
|
|
|
+ console.log("refresh");
|
|
|
+ setTimeout(function () {
|
|
|
+ uni.stopPullDownRefresh();
|
|
|
+ }, 800);
|
|
|
},
|
|
|
methods: {
|
|
|
detailInfo(item) {
|
|
|
uni.navigateTo({
|
|
|
- url: "/pages/work/detailInfo?id=" + item.id,
|
|
|
+ url: "/pages/work/detailInfo?contents=" + item.contents,
|
|
|
});
|
|
|
},
|
|
|
getList() {
|