From 765597686129a61e3de91ad9b60e6af35a53cdc5 Mon Sep 17 00:00:00 2001 From: liuye Date: Mon, 17 Apr 2023 17:56:50 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=AF=E5=88=86=E5=85=91=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AppRedemptionPoints.vue | 70 ++++++------------- 1 file changed, 20 insertions(+), 50 deletions(-) diff --git a/src/project/fengdu/AppRedemptionPoints/AppRedemptionPoints.vue b/src/project/fengdu/AppRedemptionPoints/AppRedemptionPoints.vue index e406534..e6cbe94 100644 --- a/src/project/fengdu/AppRedemptionPoints/AppRedemptionPoints.vue +++ b/src/project/fengdu/AppRedemptionPoints/AppRedemptionPoints.vue @@ -24,45 +24,23 @@
- - - - - +
+ + @@ -88,8 +66,6 @@ export default { currentType: 0, pointTypeList: [{name: '全部'}, {name: '50分以下'}, {name: '100分以下'}, {name: '200分以下'}, {name: '5000分以下'}], currentPoint: 0, - leftList: [], - rightList: [], goodsList: [], total: 0, current: 1 @@ -117,8 +93,6 @@ export default { }, getListInit() { this.goodsList = [] - this.leftList = [] - this.rightList = [] this.current = 1 this.getList() }, @@ -134,15 +108,6 @@ export default { }).then(res => { if (res.code === 0) { this.goodsList = this.current == 1 ? res.data.records : [...this.goodsList, ...res.data.records] - if(res.data && res.data.records.length) { - res.data.records.map((item, index) => { - if(index%2 == 0) { - this.leftList.push(item) - }else { - this.rightList.push(item) - } - }) - } } }) }, @@ -253,6 +218,11 @@ export default { .list-content { padding: 396px 0 24px 24px; background-color: #f3f6f9; + overflow: hidden; + .list-info { + width: 50%; + float: left; + } .item { width: calc(100% - 24px); background-color: #fff;