From 46787a6e75562ae6c07b5beb34eb7a14670d01a1 Mon Sep 17 00:00:00 2001 From: liyukun <1099438829@qq.com> Date: Sun, 15 Aug 2021 22:54:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=80=E4=BA=9Bbug?= =?UTF-8?q?=E5=92=8C=E6=B8=85=E7=90=86=E6=97=A0=E7=94=A8=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/index/config/view.php | 6 +- .../template/default/pc/article/detail.html | 365 ++++++++---------- .../default/pc/article/list_default.html | 347 ++++++++--------- .../template/default/pc/article/search.html | 264 ++----------- .../default/pc/category/list_default.html | 349 ++++------------- public/template/default/pc/index/index.html | 6 +- 待完成.txt | 6 +- 7 files changed, 464 insertions(+), 879 deletions(-) diff --git a/app/index/config/view.php b/app/index/config/view.php index cc081e7..edf0c67 100644 --- a/app/index/config/view.php +++ b/app/index/config/view.php @@ -10,15 +10,15 @@ if (file_exists(public_path("template/{$theme}"))){ } //检查是否切换模板 if(ismobile() == "wap" && file_exists(public_path("template/{$theme}/mobile"))) { - $mode = "mobile/"; + $mode = "mobile"; } else { - $mode = "pc/"; + $mode = "pc"; } return [ // 模板路径 'taglib_pre_load' => 'app\common\taglib\Zz', // 模板路径 - 'view_path' => './template/' .$theme.'/'.$mode, + 'view_path' => './template/' .$theme.'/'.$mode.'/', // 视图输出字符串内容替换 'tpl_replace_string' => [ '__STATIC__' => '/static', diff --git a/public/template/default/pc/article/detail.html b/public/template/default/pc/article/detail.html index fae4a9e..11f15d0 100644 --- a/public/template/default/pc/article/detail.html +++ b/public/template/default/pc/article/detail.html @@ -4,11 +4,7 @@