diff --git a/public/assets/index/css/style.css b/public/assets/index/css/style.css index 2e2c335..fcb1ced 100644 --- a/public/assets/index/css/style.css +++ b/public/assets/index/css/style.css @@ -1719,3 +1719,38 @@ img { .laytool-ul li:hover .wechat-code { display: block; } + +.newCont-ul:last-child { + position: relative; +} + +.newCont-ul:last-child::after { + position: absolute; + content: ''; + left: -20px; + top: 0; + width: 1px; + height: 100%; + background: #f1f1f1; +} + +.newCont { + width: 650px; + float: left; + margin-left: 20px; + display: flex; +} + +.newCont-ul { + width: calc(50% - 20px); + margin-left: 20px +} + +.newCont-ul a { + padding: 0 !important; +} + +.newCont-ul>div { + font-size: 18px; + margin-bottom: 10px +} diff --git a/resources/views/index/index.blade.php b/resources/views/index/index.blade.php index 4005fe4..df2633c 100644 --- a/resources/views/index/index.blade.php +++ b/resources/views/index/index.blade.php @@ -84,19 +84,40 @@ @endif - @if (getArtilesByCates(10)->isNotEmpty()) - - @endif +
+ @if (getArtilesByCates(14)->isNotEmpty()) +
+
{{ getOneCategory(14,'title') }}
+ +
+ @endif + @if (getArtilesByCates(11)->isNotEmpty()) +
+
{{ getOneCategory(11,'title') }}
+ +
+ @endif +