diff --git a/src/project/fengdu/AppRedemptionPoints/AppRedemptionPoints.vue b/src/project/fengdu/AppRedemptionPoints/AppRedemptionPoints.vue index 9ad8af1..e6cbe94 100644 --- a/src/project/fengdu/AppRedemptionPoints/AppRedemptionPoints.vue +++ b/src/project/fengdu/AppRedemptionPoints/AppRedemptionPoints.vue @@ -24,45 +24,23 @@
- - - - - +
+ + @@ -88,10 +66,9 @@ export default { currentType: 0, pointTypeList: [{name: '全部'}, {name: '50分以下'}, {name: '100分以下'}, {name: '200分以下'}, {name: '5000分以下'}], currentPoint: 0, - leftList: [], - rightList: [], goodsList: [], - total: 0 + total: 0, + current: 1 } }, computed: { @@ -116,9 +93,8 @@ export default { }, getListInit() { this.goodsList = [] - this.leftList = [] - this.rightList = [] this.current = 1 + this.getList() }, getList() { this.$instance.post(`/app/appintegralsupermarketshop/goodsListXCX`, null, { @@ -132,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) - } - }) - } } }) }, @@ -169,7 +136,7 @@ export default { }, }, onReachBottom() { - this.current = this.current + 1 + this.current ++ this.getList() }, } @@ -251,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; 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}}

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 ? '立即兑换' : '积分不足'}}
商品缺货