From ac1b6242c44dd4e469c89c30b8e149670ac7a6a1 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?= <93301500+xushubieli@users.noreply.github.com> Date: Fri, 28 Mar 2025 19:08:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=AF=8C=E6=96=87=E6=9C=AC?= =?UTF-8?q?=E6=8F=92=E5=85=A5=E5=A4=9A=E5=9B=BE=E5=B8=83=E5=B1=80=EF=BC=8C?= =?UTF-8?q?flex=E5=B8=83=E5=B1=80=E4=B8=8B=E5=85=BC=E5=AE=B9=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/admin/dialog/select_mimages.php | 39 +++++++++++++----------- src/admin/templets/ai_model_main.htm | 2 +- src/admin/templets/article_add.htm | 2 +- src/admin/templets/article_edit.htm | 2 +- src/admin/templets/catalog_add.htm | 2 +- src/admin/templets/catalog_add_quick.htm | 2 +- src/admin/templets/catalog_edit.htm | 2 +- src/static/web/css/admin.css | 30 +++++++----------- 8 files changed, 39 insertions(+), 42 deletions(-) diff --git a/src/admin/dialog/select_mimages.php b/src/admin/dialog/select_mimages.php index 37ff67a6..b5bd528d 100644 --- a/src/admin/dialog/select_mimages.php +++ b/src/admin/dialog/select_mimages.php @@ -16,15 +16,20 @@ include(DEDEDATA.'/mark/inc_photowatermark_config.php'); - -
-
+ +
+
-
    +
    +
    +
    插入多图
    +
    +
      +
      \ No newline at end of file diff --git a/src/admin/templets/ai_model_main.htm b/src/admin/templets/ai_model_main.htm index ffe05b7b..7188bd94 100644 --- a/src/admin/templets/ai_model_main.htm +++ b/src/admin/templets/ai_model_main.htm @@ -20,7 +20,7 @@
      -
      模型版本管理
      +
      模型版本管理
      diff --git a/src/admin/templets/article_add.htm b/src/admin/templets/article_add.htm index 246f6708..652bdb7d 100644 --- a/src/admin/templets/article_add.htm +++ b/src/admin/templets/article_add.htm @@ -26,7 +26,7 @@
      -
      发布文档
      +
      发布文档
      diff --git a/src/admin/templets/article_edit.htm b/src/admin/templets/article_edit.htm index c7d5f4cc..be744f6d 100644 --- a/src/admin/templets/article_edit.htm +++ b/src/admin/templets/article_edit.htm @@ -26,7 +26,7 @@
      -
      修改文档
      +
      修改文档
      diff --git a/src/admin/templets/catalog_add.htm b/src/admin/templets/catalog_add.htm index e2fae24f..9bfb19f3 100644 --- a/src/admin/templets/catalog_add.htm +++ b/src/admin/templets/catalog_add.htm @@ -19,7 +19,7 @@
      -
      添加栏目
      +
      添加栏目
      diff --git a/src/admin/templets/catalog_add_quick.htm b/src/admin/templets/catalog_add_quick.htm index 44a20823..d928e161 100644 --- a/src/admin/templets/catalog_add_quick.htm +++ b/src/admin/templets/catalog_add_quick.htm @@ -19,7 +19,7 @@
      -
      批量添加栏目
      +
      批量添加栏目
      diff --git a/src/admin/templets/catalog_edit.htm b/src/admin/templets/catalog_edit.htm index 8bc16c53..adbb0981 100644 --- a/src/admin/templets/catalog_edit.htm +++ b/src/admin/templets/catalog_edit.htm @@ -19,7 +19,7 @@
      -
      修改栏目
      +
      修改栏目
      diff --git a/src/static/web/css/admin.css b/src/static/web/css/admin.css index 015dcc03..a60444e5 100644 --- a/src/static/web/css/admin.css +++ b/src/static/web/css/admin.css @@ -475,30 +475,22 @@ body.menu-show .admin-content { border-radius:0 var(--b-radius) var(--b-radius) 0; cursor:pointer } -#wrap { - padding:1rem -} -#topbar { - margin-bottom:1rem; - border-bottom:1px solid var(--light); - text-align:right -} -#file_list { +#imgs-list { display:grid; grid-gap:1rem; grid-template-columns:repeat(auto-fill,minmax(160px,1fr)) } -#file_list:empty:after { +#imgs-list:empty:after { content:'支持拖拽图此处片上传' } -#file_list li { +#imgs-list li { position:relative } -#file_list li .picbox { +#imgs-list li .picbox { padding-bottom:75%; position:relative } -#file_list li .picbox img { +#imgs-list li .picbox img { position:absolute; top:0; left:0; @@ -506,10 +498,10 @@ body.menu-show .admin-content { height:100%; object-fit:cover } -#file_list li .namebox { +#imgs-list li .namebox { padding-top:0.5rem } -#file_list li.up-over .picbox:after { +#imgs-list li.up-over .picbox:after { position:absolute; top:0; left:0; @@ -519,20 +511,20 @@ body.menu-show .admin-content { content:'\f058'; z-index:1991 } -#file_list li .tools { +#imgs-list li .tools { display:none; position:absolute; bottom:0; right:0; z-index:1992 } -#file_list li:hover .tools { +#imgs-list li:hover .tools { display:block } -#file_list li .tools .remove { +#imgs-list li .tools .remove { cursor:pointer } -#file_list li .tools .remove:after { +#imgs-list li .tools .remove:after { font-family:'FontAwesome'; font-size:14px; color:var(--danger);