From cc86307e8f5d0e04d0b84085b0efda4d9c1bafda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E8=83=A1?= <3203164629@qq.com> Date: Sun, 7 Jul 2024 17:23:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=AF=84=E8=AE=BA=E3=80=81?= =?UTF-8?q?=E6=8A=95=E7=A5=A8=E3=80=81=E7=AE=A1=E7=90=86=E5=90=8E=E5=8F=B0?= =?UTF-8?q?=E7=AD=89UI=E5=92=8C=E4=BF=AE=E6=94=B9=E6=96=B0=E5=BB=BA?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E6=97=B6=E6=B2=A1=E6=9C=89=E8=AE=B0=E5=BD=95?= =?UTF-8?q?=E4=BD=8D=E7=BD=AE=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/appmanagement/images/main.css | 23 +++++----- core/class/io/io_dzz.php | 4 +- core/template/default/common/showmessage.htm | 3 +- dzz/comment/images/comment.css | 24 +++++----- dzz/comment/scripts/comment.js | 7 ++- dzz/comment/template/list.htm | 42 +++++++++-------- dzz/comment/template/reply_item.htm | 6 +-- dzz/comment/template/thread_item.htm | 4 +- dzz/dzzvote/template/vote_ajax.htm | 48 ++++++++++---------- dzz/shares/template/password.htm | 2 +- static/bootstrap/css/bootstrap.min.css | 11 +++-- 11 files changed, 89 insertions(+), 85 deletions(-) diff --git a/admin/appmanagement/images/main.css b/admin/appmanagement/images/main.css index 5cf7c2a..873b8b1 100644 --- a/admin/appmanagement/images/main.css +++ b/admin/appmanagement/images/main.css @@ -1,19 +1,18 @@ -ul,ul li,li{ - list-style: none; +.main-content { padding: 0; - margin: 0; -} -a{ - text-decoration: none; + height: 100%; + width: 100%; + display: flex; + justify-content: center; + flex-wrap: wrap; + align-items: center; } .main-content-ul{ - overflow: hidden; display: flex; - vertical-align: middle; - text-align: center; - flex-wrap: wrap; - align-content: space-around; - justify-content: space-around; + text-align: center; + flex-wrap: wrap; + justify-content: center; + align-items: center; } .main-content-ul .main-content-li{ float: left; diff --git a/core/class/io/io_dzz.php b/core/class/io/io_dzz.php index 1d31bbc..9ab4b49 100644 --- a/core/class/io/io_dzz.php +++ b/core/class/io/io_dzz.php @@ -1384,13 +1384,15 @@ class io_dzz extends io_api $icoarr['apath'] = dzzencode('attach::' . $attach['aid']); $event = 'creat_file'; $path = preg_replace('/dzz:(.+?):/', '', $path) ? preg_replace('/dzz:(.+?):/', '', $path) : ''; + $hash = C::t('resources_event')->get_showtpl_hash_by_gpfid($fid, $icoarr['gid']); $eventdata = array( 'title' => $icoarr['name'], 'aid' => $icoarr['aid'], 'username' => $icoarr['username'], 'uid' => $icoarr['uid'], 'path' => $icoarr['path'], - 'position' => $path + 'position' => $path, + 'hash' => $hash ); C::t('resources_event')->addevent_by_pfid($fid, $event, 'create', $eventdata, $icoarr['gid'], $icoarr['rid']); } else { diff --git a/core/template/default/common/showmessage.htm b/core/template/default/common/showmessage.htm index 76806d1..2d069f5 100644 --- a/core/template/default/common/showmessage.htm +++ b/core/template/default/common/showmessage.htm @@ -48,11 +48,10 @@ - - +