From 803f9ec94b83693fd731c77af552735ad2eb579d Mon Sep 17 00:00:00 2001 From: zwesy Date: Tue, 1 Dec 2020 09:30:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=EF=BC=9A=E9=A6=96=E9=A1=B5ba?= =?UTF-8?q?nner=E5=9B=BE=E6=94=B9=E4=B8=BA=E8=BD=AE=E6=92=AD=E5=9B=BE?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/Index.php | 4 +++- view/index/index.html | 16 ++++++++-------- view/manager/slide/add.html | 4 ++-- view/manager/slide/edit.html | 4 ++-- 4 files changed, 15 insertions(+), 13 deletions(-) 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 @@