diff --git a/app/controller/Index.php b/app/controller/Index.php index 0b7da8a..fe34779 100644 --- a/app/controller/Index.php +++ b/app/controller/Index.php @@ -1,7 +1,7 @@ data['blocks'] = $blocks; + // 轮播图 + $this->data['slides'] = Slide::getList(); // 网络营销栏目ID $this->data['marketingCId'] = Category::$CIdList['marketing_network']; // 关联产品中心 diff --git a/view/index/index.html b/view/index/index.html index bb772fb..393a103 100644 --- a/view/index/index.html +++ b/view/index/index.html @@ -3,16 +3,16 @@