From df5dddb424b1e9b7444061b5ebeab742484da07d Mon Sep 17 00:00:00 2001
From: 77 <270260644@qq.com>
Date: Fri, 25 Oct 2024 18:00:36 +0800
Subject: [PATCH] =?UTF-8?q?=E8=AE=A2=E5=8D=95=E8=AF=A6=E6=83=85=E9=A1=B5?=
=?UTF-8?q?=E9=9D=A2=E4=BC=98=E5=8C=96=E3=80=82=E5=88=86=E7=B1=BB=E9=A1=B5?=
=?UTF-8?q?=E9=9D=A2=E4=BC=98=E5=8C=96=E3=80=82=E8=AE=A2=E5=8D=95=E8=AF=A6?=
=?UTF-8?q?=E6=83=85=E4=B8=8B=E5=8D=95=E6=88=90=E5=8A=9F=E9=A1=B5=E9=9D=A2?=
=?UTF-8?q?=E4=BC=98=E5=8C=96=E3=80=82?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/goods/comment/add.vue | 3 +-
pages/index/category.vue | 26 +-
pages/order/detail.vue | 1194 ++++++++++++++++++-----------------
pages/pay/result.vue | 524 +++++++--------
pages/user/wallet/score.vue | 29 +-
5 files changed, 917 insertions(+), 859 deletions(-)
diff --git a/pages/goods/comment/add.vue b/pages/goods/comment/add.vue
index c57b043..0de2b69 100644
--- a/pages/goods/comment/add.vue
+++ b/pages/goods/comment/add.vue
@@ -80,7 +80,8 @@
await OrderApi.createOrderItemComment(comment);
}
// 都评论好,返回
- sheep.$router.back();
+ // sheep.$router.back();
+ sheep.$router.redirect('/pages/order/list');
}
onLoad(async (options) => {
diff --git a/pages/index/category.vue b/pages/index/category.vue
index 6d76912..03ff459 100644
--- a/pages/index/category.vue
+++ b/pages/index/category.vue
@@ -150,7 +150,7 @@
.side-menu-wrap {
width: 200rpx;
height: 100%;
- padding-left: 12rpx;
+ // padding-left: 12rpx;
background-color: #f6f6f6;
.menu-item {
@@ -161,7 +161,7 @@
.menu-title {
line-height: 32rpx;
- font-size: 30rpx;
+ font-size: 23rpx;
font-weight: 400;
color: #333;
margin-left: 28rpx;
@@ -187,16 +187,16 @@
&.menu-item-active {
background-color: #fff;
- border-radius: 20rpx 0 0 20rpx;
-
+ // border-radius: 20rpx 0 0 20rpx;
&::before {
content: '';
position: absolute;
- right: 0;
- bottom: -20rpx;
- width: 20rpx;
- height: 20rpx;
- background: radial-gradient(circle at 0 100%, transparent 20rpx, #fff 0);
+ left: 0;
+ bottom: 0;
+ width: 2px;
+ height: 100%;
+ // background: radial-gradient(circle at 0 100%, transparent 20rpx, #fff 0);
+ background: rgba(236,72,29);
}
&::after {
@@ -211,10 +211,10 @@
.menu-title {
font-weight: 600;
-
- &::before {
- left: 0;
- }
+ color:rgba(236,72,29);
+ // &::before {
+ // left: 0;
+ // }
}
}
}
diff --git a/pages/order/detail.vue b/pages/order/detail.vue
index 167aaca..de63bd9 100644
--- a/pages/order/detail.vue
+++ b/pages/order/detail.vue
@@ -1,656 +1,694 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
- {{ formatOrderStatus(state.orderInfo) }}
-
-
- {{ formatOrderStatusDescription(state.orderInfo) }}
-
-
+ " class="state-img"
+ src="https://zysc.fjptzykj.com:3000/shangcheng/b78f86e49f0408b005c79246af63707c86a855b2dd39556f2fdce7653d95b227.png">
+
+
+
+
+
+
+
+
+ {{ formatOrderStatusDescription(state.orderInfo) }}
+
+
-
-
-
-
- {{ state.orderInfo.receiverName }}
-
- {{ state.orderInfo.receiverMobile }}
-
-
- {{ state.orderInfo.receiverAreaName }} {{ state.orderInfo.receiverDetailAddress }}
-
-
+
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
+
-
+
-
-
-
-
-
-
-
-
-
+ ">
+ 退款成功
+
+
+
+
+
+
+
+
+
+
-
-
+
+
-
-
-
-
-
- 订单编号:
- {{ state.orderInfo.no }}
-
-
-
-
- 下单时间:
-
- {{ sheep.$helper.timeFormat(state.orderInfo.createTime, 'yyyy-mm-dd hh:MM:ss') }}
-
-
-
- 支付时间:
-
- {{ sheep.$helper.timeFormat(state.orderInfo.payTime, 'yyyy-mm-dd hh:MM:ss') }}
-
-
-
- 支付方式:
- {{ state.orderInfo.payChannelName || '-' }}
-
-
-
+
+
+
+
+
+ 订单编号:
+ {{ state.orderInfo.no }}
+
+
+
+
+ 下单时间:
+
+ {{ sheep.$helper.timeFormat(state.orderInfo.createTime, 'yyyy-mm-dd hh:MM:ss') }}
+
+
+
+ 支付时间:
+
+ {{ sheep.$helper.timeFormat(state.orderInfo.payTime, 'yyyy-mm-dd hh:MM:ss') }}
+
+
+
+ 支付方式:
+ {{ state.orderInfo.payChannelName || '-' }}
+
+
+
-
-
-
- 商品总额
-
- ¥{{ fen2yuan(state.orderInfo.totalPrice) }}
-
-
-
- 运费
- ¥{{ fen2yuan(state.orderInfo.deliveryPrice) }}
-
-
-
- 优惠劵金额
- -¥{{ fen2yuan(state.orderInfo.couponPrice) }}
-
-
- 积分抵扣
- -¥{{ fen2yuan(state.orderInfo.pointPrice) }}
-
-
- 活动优惠
- ¥{{ fen2yuan(state.orderInfo.discountPrice) }}
-
-
- 会员优惠
- -¥{{ fen2yuan(state.orderInfo.vipPrice) }}
-
-
- {{ state.orderInfo.payStatus ? '已付款' : '需付款' }}
- ¥{{ fen2yuan(state.orderInfo.payPrice) }}
-
-
- 已退款
- ¥{{ fen2yuan(state.orderInfo.refundPrice) }}
-
-
+
+
+
+ 商品总额
+
+ ¥{{ fen2yuan(state.orderInfo.totalPrice) }}
+
+
+
+ 运费
+ ¥{{ fen2yuan(state.orderInfo.deliveryPrice) }}
+
+
+
+ 优惠劵金额
+ -¥{{ fen2yuan(state.orderInfo.couponPrice) }}
+
+
+ 积分抵扣
+ -¥{{ fen2yuan(state.orderInfo.pointPrice) }}
+
+
+ 活动优惠
+ ¥{{ fen2yuan(state.orderInfo.discountPrice) }}
+
+
+ 会员优惠
+ -¥{{ fen2yuan(state.orderInfo.vipPrice) }}
+
+
+ {{ state.orderInfo.payStatus ? '已付款' : '需付款' }}
+ ¥{{ fen2yuan(state.orderInfo.payPrice) }}
+
+
+ 已退款
+ ¥{{ fen2yuan(state.orderInfo.refundPrice) }}
+
+
-
-
-
-
+
+
+ .cancel-btn {
+ width: 160rpx;
+ height: 60rpx;
+ background: #eeeeee;
+ border-radius: 30rpx;
+ margin-right: 20rpx;
+ font-size: 26rpx;
+ font-weight: 400;
+ color: #333333;
+ }
+
+ .pay-btn {
+ width: 160rpx;
+ height: 60rpx;
+ font-size: 26rpx;
+ border-radius: 30rpx;
+ font-weight: 500;
+ color: #fff;
+ }
+ }
+
\ No newline at end of file
diff --git a/pages/pay/result.vue b/pages/pay/result.vue
index 8294371..5af8634 100644
--- a/pages/pay/result.vue
+++ b/pages/pay/result.vue
@@ -1,287 +1,287 @@
-
-
-
-
-
-
- 支付成功
- 支付失败
- 该订单已关闭
- 检测支付结果...
-
- ¥{{ fen2yuan(state.orderInfo.price) }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 获取实时发货信息与订单状态
- 立即订阅
-
-
-
-
+
+
+
+ 订单支付成功
+ 支付失败
+ 该订单已关闭
+ 检测支付结果...
+
+
+
+
+ 订单号
+
+
+ {{ state.orderInfo.no }}
+
+
+
+
+ 下单时间
+
+
+ {{ sheep.$helper.timeFormat(state.orderInfo.createTime, 'yyyy-mm-dd hh:MM:ss') }}
+
+
+
+
+ 支付方式
+
+
+ 支付余额
+
+
+
+
+ 支付余额
+
+
+ ¥{{ fen2yuan(state.orderInfo.price) }}
+
+
+
+
+ 重新支付
+
+
+ 我的拼团
+
+
+ 查看订单
+
+
+ 返回首页
+
+
+
+
+
+
+ 获取实时发货信息与订单状态
+ 立即订阅
+
+
+
+
+
+
diff --git a/pages/user/wallet/score.vue b/pages/user/wallet/score.vue
index 238b28a..ab57df8 100644
--- a/pages/user/wallet/score.vue
+++ b/pages/user/wallet/score.vue
@@ -33,12 +33,12 @@
- 1000
- 累计积分(带对接接口)
+ {{state.pointData.addUp}}
+ 累计积分
- 1000
- 累计消费(带对接接口)
+ {{state.pointData.reduce}}
+ 累计消费
0
@@ -115,6 +115,11 @@