diff --git a/application/index/controller/Category.php b/application/index/controller/Category.php index b20036735297078b1f6c57c2a0fab7cab76417cb..e12ce71b5244b2da0581020920c49e9a8b65253a 100755 --- a/application/index/controller/Category.php +++ b/application/index/controller/Category.php @@ -43,9 +43,6 @@ class Category extends Common */ public function Index() { - // 展示层级 - $this->assign('category_show_level', MyC('common_show_goods_category_level', 3, true)); - // 浏览器名称 $this->assign('home_seo_site_title', SeoService::BrowserSeoTitle('商品分类', 1)); diff --git a/application/index/controller/Common.php b/application/index/controller/Common.php index 67bde07479383af69222d84a30da01a6d3f45857..5c378deb04d31120cdf42171fc7376290a087fd7 100755 --- a/application/index/controller/Common.php +++ b/application/index/controller/Common.php @@ -369,6 +369,9 @@ class Common extends Controller // 编辑器文件存放地址 $this->assign('editor_path_type', empty($this->user['id']) ? 'public' : 'user-'.$this->user['id']); + // 分类展示层级模式 + $this->assign('category_show_level', MyC('common_show_goods_category_level', 3, true)); + // 备案信息 $this->assign('home_site_icp', MyC('home_site_icp')); $this->assign('home_site_security_record_name', MyC('home_site_security_record_name')); diff --git a/application/index/view/default/category/index.html b/application/index/view/default/category/index.html index 56ec3b82558327bc5daf1b9557c4648fefffd6d3..cbcdc41981132560677391a61d35789aae48c966 100755 --- a/application/index/view/default/category/index.html +++ b/application/index/view/default/category/index.html @@ -19,64 +19,100 @@
{{$v.name}}
+ +- {{$vss.name}} +
+ {{$vss.name}} +
++ 查看分类下商品 >> +
- 查看分类下商品 >> -
-