diff --git a/app/Helpers/Product_helper.php b/app/Helpers/Product_helper.php index 734151f..456b5b8 100644 --- a/app/Helpers/Product_helper.php +++ b/app/Helpers/Product_helper.php @@ -149,7 +149,7 @@ function getFieldIndex_Row_ProductHelper($field, $entity, array $viewDatas): str ); break; default: - return sprintf("%s", getFieldView_ProductHelper($field, $entity, $viewDatas)); + return getFieldView_ProductHelper($field, $entity, $viewDatas); break; } } // diff --git a/app/Views/front/product/index.php b/app/Views/front/product/index.php index f2fd3f2..23034b4 100644 --- a/app/Views/front/product/index.php +++ b/app/Views/front/product/index.php @@ -8,33 +8,35 @@ - +
- - - + + - - +
getFileImage('middle') ?> + getFileImage('middle') ?>
- - - + + 구매비용 : + = + + 상품원가 : - - + 할인가 :
조회수 :
-
+
+
tail) ?>
endSection() ?> \ No newline at end of file diff --git a/public/css/front/content.css b/public/css/front/content.css index 9c25fa9..3b1fc3d 100644 --- a/public/css/front/content.css +++ b/public/css/front/content.css @@ -65,6 +65,7 @@ div#content table.product tr:first-child { border-top:2px solid black; border-bottom:1px solid silver; } +/* 상품 리스트 전용 */ div#content table thead th{ white-space: nowrap; text-align:center;