diff --git a/src/project/fengdu/AppRedemptionPoints/AppRedemptionPoints.vue b/src/project/fengdu/AppRedemptionPoints/AppRedemptionPoints.vue index 85c32fc..c13d9be 100644 --- a/src/project/fengdu/AppRedemptionPoints/AppRedemptionPoints.vue +++ b/src/project/fengdu/AppRedemptionPoints/AppRedemptionPoints.vue @@ -24,28 +24,53 @@
-
-
- -
{{ $dict.getLabel('integralSGType', item.type) }}
-
-

{{item.title}}

-
-

{{item.integralPrice}}积分

-

+¥{{item.payMoney}}

- 兑换后再付 -
-
-
{{total >= item.integralPrice ? '去兑换' : '积分不足'}}
-
商品缺货
-
-
-
店铺停用
+
+
+
+ +
{{ $dict.getLabel('integralSGType', item.type) }}
+
+

{{item.title}}

+
+

{{item.integralPrice}}积分

+

+¥{{item.payMoney}}

+ 兑换后再付 +
+
+
{{total >= item.integralPrice ? '去兑换' : '积分不足'}}
+
商品缺货
+
+
+
店铺停用
+
- +
+
+
+ +
{{ $dict.getLabel('integralSGType', item.type) }}
+
+

{{item.title}}

+
+

{{item.integralPrice}}积分

+

+¥{{item.payMoney}}

+ 兑换后再付 +
+
+
{{total >= item.integralPrice ? '去兑换' : '积分不足'}}
+
商品缺货
+
+
+
店铺停用
+
+
+
+
+
+
@@ -72,6 +97,8 @@ export default { pointTypeList: [{name: '全部'}, {name: '50分以下'}, {name: '100分以下'}, {name: '200分以下'}, {name: '5000分以下'}], currentPoint: 0, goodsList: [], + leftList: [], + rightList: [], total: 0, current: 1 } @@ -98,6 +125,8 @@ export default { }, getListInit() { this.goodsList = [] + this.leftList = [] + this.rightList = [] this.current = 1 this.getList() }, @@ -113,6 +142,13 @@ export default { }).then(res => { if (res.code === 0) { this.goodsList = this.current == 1 ? res.data.records : [...this.goodsList, ...res.data.records] + res.data.records.map((item, index) => { + if(index%2 ==0) { + this.leftList.push(item) + }else { + this.rightList.push(item) + } + }) } }) }, @@ -224,10 +260,14 @@ export default { padding: 396px 0 24px 24px; background-color: #f3f6f9; overflow: hidden; - .list-info { + .left-list, + .right-list { width: 50%; float: left; } + .list-info { + width: 100%; + } .item { width: calc(100% - 24px); background-color: #fff; diff --git a/src/project/fengdu/AppRedemptionPoints/productDetails.vue b/src/project/fengdu/AppRedemptionPoints/productDetails.vue index 077f30a..9aa61fa 100644 --- a/src/project/fengdu/AppRedemptionPoints/productDetails.vue +++ b/src/project/fengdu/AppRedemptionPoints/productDetails.vue @@ -13,11 +13,13 @@

商品描述:

-
+
{{total >= goodsInfo.integralPrice ? '立即兑换' : '积分不足'}}
商品缺货
-
店铺停用
+
+
店铺停用
+