From a597067b379e4699caf87f8fdd2c8d1096323e90 Mon Sep 17 00:00:00 2001 From: jsasg <735273025@qq.com> Date: Mon, 19 May 2025 09:33:12 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E5=90=88=E5=B9=B6=E5=86=B2?= =?UTF-8?q?=E7=AA=81=E4=BB=A3=E7=A0=81=E6=89=BE=E5=9B=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/index/view/product/category.bak.html | 71 -------------- app/index/view/product/subcategory.html | 119 ++++++++++++++++------- 2 files changed, 85 insertions(+), 105 deletions(-) delete mode 100644 app/index/view/product/category.bak.html diff --git a/app/index/view/product/category.bak.html b/app/index/view/product/category.bak.html deleted file mode 100644 index 6363511d..00000000 --- a/app/index/view/product/category.bak.html +++ /dev/null @@ -1,71 +0,0 @@ -{extend name="public/base" /} -{block name="style"} - -{/block} -{block name="main"} -
- {notempty name="focus_image"} -
- {volist name="focus_image" id="fimg"} - - {/volist} -
- {/notempty} - -
- {notempty name="categorys_data"} - {volist name="categorys_data" id="vo"} -
- {$vo.name} - {eq name="vo.level" value="2"} - 查看更多 - {/eq} -
- {notempty name="vo.products"} - - {/notempty} - {/volist} - {/notempty} -
-
-{/block} -{block name="script"} - -{/block} \ No newline at end of file diff --git a/app/index/view/product/subcategory.html b/app/index/view/product/subcategory.html index 0e9ce46d..6e878fb6 100644 --- a/app/index/view/product/subcategory.html +++ b/app/index/view/product/subcategory.html @@ -1,35 +1,86 @@ -{extend name="public/base" /} -{block name="style"} - -{/block} -{block name="main"} -
- - - - - -
-

Power Strip

- -
-
+{extend name="public/base" /} +{block name="style"} + +{/block} +{block name="main"} +
+ {notempty name="focus_image"} +
+ {volist name="focus_image" id="fi"} + + + + {/volist} +
+ {/notempty} + +
+ {notempty name="categorys_data"} + {volist name="categorys_data" id="vo"} +
+ {$vo.name} +
+ {notempty name="vo.products"} + + {/notempty} + {/volist} + {/notempty} +
+
+{/block} +{block name="script"} + {/block} \ No newline at end of file