From f1711ea739151e149af5abb0ae42b7204970e2e7 Mon Sep 17 00:00:00 2001 From: ZLY Date: Thu, 11 Sep 2025 09:43:36 +0800 Subject: [PATCH] =?UTF-8?q?style(scene):=20=E4=BC=98=E5=8C=96=E5=B7=A5?= =?UTF-8?q?=E7=A8=8B=E5=8D=A1=E7=89=87=E6=A0=B7=E5=BC=8F=E5=92=8C=E5=B8=83?= =?UTF-8?q?=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/scene/engineering.tsx | 13 ++++--------- src/pages/scene/style/cardWrap.module.less | 4 ++-- src/pages/scene/style/engineering.module.less | 9 +++++++-- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/pages/scene/engineering.tsx b/src/pages/scene/engineering.tsx index b4f6817..10b99e9 100644 --- a/src/pages/scene/engineering.tsx +++ b/src/pages/scene/engineering.tsx @@ -1,5 +1,5 @@ import React, { useState, useEffect } from 'react'; -import style from './style/engineering.module.less'; +import styles from './style/engineering.module.less'; import { Input, Grid, Card, Result, Pagination } from '@arco-design/web-react'; import { IconPlus, IconApps } from '@arco-design/web-react/icon'; import { openWindow, OpenWindowOptions } from '@/utils/common'; @@ -72,7 +72,7 @@ const Engineering: React.FC = ({ dataType, showAdd = true }) = return ( <> -
+
{/*搜索*/} @@ -100,7 +100,7 @@ const Engineering: React.FC = ({ dataType, showAdd = true }) = {/*新建工程按钮*/} {showAdd && ( = ({ dataType, showAdd = true }) = lg={6} xl={6} xxl={6}> - openEngineHandle(item)}> - {/*}*/} - {/*>*/} + openEngineHandle(item)}> diff --git a/src/pages/scene/style/cardWrap.module.less b/src/pages/scene/style/cardWrap.module.less index f97f324..91abbea 100644 --- a/src/pages/scene/style/cardWrap.module.less +++ b/src/pages/scene/style/cardWrap.module.less @@ -24,12 +24,12 @@ .card-footer { display: flex; justify-content: space-between; - padding: 0 0 10px 12px; + padding: 0 0 15px 12px; .operation { svg { margin-right: 15px; - font-size: 16px; + font-size: 18px; } } } diff --git a/src/pages/scene/style/engineering.module.less b/src/pages/scene/style/engineering.module.less index 162d9d8..879dc64 100644 --- a/src/pages/scene/style/engineering.module.less +++ b/src/pages/scene/style/engineering.module.less @@ -1,11 +1,16 @@ -.engineeringContainer { - .cardStyle { +.engineering-container { + .card-style { margin: 5px; border: 1px solid var(--color-neutral-3); cursor: pointer; + transition-property: all; :global(.arco-card-body) { padding: 0; } } + + .card-style:hover { + transform: translateY(-4px); + } } \ No newline at end of file