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