From f636691cd7f37d52c9772d8a4c3de1dfc995cc21 Mon Sep 17 00:00:00 2001
From: ltlzx <942659938@qq.com>
Date: Wed, 20 Jul 2022 17:54:50 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=83=A8=E5=88=86=E9=A1=B5?=
=?UTF-8?q?=E9=9D=A2=E3=80=81=E5=AF=B9=E6=8E=A5=E7=A1=AE=E8=AE=A4=E8=AE=A2?=
=?UTF-8?q?=E5=8D=95=E4=BD=BF=E7=94=A8=E7=BA=A2=E5=8C=85?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/account/myOrders.vue | 375 +++++++++++++++++----------------
pages/account/myReview.vue | 20 +-
pages/index/index.vue | 32 ++-
pages/order/confirmation.vue | 27 ++-
pages/productDetails/index.vue | 10 +-
5 files changed, 261 insertions(+), 203 deletions(-)
diff --git a/pages/account/myOrders.vue b/pages/account/myOrders.vue
index 7fa91b2..314681e 100644
--- a/pages/account/myOrders.vue
+++ b/pages/account/myOrders.vue
@@ -153,249 +153,259 @@
-
-
- To be shipped
-
- order#{{item.order_sn}}
-
+
+
+
+ To be shipped
+
+ order#{{item.order_sn}}
+
+
-
-
-
-
-
-
-
-
-
- {{item1.goods_name}}
-
-
- {{item1.goods_attr |goodsAttr}}
-
+
+
+
+
+
+
+
+
+ {{item1.goods_name}}
+
+
+ {{item1.goods_attr |goodsAttr}}
+
+
+ ×{{item1.goods_number}}
- ×{{item1.goods_number}}
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ {{item.order_goods.length}} ltems
+
-
- {{item.order_goods.length}} ltems
-
-
-
-
- total:US${{item.total_fee_o}}
+
+ total:US${{item.total_fee_o}}
+
-
-
- Shipped
-
- order#{{item.order_sn}}
-
+
+
+
+ Shipped
+
+ order#{{item.order_sn}}
+
+
-
-
-
-
-
-
-
-
-
- {{item1.goods_name}}
-
-
- {{item1.goods_attr |goodsAttr}}
-
+
+
+
+
+
+
+
+
+ {{item1.goods_name}}
+
+
+ {{item1.goods_attr |goodsAttr}}
+
+
+ ×{{item1.goods_number}}
- ×{{item1.goods_number}}
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ {{item.order_goods.length}} ltems
+
-
- {{item.order_goods.length}} ltems
-
-
+
+ total:US${{item.total_fee_o}}
+
+
+
-
- total:US${{item.total_fee_o}}
-
-
-
-
-
- Completed
-
- order#{{item.order_sn}}
-
+
+
+
+ Completed
+
+ order#{{item.order_sn}}
+
+
-
-
-
-
-
-
-
-
-
- {{item1.goods_name}}
-
-
- {{item1.goods_attr |goodsAttr}}
-
+
+
+
+
+
+
+
+
+ {{item1.goods_name}}
+
+
+ {{item1.goods_attr |goodsAttr}}
+
+
+ ×{{item1.goods_number}}
- ×{{item1.goods_number}}
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ {{item.order_goods.length}} ltems
+
-
- {{item.order_goods.length}} ltems
-
-
+
+ total:US${{item.total_fee_o}}
+
+
+
-
- total:US${{item.total_fee_o}}
-
-
-
-
-
- Return and exchange
-
- order#{{item.order_sn}}
-
+
+
+
+ Return and exchange
+
+ order#{{item.order_sn}}
+
+
-
-
-
-
-
-
-
-
-
- {{item1.goods_name}}
-
-
- {{item1.goods_attr |goodsAttr}}
-
+
+
+
+
+
+
+
+
+ {{item1.goods_name}}
+
+
+ {{item1.goods_attr |goodsAttr}}
+
+
+ ×{{item1.goods_number}}
- ×{{item1.goods_number}}
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ {{item.order_goods.length}} ltems
+
-
- {{item.order_goods.length}} ltems
-
-
+
+ total:US${{item.total_fee_o}}
+
+
-
- total:US${{item.total_fee_o}}
-
-
-
-
- cancelled
-
- order#{{item.order_sn}}
-
+
+
+
+ cancelled
+
+ order#{{item.order_sn}}
+
+
-
-
-
-
-
-
-
-
-
- {{item1.goods_name}}
-
-
- {{item1.goods_attr |goodsAttr}}
-
+
+
+
+
+
+
+
+
+ {{item1.goods_name}}
+
+
+ {{item1.goods_attr |goodsAttr}}
+
+
+ ×{{item1.goods_number}}
- ×{{item1.goods_number}}
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ {{item.order_goods.length}} ltems
+
-
- {{item.order_goods.length}} ltems
-
-
+
+ total:US${{item.total_fee_o}}
+
+
-
- total:US${{item.total_fee_o}}
-
-
@@ -584,8 +594,9 @@
orderInfo: res.data.prepay_data.order_info, //支付宝订单数据
success: function (res) {
console.log('success:' + JSON.stringify(res));
+ this.isShow=false
uni.navigateTo({
- url: 'paySuccess?order_id='+this.payQuery.order_id
+ url: '../order/paySuccess?order_id='+this.payQuery.order_id
});
},
fail: function (err) {
diff --git a/pages/account/myReview.vue b/pages/account/myReview.vue
index 8baef1b..e75e78b 100644
--- a/pages/account/myReview.vue
+++ b/pages/account/myReview.vue
@@ -25,14 +25,30 @@
diff --git a/pages/index/index.vue b/pages/index/index.vue
index ba3de95..8bb3238 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -69,25 +69,30 @@
-
-
+
+
+
-
+
+
-
+
+
-
+
+
-
+
+
-
+
@@ -661,8 +666,12 @@
.hotSells1_item_img{
width: 100%;
height: 266.67rpx;
- background-color: #999999;
+ // background-color: #999999;
margin-bottom: 23.33rpx;
+ image{
+ width: 100%;
+ height: 100%;
+ }
}
}
.hotSells2_item{
@@ -673,8 +682,13 @@
.hotSells2_item_img{
width: 100%;
height: 224rpx;
- background-color: #999999;
+ // background-color: #999999;
margin-bottom: 25.33rpx;
+
+ image{
+ width: 100%;
+ height: 100%;
+ }
}
}
}
diff --git a/pages/order/confirmation.vue b/pages/order/confirmation.vue
index 5a8d618..53c63a8 100644
--- a/pages/order/confirmation.vue
+++ b/pages/order/confirmation.vue
@@ -55,7 +55,7 @@
Coupons
- -US$12.5
+ -US${{total.bonus}}
@@ -82,7 +82,7 @@
Discount :
- -US${{total.discount || 0}}
+ -US${{total.bonus || 0}}
@@ -124,20 +124,21 @@
-
+
Reviews({{goodsDate.comment_summary[0].commentcount}})
@@ -244,7 +244,7 @@