From 5fa43dfb5bffd03fe9383421978a3d5df855cc27 Mon Sep 17 00:00:00 2001
From: kele <1184860403@qq.com>
Date: Tue, 17 Jan 2023 15:31:19 +0800
Subject: [PATCH] =?UTF-8?q?fix:=20=E8=AE=A2=E5=8D=95=E8=AF=A6=E6=83=85?=
=?UTF-8?q?=E9=A1=B5=E9=9D=A2=E6=B7=BB=E5=8A=A0=E5=88=A4=E6=96=AD=E6=9D=A1?=
=?UTF-8?q?=E4=BB=B6=E6=8C=89=E9=92=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/order/detail.vue | 24 +++++++++++++++++++++++-
1 file changed, 23 insertions(+), 1 deletion(-)
diff --git a/pages/order/detail.vue b/pages/order/detail.vue
index f462baf8..8f2e1599 100644
--- a/pages/order/detail.vue
+++ b/pages/order/detail.vue
@@ -213,6 +213,20 @@
@tap="onComment(state.orderInfo.order_sn)"
>评价晒单
+
+
@@ -224,6 +238,7 @@
import { computed, reactive } from 'vue';
const statusBarHeight = sheep.$platform.device.statusBarHeight * 2;
+ const headerBg = sheep.$url.css('/assets/addons/shopro/frontend_img/order/order_bg.png');
const state = reactive({
orderInfo: {},
});
@@ -298,6 +313,13 @@
}
}
+ // 查看发票
+ function onOrderInvoice(invoiceId) {
+ sheep.$router.go('/pages/order/invoice', {
+ invoiceId,
+ });
+ }
+
// 评价
function onComment(orderSN) {
uni.$once('SELECT_INVOICE', (e) => {
@@ -337,7 +359,7 @@
.state-box {
color: rgba(#fff, 0.9);
width: 100%;
- background: v-bind("sheep.$url.css('/static/img/shop/order/order_bg.png')") no-repeat,
+ background: v-bind(headerBg) no-repeat,
linear-gradient(90deg, var(--ui-BG-Main), var(--ui-BG-Main-gradient));
background-size: 750rpx 100%;
box-sizing: border-box;