From 192e020fc0547b9ecdfe8caae2453b68f4a15b3d Mon Sep 17 00:00:00 2001 From: pushuo <229102104@qq.com> Date: Mon, 18 Jul 2022 20:50:20 +0800 Subject: [PATCH] wip --- themes/default/design/tab_product.blade.php | 50 +++++++++------------ 1 file changed, 22 insertions(+), 28 deletions(-) diff --git a/themes/default/design/tab_product.blade.php b/themes/default/design/tab_product.blade.php index 9564436d..47e43167 100644 --- a/themes/default/design/tab_product.blade.php +++ b/themes/default/design/tab_product.blade.php @@ -9,13 +9,12 @@ @endif -
推荐商品模块
- @if (isset($content['tabs'])) + @if ($content['tabs']) @@ -23,35 +22,30 @@ @foreach ($content['tabs'] as $products)
- @foreach ($products as $product) -
- @include('shared.product') -
- @endforeach + @if ($products['products']) + @foreach ($products['products'] as $product) +
+ @include('shared.product') +
+ @endforeach + @elseif (!$products['products'] and $design) + @for ($s = 0; $s < 8; $s++) +
+
+
+
请配置商品
+
+ 66.66 + 99.99 +
+
+
+ @endfor + @endif
@endforeach
- @else - -
- @for ($i = 0; $i < 2; $i++) -
-
- @for ($s = 0; $s < 8; $s++) -
- {{-- @include('shared.product') --}} - 商品 -
- @endfor -
-
- @endfor -
@endif