From 26caacc42ce2c05af6eb11bdf32e9d2a4b3a4f14 Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Tue, 29 Nov 2022 11:12:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=91=E7=9A=84=E8=AE=A2=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/project/pidu/AppPointsChange/myOrder.vue | 52 ++++++++++---------- 1 file changed, 27 insertions(+), 25 deletions(-) diff --git a/src/project/pidu/AppPointsChange/myOrder.vue b/src/project/pidu/AppPointsChange/myOrder.vue index 91766763..d76ff11c 100644 --- a/src/project/pidu/AppPointsChange/myOrder.vue +++ b/src/project/pidu/AppPointsChange/myOrder.vue @@ -4,44 +4,38 @@
{{ item }}
- -
- -
+
+
-
2020-12-11 10:10
- -
待收货
+
{{ item.createTime }}
+ +
{{item.orderStatus}}
-
- +
-
天薇抽纸天然无香纸巾天薇抽纸天然无香纸巾天薇抽纸可湿水面巾…
+
{{ item.merchandiseName }}
-
数量:2
-
10积分
+
数量:{{ item.merchandiseNumber }}
+
{{ item.merchandiseNumber * item.merchandiseIntegral}}积分
-
- 备注:明天自己上门取货 -
- -
+
备注:{{ item.remark }}
+
取消订单
-
核销码:293049
+
核销码:{{ item.auditCode }}
- +
@@ -57,7 +51,7 @@ export default { } }, onLoad() { - // this.getOrderList() + this.getOrderList() document.title = '我的订单' }, methods: { @@ -65,10 +59,10 @@ export default { this.orderList = [] this.current = 1 this.tabIndex = index - // this.getOrderList() + this.getOrderList() }, getOrderList() { - this.$instance.post('/appvillagerintegralshoporder/listForWx',null,{ + this.$http.post('/app/appintegralmerchandiseorder/listByGirdMember',null,{ params: { current: this.current, orderStatus: this.tabIndex == 0 ? '' : this.tabIndex == 1? 0 : this.tabIndex ==2? 1:2 @@ -81,7 +75,7 @@ export default { }, cancelBtn(id) { this.$dialog.confirm({ content: '确定要关闭该订单吗?' }).then(() => { - this.$instance.post('/appvillagerintegralshoporder/overOrderForWx',null,{ + this.$http.post('/appvillagerintegralshoporder/overOrderForWx',null,{ params: { orderId: id } @@ -188,6 +182,13 @@ export default { } .info { width: calc(100% - 192px); + .name { + overflow: hidden; + text-overflow: ellipsis; + display: -webkit-box; + -webkit-box-orient: vertical; + -webkit-line-clamp: 2; + } .info-num { margin-top: 24px; display: flex; @@ -229,8 +230,9 @@ export default { } div:first-child { margin-right: 32px; - border: 1px solid #DDDDDD; - border-radius: 52px; + // border: 1px solid #DDDDDD; + // border-radius: 52px; + color: #687DA6; } div:last-child { color: #999999;