From 3072dc10d1f8754bd6aefe60f3967a4c55786376 Mon Sep 17 00:00:00 2001 From: liuye Date: Mon, 17 Apr 2023 14:51:56 +0800 Subject: [PATCH 1/5] =?UTF-8?q?=E5=88=86=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/project/fengdu/AppRedemptionPoints/AppRedemptionPoints.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/project/fengdu/AppRedemptionPoints/AppRedemptionPoints.vue b/src/project/fengdu/AppRedemptionPoints/AppRedemptionPoints.vue index 9ad8af1..8eaa7bd 100644 --- a/src/project/fengdu/AppRedemptionPoints/AppRedemptionPoints.vue +++ b/src/project/fengdu/AppRedemptionPoints/AppRedemptionPoints.vue @@ -91,7 +91,8 @@ export default { leftList: [], rightList: [], goodsList: [], - total: 0 + total: 0, + current: 1 } }, computed: { From 5b93ef80c6e8a516ac6d94c7a7c00b6f558b53bd Mon Sep 17 00:00:00 2001 From: liuye Date: Mon, 17 Apr 2023 17:29:41 +0800 Subject: [PATCH 2/5] =?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 --- src/project/fengdu/AppRedemptionPoints/AppRedemptionPoints.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/project/fengdu/AppRedemptionPoints/AppRedemptionPoints.vue b/src/project/fengdu/AppRedemptionPoints/AppRedemptionPoints.vue index 8eaa7bd..e406534 100644 --- a/src/project/fengdu/AppRedemptionPoints/AppRedemptionPoints.vue +++ b/src/project/fengdu/AppRedemptionPoints/AppRedemptionPoints.vue @@ -120,6 +120,7 @@ export default { this.leftList = [] this.rightList = [] this.current = 1 + this.getList() }, getList() { this.$instance.post(`/app/appintegralsupermarketshop/goodsListXCX`, null, { @@ -170,7 +171,7 @@ export default { }, }, onReachBottom() { - this.current = this.current + 1 + this.current ++ this.getList() }, } From 765597686129a61e3de91ad9b60e6af35a53cdc5 Mon Sep 17 00:00:00 2001 From: liuye Date: Mon, 17 Apr 2023 17:56:50 +0800 Subject: [PATCH 3/5] =?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; From 73f9f00b53e45eca5abedf1ca6f61225c33d2860 Mon Sep 17 00:00:00 2001 From: liuye Date: Mon, 17 Apr 2023 17:58:09 +0800 Subject: [PATCH 4/5] 276 --- src/project/fengdu/AppRedemptionPoints/productDetails.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/project/fengdu/AppRedemptionPoints/productDetails.vue b/src/project/fengdu/AppRedemptionPoints/productDetails.vue index 96ca127..a406b4d 100644 --- a/src/project/fengdu/AppRedemptionPoints/productDetails.vue +++ b/src/project/fengdu/AppRedemptionPoints/productDetails.vue @@ -14,7 +14,7 @@

-
{{total >= goodsInfo.integralPrice ? '去兑换' : '积分不足'}}
+
{{total >= goodsInfo.integralPrice ? '立即兑换' : '积分不足'}}
商品缺货
From b92caedf40e18c2fd14af1298002310eebcb1709 Mon Sep 17 00:00:00 2001 From: liuye Date: Tue, 18 Apr 2023 08:35:34 +0800 Subject: [PATCH 5/5] 277 --- src/project/fengdu/AppRedemptionPoints/myOrderList.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/project/fengdu/AppRedemptionPoints/myOrderList.vue b/src/project/fengdu/AppRedemptionPoints/myOrderList.vue index 07d4678..8903efe 100644 --- a/src/project/fengdu/AppRedemptionPoints/myOrderList.vue +++ b/src/project/fengdu/AppRedemptionPoints/myOrderList.vue @@ -21,7 +21,7 @@ -

兑换成功后,点击「去购买」前往京东低价购买

+

兑换成功后,点击「去购买」前往京东低价购买

免费兑换商品,可到固定的兑换点进行「核销兑换」

备注:{{item.remarks}}