From cc6d146981eab5fd389308b9e621503f4719f3df Mon Sep 17 00:00:00 2001 From: BigCoke233 Date: Fri, 10 Apr 2020 09:17:10 +0800 Subject: =?UTF-8?q?:broom:=20Fix:=20=E4=BF=AE=E5=A4=8D=E5=AF=BC=E8=88=AA?= =?UTF-8?q?=E6=A0=8F=E5=88=A4=E6=96=AD=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libs/Contents.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libs/Contents.php') diff --git a/libs/Contents.php b/libs/Contents.php index da552a5..45b8f03 100644 --- a/libs/Contents.php +++ b/libs/Contents.php @@ -224,13 +224,13 @@ class Contents $title = $de_json[$i]['title']; $link = $de_json[$i]['link']; //输出导航 - if($type="top-nav") { + if($type=="top-nav") { echo ''. $title .''; } - elseif($type="mobile") { + elseif($type=="mobile") { echo '
'. $title .'
'; } - elseif($type="drawer") { + elseif($type=="drawer") { echo ''. $title .''; } } -- cgit v1.2.3