|
@@ -441,7 +441,7 @@
|
|
|
|
|
|
<div class="pagination">
|
|
|
<el-pagination
|
|
|
- @current-change="currentChangeBank"
|
|
|
+ @current-change="currentChangeCou"
|
|
|
background
|
|
|
layout="prev, pager, next"
|
|
|
:total="paramList[0].total"
|
|
@@ -536,7 +536,7 @@
|
|
|
|
|
|
<div class="pagination">
|
|
|
<el-pagination
|
|
|
- @current-change="currentChangeCou"
|
|
|
+ @current-change="currentChangeBank"
|
|
|
background
|
|
|
layout="prev, pager, next"
|
|
|
:total="paramList[1].total"
|
|
@@ -820,8 +820,9 @@ export default {
|
|
|
})
|
|
|
|
|
|
},
|
|
|
- async currentChangeCou(e) {
|
|
|
- this.params.pageNum = e
|
|
|
+ async currentChangeCou(val) {
|
|
|
+ console.log('vallll', val)
|
|
|
+ this.paramList[0].pageNum = val
|
|
|
this.goodsList1 = []
|
|
|
let list1 = await this.getGoodsList(this.courseId, 0)
|
|
|
this.goodsList1.push(...list1)
|
|
@@ -834,9 +835,11 @@ export default {
|
|
|
let list1 = await this.getGoodsList(recommendId, 0)
|
|
|
this.goodsList1.push(...list1)
|
|
|
},
|
|
|
- async currentChangeBank(e) {
|
|
|
+ async currentChangeBank(val) {
|
|
|
+ console.log('val--', val)
|
|
|
+ this.paramList[1].pageNum = val
|
|
|
this.goodsList2 = []
|
|
|
- let list2 = await this.getGoodsList(this.bankId, 0)
|
|
|
+ let list2 = await this.getGoodsList(this.bankId, 1)
|
|
|
this.goodsList2.push(...list2)
|
|
|
},
|
|
|
async changebank(recommendId, index) {
|