From 4bb86f4790b6b99e67510fe99d791b36d81a416b Mon Sep 17 00:00:00 2001 From: momo <1012651275@qq.com> Date: Mon, 30 Oct 2023 11:42:50 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E4=BF=AE=E6=94=B9=E8=AE=A2=E5=8D=95?= =?UTF-8?q?=E7=8A=B6=E6=80=81=E6=96=87=E6=A1=88/=E8=AE=A2=E5=8D=95?= =?UTF-8?q?=E5=8F=91=E7=A5=A8=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- constants/invoice_html.go | 46 +++++++++++++++++++-------------------- constants/orders.go | 4 ++-- 2 files changed, 25 insertions(+), 25 deletions(-) diff --git a/constants/invoice_html.go b/constants/invoice_html.go index 6fddf30c..8259d5d4 100644 --- a/constants/invoice_html.go +++ b/constants/invoice_html.go @@ -36,7 +36,7 @@ const INVOICE_TEMPLATE_01 = ` .header_warp { background-color: #F8F8FA; - padding: 20px 5% 20px 6%; + padding: 40px 5% 40px 6%; } .header_td { @@ -49,25 +49,25 @@ const INVOICE_TEMPLATE_01 = ` } .header_logo { - max-height: 15px; + max-height: 30px; max-width: 100%; - margin-top: 5px; + margin-top: 10px; } .header_td.title { color: #212121; font-weight: 600; - font-size: 36px; + font-size: 72px; } .information_warp { - padding: 30px 5% 30px 6%; + padding: 60px 5% 60px 6%; } .information_td { width: 50%; - font-size: 13px; - line-height: 20px; + font-size: 26px; + line-height: 39px; font-weight: 300; font-family: Montserrat-Light; } @@ -84,7 +84,7 @@ const INVOICE_TEMPLATE_01 = ` .information_td.info { color: #666666; - line-height: 17px; + line-height: 34px; } .bill_warp { @@ -92,7 +92,7 @@ const INVOICE_TEMPLATE_01 = ` } .bill_td { - font-size: 13px; + font-size: 26px; } .bill_td:first-child { @@ -100,8 +100,8 @@ const INVOICE_TEMPLATE_01 = ` } .bill_td.title { - border-top: 2px solid #333; - padding: 13px 0 7px; + border-top: 4px solid #333; + padding: 26px 0 14px; font-weight: 500; color: #212121; font-family: Montserrat-Medium; @@ -109,8 +109,8 @@ const INVOICE_TEMPLATE_01 = ` .bill_td.info { color: #666; - border-bottom: 1px solid #ccc; - padding: 8px 0; + border-bottom: 2px solid #ccc; + padding: 16px 0; font-weight: 400; font-family: Montserrat-Light; } @@ -124,13 +124,13 @@ const INVOICE_TEMPLATE_01 = ` } .total_warp { - padding: 14px 5% 24px 0; + padding: 28px 5% 48px 0; } .total_td { color: #212121; - padding: 8px 0 7px; - font-size: 12px; + padding: 16px 0 14px; + font-size: 24px; font-weight: 500; font-family: Montserrat-Medium; } @@ -142,17 +142,17 @@ const INVOICE_TEMPLATE_01 = ` } .total_td.border-dashed { - border-bottom: 1px dashed #ccc; + border-bottom: 2px dashed #ccc; } .total_td.border-solid { - border-bottom: 2px solid #333; - padding-bottom: 12px; + border-bottom: 4px solid #333; + padding-bottom: 24px; } .total_td.total { - padding-top: 12px; - font-size: 13px; + padding-top: 24px; + font-size: 26px; font-weight: 600; font-family: Montserrat-SemiBold; } @@ -162,11 +162,11 @@ const INVOICE_TEMPLATE_01 = ` } .notes_td { - font-size: 13px; + font-size: 26px; color: #666; font-weight: 300; width: 50%; - line-height: 21px; + line-height: 42px; font-family: Montserrat-Light; } diff --git a/constants/orders.go b/constants/orders.go index 5bcfebca..178c7bd1 100644 --- a/constants/orders.go +++ b/constants/orders.go @@ -121,14 +121,14 @@ func init() { OrderStatusMessage[ORDER_STATUS_COMPLETE] = "Completed" // 已完成 OrderStatusMessage[ORDER_STATUS_DELETE] = "Deleted" // 已删除 - OrderStatusMessage[ORDER_STATUS_DIRECTMAIL_ORDERED] = "Order" // 直邮单--已下单 + OrderStatusMessage[ORDER_STATUS_DIRECTMAIL_ORDERED] = "Ordered" // 直邮单--已下单 OrderStatusMessage[ORDER_STATUS_DIRECTMAIL_ORDEREDMAINING] = "Final Payment Paid" // 直邮单--已下单--尾款 OrderStatusMessage[ORDER_STATUS_DIRECTMAIL_STARTPRODUCTION] = "Start Production" // 直邮单--开始生产 OrderStatusMessage[ORDER_STATUS_DIRECTMAIL_COMPLETEPRODUCTION] = "Production Complete" // 直邮单--生产完成 OrderStatusMessage[ORDER_STATUS_DIRECTMAIL_SHIPPED] = "Shipped" // 直邮单--已发货 OrderStatusMessage[ORDER_STATUS_DIRECTMAIL_ARRIVED] = "Delivered" // 直邮单--已到达 - OrderStatusMessage[ORDER_STATUS_CLOUDSTORE_ORDERED] = "Order" // 云仓单--已下单 + OrderStatusMessage[ORDER_STATUS_CLOUDSTORE_ORDERED] = "Ordered" // 云仓单--已下单 OrderStatusMessage[ORDER_STATUS_CLOUDSTORE_ORDEREDMAINING] = "Final Payment Paid" // 云仓单--已下单-尾款 OrderStatusMessage[ORDER_STATUS_CLOUDSTORE_STARTPRODUCTION] = "Start Production" // 云仓单--开始生产 OrderStatusMessage[ORDER_STATUS_CLOUDSTORE_COMPLETEPRODUCTION] = "Production Complete" // 云仓单--生产完成