diff --git a/pages.json b/pages.json index 9d1aa20..92580f2 100644 --- a/pages.json +++ b/pages.json @@ -484,6 +484,14 @@ "enablePullDownRefresh": false } + }, + { + "path" : "pages/peanut/chargeDetaill", + "style" : + { + "navigationBarTitleText" : "充值详情1", + "enablePullDownRefresh" : false + } } ], "globalStyle": { diff --git a/pages/bookShop/orderLCont.vue b/pages/bookShop/orderLCont.vue index 6bcd707..d3e5c66 100644 --- a/pages/bookShop/orderLCont.vue +++ b/pages/bookShop/orderLCont.vue @@ -74,7 +74,7 @@ 商品总价 : {{orderContet.orderPrice}} - + 运费 : {{orderContet.shippingPrice}} @@ -180,7 +180,7 @@

包裹 {{index+1}}

运单号:{{item.expressOrderSn}} - 发货时间:{{item.createTime}} + 发货时间:{{item.createTime}}
@@ -574,7 +574,7 @@ orderTabCLi(e) { this.orderListTab = e }, - // 获取订单列表 + // 获取订单详情 getOrderList() { console.log('this.orderType',this.orderType) this.$http diff --git a/pages/bookShop/orderList.vue b/pages/bookShop/orderList.vue index 8473db1..8478adf 100644 --- a/pages/bookShop/orderList.vue +++ b/pages/bookShop/orderList.vue @@ -42,7 +42,7 @@
- + @@ -56,7 +56,7 @@
- + @@ -282,9 +282,16 @@ goOrdiCont(e) { console.log(e, 'e') //let orderId = e.orderId ? e.orderId : e.id - uni.navigateTo({ - url: './orderLCont?orderId=' + e.orderId + '&orderType=' + e.orderStatus + '&orderSn=' + e.orderSn - }); + if(e.orderType == 'point'){ // 充值订单 + console.log('跳转到充值页面') + uni.navigateTo({ + url: '/pages/peanut/chargeDetaill?orderId=' + e.orderId + '&orderSn=' + e.orderSn + }); + }else if(e.orderType == 'order'){ // 实体订单 + uni.navigateTo({ + url: './orderLCont?orderId=' + e.orderId + '&orderType=' + e.orderStatus + '&orderSn=' + e.orderSn + }); + } }, // 跳转到支付页面 diff --git a/pages/peanut/chargeDetaill.vue b/pages/peanut/chargeDetaill.vue new file mode 100644 index 0000000..497b47c --- /dev/null +++ b/pages/peanut/chargeDetaill.vue @@ -0,0 +1,275 @@ + + + + + \ No newline at end of file diff --git a/static/icon/cgts.png b/static/icon/cgts.png new file mode 100644 index 0000000..c5daad4 Binary files /dev/null and b/static/icon/cgts.png differ diff --git a/static/icon/fail.png b/static/icon/fail.png new file mode 100644 index 0000000..36e3d92 Binary files /dev/null and b/static/icon/fail.png differ diff --git a/static/icon/noPay.png b/static/icon/noPay.png new file mode 100644 index 0000000..a59132e Binary files /dev/null and b/static/icon/noPay.png differ