Ver Fonte

导出PDF样式修改

kevin_zhangl há 3 anos atrás
pai
commit
6455dfa15c
1 ficheiros alterados com 6 adições e 6 exclusões
  1. 6 6
      frontendApi/modules/v1/controllers/ShopController.php

+ 6 - 6
frontendApi/modules/v1/controllers/ShopController.php

@@ -1609,15 +1609,15 @@ ORDER;
                         <div style="display: block; width: 100%;">
                             {$orderBase}
                             
-                            <table border="1" width="100%" style="padding: 10px 20px; text-align: center;">
+                            <table border="1" width="100%" style="padding: 5px 5px; text-align: center; align: center;">
                                 <tr>
                                     <th width="15%" style="font-size: 14px; font-weight: bold; text-align: center;">Product Code</th>
-                                    <th width="25%" style="font-size: 14px; font-weight: bold; text-align: center;">Product Name</th>
+                                    <th width="20%" style="font-size: 14px; font-weight: bold; text-align: center;">Product Name</th>
                                     <th width="15%" style="font-size: 14px; font-weight: bold; text-align: center;">Product Price</th>
-                                    <th width="8%"  style="font-size: 14px; font-weight: bold; text-align: center; min-width: 90px; white-space: nowrap;">Qty</th>
-                                    <th width="10%" style="font-size: 14px; font-weight: bold; text-align: center; min-width: 120px; white-space: nowrap;">Tax Rate</th>
-                                    <th width="12%" style="font-size: 14px; font-weight: bold; text-align: center;">Tax</th>
-                                    <th width="15%" style="font-size: 14px; font-weight: bold; text-align: center;">Total Amount</th>
+                                    <th width="10%" style="font-size: 14px; font-weight: bold; text-align: center; min-width: 90px; white-space: nowrap;">Qty</th>
+                                    <th width="12%" style="font-size: 14px; font-weight: bold; text-align: center; min-width: 120px; white-space: nowrap;">Tax Rate</th>
+                                    <th width="15%" style="font-size: 14px; font-weight: bold; text-align: center; align: center;">Tax</th>
+                                    <th width="13%" style="font-size: 14px; font-weight: bold; text-align: center;">Total Amount</th>
                                 </tr>
                                 {$orderDetails}
                                 <tr>