rabin hace 2 años
padre
commit
cb14acc0c6
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      app/goods/lib/Sku.php

+ 2 - 2
app/goods/lib/Sku.php

@@ -608,9 +608,9 @@ class Sku
         $html = $prefix . $head . $body;
 
         if ($update) {
-            $html = '<table class="layui-table goods_table"><style>.goods_table td,.goods_table th{text-align: center;}</style>' . $html . '</table>';
+            $html = '<table class="layui-table goods_table" style="width: 100%;">' . $html . '</table>';
         } else {
-            $html = '<table class="layui-table goods_table"><style>.goods_table td,.goods_table th{text-align: center;}</style>' . $html . '</table>';
+            $html = '<table class="layui-table goods_table" style="width: 100%;">' . $html . '</table>';
         }
 
         if ($single_attr && $sku_value) {