From 387b767face66502620ec3ea6608dca4ea7a60ed Mon Sep 17 00:00:00 2001 From: koogua Date: Wed, 21 Sep 2022 17:44:25 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4layui-main=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=AF=BC=E8=87=B4=E7=9A=84=E5=B0=BA=E5=AF=B8?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/static/home/css/common.css | 20 +++++++++----------- public/static/home/js/index.js | 2 +- 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/public/static/home/css/common.css b/public/static/home/css/common.css index e5e6fb4f..e494a893 100644 --- a/public/static/home/css/common.css +++ b/public/static/home/css/common.css @@ -120,7 +120,7 @@ } .layout-sidebar { - width: 320px; + width: 340px; } .writer-content { @@ -306,8 +306,8 @@ } .index-carousel { - width: 1100px; - height: 330px; + width: 1120px; + height: 336px; text-align: center; } @@ -748,7 +748,7 @@ .toolbar-sticky { position: fixed; top: 150px; - margin-left: -65px; + margin-left: -85px; } .toolbar-sticky .item { @@ -805,8 +805,8 @@ } .course-card .cover img { - width: 270px; - height: 152px; + width: 275px; + height: 155px; transition: all 0.6s; } @@ -1220,10 +1220,9 @@ } .sidebar-course-card .cover { - float: left; width: 90px; height: 50px; - margin-right: 5px; + margin-right: 10px; } .sidebar-course-card .cover img { @@ -1232,8 +1231,7 @@ } .sidebar-course-card .info { - float: left; - width: 190px; + width: 200px; color: #666; font-size: 12px; overflow: hidden; @@ -1845,7 +1843,7 @@ } .my-sidebar { - width: 220px; + width: 240px; } .my-content { diff --git a/public/static/home/js/index.js b/public/static/home/js/index.js index 379cd190..7bb92b61 100644 --- a/public/static/home/js/index.js +++ b/public/static/home/js/index.js @@ -6,7 +6,7 @@ layui.use(['carousel', 'flow'], function () { carousel.render({ elem: '#carousel', width: '100%', - height: '330px' + height: '336px' }); flow.lazyimg();