From d8c8743dd4400a1943ad8dd15278054465d66c5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=B5=9C=EC=A4=80=ED=9D=A0?= Date: Fri, 11 Aug 2023 14:50:02 +0900 Subject: [PATCH] shoppingmallv2 init... --- app/Helpers/Product_helper.php | 2 +- app/Views/front/product/index.php | 24 +++++++++++++----------- public/css/front/content.css | 1 + 3 files changed, 15 insertions(+), 12 deletions(-) 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;