@@ -73,7 +73,6 @@ Page({
},
where: {
condition: "",
-
}
onLoad(options) {
@@ -1,4 +1,5 @@
page {
height: 100vw;
overflow: hidden;
-}
+}
+
@@ -28,7 +28,8 @@ Component({
content.pageNumber = res.pageNumber + 1;
this.setData({
list: res.pageNumber == 1 ? res.data : this.data.list.concat(res.data),
- content
+ content,
+ total: res.total
})
getCurrentPages().find(v => v.__route__ == 'packageA/report/index').selectComponent('#ListBox').RefreshToComplete();
@@ -1 +1,10 @@
-/* packageA/report/modules/receive/index.wxss */
+/* 未读 */
+.unread {
+ width: 750rpx;
+ height: 34rpx;
+ text-align: center;
+ font-size: 24rpx;
+ font-family: PingFang SC-Regular, PingFang SC;
+ color: #999999;
+ margin: 12rpx 0 -5rpx 0;
@@ -1 +1,5 @@
+<view class="unread">
+ 总共{{total}}条
+</view>
<List list="{{list}}" bind:onClick='onRead' />
@@ -29,7 +29,8 @@ Component({
-/* packageA/report/modules/sendOut/index.wxss */
<List list="{{list}}" />