From dc15576de8b0849de40424f693df2aed7e4c5be4 Mon Sep 17 00:00:00 2001 From: augushong Date: Fri, 17 Apr 2020 23:33:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E5=A7=8B=E5=86=85=E5=AE=B9=E7=AE=A1?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/admin/controller/Category.php | 91 +++++ app/admin/controller/Post.php | 96 +++++ app/admin/controller/{Article.php => Tag.php} | 2 +- app/model/Category.php | 14 + app/model/Post.php | 20 ++ app/model/Tag.php | 14 + public/static/css/common.css | 26 ++ public/static/css/skin-0.css | 9 + public/static/css/skin-1.css | 24 ++ public/static/lib/quill/quill.snow.css | 4 +- view/admin/category/index.html | 43 +++ view/admin/common/_header.html | 1 + view/admin/common/left_post.html | 16 + view/admin/common/{模板.html => tpl.html} | 2 +- view/admin/post/create.html | 333 ++++++++++++++++++ view/admin/post/index.html | 84 +++++ 16 files changed, 776 insertions(+), 3 deletions(-) create mode 100644 app/admin/controller/Category.php create mode 100644 app/admin/controller/Post.php rename app/admin/controller/{Article.php => Tag.php} (97%) create mode 100644 app/model/Category.php create mode 100644 app/model/Post.php create mode 100644 app/model/Tag.php create mode 100644 public/static/css/skin-0.css create mode 100644 view/admin/category/index.html create mode 100644 view/admin/common/left_post.html rename view/admin/common/{模板.html => tpl.html} (95%) create mode 100644 view/admin/post/create.html create mode 100644 view/admin/post/index.html diff --git a/app/admin/controller/Category.php b/app/admin/controller/Category.php new file mode 100644 index 0000000..6ee421d --- /dev/null +++ b/app/admin/controller/Category.php @@ -0,0 +1,91 @@ + li, .ql-editor ul > li { diff --git a/view/admin/category/index.html b/view/admin/category/index.html new file mode 100644 index 0000000..30f7708 --- /dev/null +++ b/view/admin/category/index.html @@ -0,0 +1,43 @@ + + + + + + + 应用管理 + {include file="common/_require"} + + + + + +
+ {include file="common/_header"} + + {include file="common/left_post"} + +
+ +
+
+ + 首页 + 系统信息 + +
+
+
+ 新增 +
+
+
+
+ + + {include file="common/_footer"} +
+ + \ No newline at end of file diff --git a/view/admin/common/_header.html b/view/admin/common/_header.html index b60ab65..0dc403a 100644 --- a/view/admin/common/_header.html +++ b/view/admin/common/_header.html @@ -5,6 +5,7 @@
  • 首页
  • 用户管理
  • 文件管理
  • +
  • 内容管理
  • 管理员管理
  • 系统设置
  • diff --git a/view/admin/common/left_post.html b/view/admin/common/left_post.html new file mode 100644 index 0000000..4560347 --- /dev/null +++ b/view/admin/common/left_post.html @@ -0,0 +1,16 @@ +
    +
    + + +
    +
    \ No newline at end of file diff --git a/view/admin/common/模板.html b/view/admin/common/tpl.html similarity index 95% rename from view/admin/common/模板.html rename to view/admin/common/tpl.html index 24eb354..e013958 100644 --- a/view/admin/common/模板.html +++ b/view/admin/common/tpl.html @@ -17,7 +17,7 @@
    {include file="common/_header"} - {include file="common/left_app"} + {include file="common/left_system"}
    diff --git a/view/admin/post/create.html b/view/admin/post/create.html new file mode 100644 index 0000000..64c316c --- /dev/null +++ b/view/admin/post/create.html @@ -0,0 +1,333 @@ + + + + + + + + 应用管理 + {include file="common/_require"} + + + + + + + + + +
    + {include file="common/_header"} + + {include file="common/left_post"} + +
    + +
    +
    + + 首页 + 系统信息 + +
    +
    +
    +
    +
    +
    + 添加 +
    + + +
    +
    标题
    +
    + +
    +
    + +
    +
    封面
    +
    + +
    +
    上传
    +
    +
    + +
    +
    +
    +
    +
    描述
    +
    + +
    +
    + +
    +
    内容
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    + +
    +
    +
    +
    +
    + 信息 +
    +
    +
    状态
    +
    + + +
    +
    +
    +
    发表时间
    +
    + +
    +
    +
    +
    标签
    +
    + +
    + +
    + +
    +
    +
    + +
    +
    + + +
    新增
    +
    +
    + +
    +
    +
    +
    标签
    +
    + + + +
    +
    + +
    新增
    +
    +
    + +
    +
    +
    +
    是否置顶
    +
    + + +
    +
    +
    +
    跳转链接
    +
    + +
    +
    + +
    +
    跳转链接状态
    +
    + + + +
    +
    + +
    +
    排序
    +
    + +
    越大越靠前
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    + + + {include file="common/_footer"} +
    + + + + + \ No newline at end of file diff --git a/view/admin/post/index.html b/view/admin/post/index.html new file mode 100644 index 0000000..c57ea66 --- /dev/null +++ b/view/admin/post/index.html @@ -0,0 +1,84 @@ + + + + + + + + 内容管理 + {include file="common/_require"} + + + + + + +
    + {include file="common/_header"} + + {include file="common/left_post"} + +
    + +
    +
    + + 首页 + 系统信息 + +
    +
    +
    + 添加 +
    +
    +
    + + + + + + + + + + + + {volist name='list' id='vo'} + + + + + + + + + + {/volist} + {if condition="count($list) == 0" } + + + + {/if} + +
    ID名称封面简介操作
    {$vo.id}{$vo.title}{$vo.value}{$vo.sort} +
    + 编辑 +
    删除
    +
    +
    暂无数据
    +
    + {$list|raw} +
    +
    +
    +
    + {include file="common/_footer"} +
    + + + \ No newline at end of file