|
@@ -69,7 +69,7 @@
|
|
|
id: '1',
|
|
|
img: '/static/icon/tools.png',
|
|
|
name: '订单通知',
|
|
|
- text: '您的订单成功付款,感谢您的支持。',
|
|
|
+ text: '暂无订单通知。',
|
|
|
url: '/pages/client/clientPackage/message/orderNotice/index',
|
|
|
numb:0
|
|
|
},
|
|
@@ -77,7 +77,7 @@
|
|
|
id: '3',
|
|
|
img: '/static/icon/tools.png',
|
|
|
name: '支付通知',
|
|
|
- text: '支付通知。',
|
|
|
+ text: '暂无支付通知。',
|
|
|
url: '/pages/client/clientPackage/message/orderNotice/index',
|
|
|
numb:0
|
|
|
},
|
|
@@ -85,7 +85,7 @@
|
|
|
id: '2',
|
|
|
img: '/static/icon/tools.png',
|
|
|
name: '评价通知',
|
|
|
- text: '评价通知。',
|
|
|
+ text: '暂无评价通知。',
|
|
|
url: '/pages/client/clientPackage/message/evaluateNotice/index',
|
|
|
numb:0
|
|
|
},
|
|
@@ -93,7 +93,7 @@
|
|
|
id: '4',
|
|
|
img: '/static/icon/tools.png',
|
|
|
name: '点赞回复',
|
|
|
- text: '点赞回复。',
|
|
|
+ text: '暂无点赞回复。',
|
|
|
url: '/pages/client/clientPackage/message/LikeReply/index',
|
|
|
numb:0
|
|
|
},
|
|
@@ -101,7 +101,7 @@
|
|
|
id: '5',
|
|
|
img: '/static/icon/tools.png',
|
|
|
name: '优惠福利',
|
|
|
- text: '优惠福利。',
|
|
|
+ text: '暂无优惠福利通知。',
|
|
|
url: '/pages/client/clientPackage/message/benefits/index',
|
|
|
numb:0
|
|
|
},
|
|
@@ -128,11 +128,21 @@
|
|
|
handlerGetSystemNewInform() {
|
|
|
getIsHaveNewInform().then(res => {
|
|
|
console.log("@@@@res", res)
|
|
|
- this.orderList[0] = res.data.order
|
|
|
- this.orderList[1] = res.data.pay
|
|
|
- this.orderList[2] = res.data.comment
|
|
|
- this.orderList[3] = res.data.evaluate
|
|
|
- this.orderList[4] = res.data.coupon
|
|
|
+ let { order , pay , comment , evaluate , coupon} = res.data
|
|
|
+ this.orderList[0].numb = order
|
|
|
+ order ? this.orderList[0].text = `您有${order}条订单信息` : this.orderList[0].text = '暂无订单通知'
|
|
|
+
|
|
|
+ this.orderList[1].numb = pay
|
|
|
+ pay ? this.orderList[1].text = `您有${pay}条订单信息` : this.orderList[1].text = '暂无支付通知'
|
|
|
+
|
|
|
+ this.orderList[2].numb = comment
|
|
|
+ comment ? this.orderList[2].text = `您有${comment}条订单信息` : this.orderList[2].text = '暂无评价通知'
|
|
|
+
|
|
|
+ this.orderList[3].numb = evaluate
|
|
|
+ evaluate ? this.orderList[3].text = `您有${evaluate}条订单信息` : this.orderList[3].text = '暂无点赞回复'
|
|
|
+
|
|
|
+ this.orderList[4].numb = coupon
|
|
|
+ coupon ? this.orderList[4].text = `您有${coupon}条订单信息` : this.orderList[4].text = '暂无优惠福利通知'
|
|
|
})
|
|
|
},
|
|
|
changeInfo(index) {
|