From de6dc5eef6e0f218bc35871c7c15a086bd23ce3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=99=E8=BF=B0=E3=80=81=E5=88=AB=E7=A6=BB?= <2449271624@qq.com> Date: Fri, 8 Dec 2023 17:23:14 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/admin/index_body.php | 4 ++-- src/static/web/css/admin.css | 25 ++++++++++++------------- 2 files changed, 14 insertions(+), 15 deletions(-) diff --git a/src/admin/index_body.php b/src/admin/index_body.php index c1eb7a68..8954e8d2 100644 --- a/src/admin/index_body.php +++ b/src/admin/index_body.php @@ -55,8 +55,8 @@ if (empty($dopost)) { } $rowarcrank = $row['arcrank']==-1 ? '待审核' : '已审核'; $pubdate = GetDateMk($row['pubdate']); - echo " - {$row['title']}{$rowarcrank}{$pubdate}"; + $row['title'] = cn_substr($row['title'], 70); + echo "{$row['title']}{$rowarcrank}{$pubdate}"; } } else { ?> diff --git a/src/static/web/css/admin.css b/src/static/web/css/admin.css index 5b41f8eb..a5d0d84a 100644 --- a/src/static/web/css/admin.css +++ b/src/static/web/css/admin.css @@ -9,10 +9,10 @@ ul,ol,li{margin:0;padding:0} li{list-style:none} form,label{margin-bottom:0} table{width:100%;background:var(--white);border-spacing:0;border-collapse:separate} -table tr:first-child td:first-child{border-top-left-radius:0.5rem;border-top:0} -table tr:first-child td:last-child{border-top-right-radius:0.5rem;border-top:0} -table tr:last-child td:first-child{border-bottom-left-radius:0.5rem;border-bottom:0} -table tr:last-child td:last-child{border-bottom-right-radius:0.5rem;border-bottom:0} +table tr:first-child td:first-child{border-top-left-radius:0.5rem;border-top:none} +table tr:first-child td:last-child{border-top-right-radius:0.5rem;border-top:none} +table tr:last-child td:first-child{border-bottom-left-radius:0.5rem;border-bottom:none} +table tr:last-child td:last-child{border-bottom-right-radius:0.5rem;border-bottom:none} td{word-break:break-all;word-wrap:break-word} input{padding:0.375rem 0.75rem;height:30px;color:var(--gray);background:var(--white);border:1px solid var(--gray-300);vertical-align:middle} input[type=file]{padding:0;height:auto;border:0;border-radius:0!important;vertical-align:middle} @@ -123,16 +123,7 @@ body.menu-show .body-right{left:220px;transition:all 0.5s} #selColor{padding:0.22rem;width:45px} #edsta{display:none;padding:0.5rem;position:absolute;top:100px;left:200px;width:450px;height:auto;background:var(--bg);border:1px solid var(--gray-300)} .browsehappy{padding:1rem 30px;color:var(--orange);background:var(--yellow)} -.option1{background:var(--gray-300)} -.option2{background:var(--gray-500)} -.option3{background:var(--white)} -.upload-box{margin:10px;background:var(--white)} -.user-img-md{width:60px;height:60px;border-radius:50%;border:1px solid var(--light)} -.user-img-sm{width:30px;height:30px;border-radius:50%;border:1px solid var(--light)} -.thumbnail-md{max-width:200px;max-height:120px} -.thumbnail-sm{max-width:80px;max-height:80px} .no-wrap{white-space:nowrap} -.list-group-item{padding:0.5rem 0} .modal-title{font-size:16px} .card,.modal-content{border:none} .card-header{padding:0.5rem 1rem;background-color:rgba(0,0,0,0)} @@ -145,6 +136,14 @@ body.menu-show .body-right{left:220px;transition:all 0.5s} .fa{font-size:14px!important;color:inherit} .fileinput-button{display:inline-block;position:relative;overflow:hidden} .fileinput-button input{position:absolute;top:0;right:0;margin:0;opacity:0;direction:ltr;cursor:pointer} +.option1{background:var(--gray-300)} +.option2{background:var(--gray-500)} +.option3{background:var(--white)} +.upload-box{margin:10px;background:var(--white)} +.user-img-md{width:60px;height:60px;border-radius:50%;border:1px solid var(--light)} +.user-img-sm{width:30px;height:30px;border-radius:50%;border:1px solid var(--light)} +.thumbnail-md{max-width:200px;max-height:120px} +.thumbnail-sm{max-width:80px;max-height:80px} .admin-win{background:var(--bg);border:1px solid var(--gray-300)!important} .admin-win-iframe{width:100%;height:350px} .admin-main-sort{margin-left:1rem;padding:0;width:30px;text-align:center}