diff --git a/modules/cms/src/main/resources/static/modules/cmsfront/themes/css/custom.css b/modules/cms/src/main/resources/static/modules/cmsfront/themes/css/custom.css index 7e02537b..2b0dd35d 100644 --- a/modules/cms/src/main/resources/static/modules/cmsfront/themes/css/custom.css +++ b/modules/cms/src/main/resources/static/modules/cmsfront/themes/css/custom.css @@ -53,7 +53,7 @@ footer p{clear:left;margin-bottom:0} .breadcrumb {border-radius:8px;background:transparent;padding:0;margin:2px 15px 21px 15px;} -.jumbotron {background:#fff;margin:48px auto;box-shadow:0 2px 4px 0 rgb(0 0 0 / 5%);border-radius:8px!important;} +.jumbotron {background:#fff;margin:48px auto;border:1px solid #ededed;box-shadow:0 1px 4px 0 rgb(0 0 0 / 5%);border-radius:8px!important;} .jumbotron h1, .jumbotron .h1 {font-size:43px;margin: 0 0 30px;} .jumbotron .btn-sm {font-size:17px;} @@ -67,8 +67,9 @@ footer p{clear:left;margin-bottom:0} .nav-search .form-control {height:30px;padding:5px;} .nav-search .btn {height:31px;padding:5px 10px;} -.main {background:#fff;box-shadow:0 1px 4px 0 rgb(0 0 0 / 8%);border-radius:0 0 8px 8px;padding:20px 10px;margin:0} +.main {background:#fff;box-shadow:0 1px 4px 0 rgb(0 0 0 / 8%);border-radius:0 0 8px 8px;padding:20px 10px;margin:0 -1px} .main-list {border-radius:8px;} +.main-right::before {content:'';border-left:1px solid #e6e6e6;position:absolute;height:100%;left:-20px;} .article-list {padding:5px;margin:0;} .article-list li {list-style:none;padding:8px 0;} diff --git a/modules/cms/src/main/resources/views/modules/cmsfront/themes/default/list.html b/modules/cms/src/main/resources/views/modules/cmsfront/themes/default/list.html index e527948e..f11ea85a 100644 --- a/modules/cms/src/main/resources/views/modules/cmsfront/themes/default/list.html +++ b/modules/cms/src/main/resources/views/modules/cmsfront/themes/default/list.html @@ -1,7 +1,7 @@ <% layout('layouts/default.html', {title: '列表页面', libs: []}){ %> <% include('include/banner.html'){} %>
-
+

栏目列表

    <#html:foreach items="${qmark(categoryList! != null, categoryList!, categoryList(site.siteCode, category.parentCode, 50, ''))}" var="category,status"> @@ -9,7 +9,7 @@
-
+

${category.categoryName}

<#html:if test="${page! != null && category.moduleType == 'article'}">
    diff --git a/modules/cms/src/main/resources/views/modules/cmsfront/themes/default/listCategory.html b/modules/cms/src/main/resources/views/modules/cmsfront/themes/default/listCategory.html index 18c9789c..4462ed1f 100644 --- a/modules/cms/src/main/resources/views/modules/cmsfront/themes/default/listCategory.html +++ b/modules/cms/src/main/resources/views/modules/cmsfront/themes/default/listCategory.html @@ -1,7 +1,7 @@ <% layout('layouts/default.html', {title: '列表页面', libs: []}){ %> <% include('include/banner.html'){} %>
    -
    +

    栏目列表

      <#html:foreach items="${qmark(categoryList! != null, categoryList!, categoryList(site.siteCode, category.parentCode, 50, ''))}" var="category,status"> @@ -9,7 +9,7 @@
    -
    +

    ${category.categoryName}


    <#html:foreach items="${qmark(categoryList! != null, categoryList!, [])}" var="category,status">