From 5eb4bd2bf6f9d584dc073473cee85ec47478cc60 Mon Sep 17 00:00:00 2001 From: Devil Date: Mon, 16 Dec 2019 01:22:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E7=B1=BB=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../index/view/default/category/index.html | 66 +++++++------ .../index/view/default/public/footer_nav.html | 4 +- public/static/index/default/css/category.css | 94 ++++++++++++++++--- public/static/index/default/js/category.js | 11 +++ 4 files changed, 134 insertions(+), 41 deletions(-) create mode 100644 public/static/index/default/js/category.js diff --git a/application/index/view/default/category/index.html b/application/index/view/default/category/index.html index a51419f2e..d206c25e5 100755 --- a/application/index/view/default/category/index.html +++ b/application/index/view/default/category/index.html @@ -19,35 +19,47 @@
{{if !empty($goods_category_list)}} -
- {{foreach $goods_category_list as $v}} -
-
- {{$v.name}} -
-
-
- {{if !empty($v['items'])}} - {{foreach $v.items as $vs}} - - {{if !empty($vs['items'])}} -
    - {{foreach $vs.items as $keyss=>$vss}} -
  • - {{$vss.name}} -
  • - {{/foreach}} -
- {{/if}} - {{/foreach}} +
    + {{foreach $goods_category_list as $k=>$v}} +
  • {{$v.name}}
  • + {{/foreach}} +
+ {{foreach $goods_category_list as $k=>$v}} +
+ {{foreach $v.items as $vs}} +
+
+
+ {{if !empty($vs['icon'])}} + + {{$vs.name}} + {{/if}} +

+ {{$vs.name}} +

-
-
- {{/foreach}} -
+
+ {{if !empty($vs['items'])}} + + {{/if}} + + {{/foreach}} + + {{/foreach}} {{else /}}
没有相关数据
{{/if}} diff --git a/application/index/view/default/public/footer_nav.html b/application/index/view/default/public/footer_nav.html index 3cd124652..7e69eb6e5 100755 --- a/application/index/view/default/public/footer_nav.html +++ b/application/index/view/default/public/footer_nav.html @@ -1,7 +1,7 @@ {{if MyC('common_is_app_inside_close_header') neq 1 or !in_array(MiniAppEnv(), config('shopxo.mini_app_type_list'))}} {{if !empty($link_list)}} -
+

友情链接

    @@ -33,7 +33,7 @@ {{if MyC('common_is_app_inside_close_header') neq 1 or !in_array(MiniAppEnv(), config('shopxo.mini_app_type_list'))}} -