From 67bcc526468aa90f71dcdd10db79d7f3a0ad764d Mon Sep 17 00:00:00 2001 From: "USER-20200413TQ\\Administrator" <812952667@qq.com> Date: Thu, 20 Oct 2022 17:56:01 +0800 Subject: [PATCH] =?UTF-8?q?1.=E5=AF=B9=E6=8E=A5=E7=AB=99=E5=86=85=E4=BF=A1?= =?UTF-8?q?=E6=B6=88=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Utils/Api.js | 6 + pages/order/confirmation.vue | 523 ++++++++++++++--------------------- pages/user/news/news.vue | 116 ++++++-- 3 files changed, 301 insertions(+), 344 deletions(-) diff --git a/Utils/Api.js b/Utils/Api.js index 48c3f9d..c6ba27a 100644 --- a/Utils/Api.js +++ b/Utils/Api.js @@ -187,6 +187,12 @@ export const getDiscountByCode = params => { } + + +//站内信列表 +export const queryMsgByList = params => { + return POST('GET', `${base}/bsMsg/queryMsgByList`, params).then(res => res.data); +} // 根据优惠券查卡券 export const getCouponByDiscount = params => { return POST('GET', `${base}/discount/getCouponByDiscount`, params).then(res => res.data); diff --git a/pages/order/confirmation.vue b/pages/order/confirmation.vue index e83e383..f9e014f 100644 --- a/pages/order/confirmation.vue +++ b/pages/order/confirmation.vue @@ -87,107 +87,98 @@ - - - - 邀请码 - - - - - - - - - 积分抵扣 - - - 0 - - - {{availIntegal}} - - - - - - 抵扣金额 - - - ¥{{priceValue[1] / 100}} - - - - - - - - 下单返积分 - - - 返{{rebateIntegral}}积分 - - - {{rebateIntegral}} - - - - - 积分抵扣与优惠券抵扣不同享 - - - - - - 支付方式: 积分充值 + + + + 邀请码 + + + + + + + + + 积分抵扣 + + + 0 + + + {{availIntegal}} - - - - 积分支付可用积分: {{user.gold}} + + + + 抵扣金额 - + ¥{{priceValue[1] / 100}} - - - - 微信支付 + + + + + + 下单返积分 - + 返{{rebateIntegral}}积分 + + - + {{rebateIntegral}} - - - - 汇联通工会卡可用余额: {{tongCardPrice}}元 + + + 积分抵扣与优惠券抵扣不同享 + + + + + + 支付方式 + - - + + + + + + + 微信支付 + + + + + + + + + 汇联通工会卡可用余额: {{tongCardPrice}}元 + + + + - - + + - {{item}} + + {{item.codeName}} - - + + + + + + 服务通知 + + + 交易信息 + + + + 客服消息 + - - 最新电影已上映快来抢购 - + + {{item.title}} + - - 付款成功 + + {{item.title}} - ¥9.58 + ¥{{item.content | msgFormat('price')}} 交易对象 - 电信话费充值200元 + {{item.content | msgFormat('objectName') }} 交易时间 - 2022年9月30日 + {{item.content | msgFormat('time') }} 查看详情 @@ -40,11 +54,11 @@ - - 客服消息提醒 + + {{item.title}} - 你的问题我们已提交技术人员处理,请耐心等候 + {{item.content}} 查看详情 @@ -82,9 +140,9 @@ background-color: #f3f3f3; } - .srollview { - position: fixed; - height: 70px; + .srollview { + position: fixed; + height: 70px; background-color: #ffffff; display: flex; flex-direction: row; @@ -96,8 +154,8 @@ line-height: 24px; margin-top: 15px; padding-left: 10px; - font-size: 11px; - padding-right: 10px; + font-size: 11px; + padding-right: 10px; margin-left: 15px; display: inline-flex; flex-direction: column;