diff --git a/src/views/otherComment/highFreq/highFreqList.vue b/src/views/otherComment/highFreq/highFreqList.vue
index 15a01e2..e53d9ee 100644
--- a/src/views/otherComment/highFreq/highFreqList.vue
+++ b/src/views/otherComment/highFreq/highFreqList.vue
@@ -3,16 +3,23 @@
-
-
+
+
-
+
@@ -27,6 +34,26 @@
return []
}
}
+ },
+ data() {
+ return {
+ offset: 1,
+ limit: 10
+ }
+ },
+ methods: {
+ indexMethod(index) {
+ return this.limit * (this.offset - 1) + index + 1
+ },
+ // 改变页容量
+ handleSizeChange(val) {
+ this.offset = 1
+ this.limit = val
+ },
+ // 改变当前页
+ handleCurrentChange(val) {
+ this.offset = val
+ }
}
}
@@ -49,4 +76,7 @@
}
}
}
+ .pagination-container{
+ margin-bottom: 50px;
+ }