pages/mjgl/mjdj.vue
@@ -83,7 +83,22 @@ }) }, 1000); }, // 监听下拉刷新动作(UniApp 原生生命周期) onPullDownRefresh() { let that = this uni.startPullDownRefresh({ success() { that.getScanMouldQrCodeMessageData() uni.showToast({ title: "下拉刷新", icon: 'none' }) }, complete() { uni.stopPullDownRefresh() } }) }, data() { return { @@ -248,11 +263,9 @@ } .item { /* 按照实际需求写css */ width: 100%; height: 200rpx; line-height: 90rpx; /* 要对应上itemHeight */ border: 1px solid #c8c8c8; }