feat:修改订单状态文案/订单发票样式

This commit is contained in:
momo 2023-10-30 11:42:50 +08:00
parent 905300ec47
commit 4bb86f4790
2 changed files with 25 additions and 25 deletions

View File

@ -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;
}

View File

@ -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" // 云仓单--生产完成