소스 검색

取消sidebar 的阴影效果,
添加了应用列表卡片的 更新时间显示,但是后端返回数据没有格式化 "2025-07-01T06:56:00.000+00:00"

Ryuiso 4 달 전
부모
커밋
e1c06e2c66
2개의 변경된 파일6개의 추가작업 그리고 5개의 파일을 삭제
  1. 2 3
      src/pages/layout/style.less
  2. 4 2
      src/pages/takai/questionAnswer/list/index.tsx

+ 2 - 3
src/pages/layout/style.less

@@ -103,7 +103,6 @@
     height: calc(100vh - 64px) !important;
     background: #F9FAFB !important;
     border-right: 1px solid #f0f0f0;
-    box-shadow: 1px 0 4px rgba(0, 0, 0, 0.05);
     position: fixed;
     top: 64px;
     left: 0;
@@ -143,10 +142,10 @@
 
 
 .main-content {
-    height: calc(100vh - 120px);
+    //max-height: calc(100vh - 64px);
     overflow-y: auto;
     position: relative;
-    padding-bottom: 20px;
+    padding-bottom: 40px;
 
     .breadcrumb {
         width: 100%;

+ 4 - 2
src/pages/takai/questionAnswer/list/index.tsx

@@ -88,6 +88,7 @@ const QuestionAnswerList : React.FC = () => {
     comment : string;
     auditStatus : string;
     projectName : string;
+    updateTime : string;
   };
   
   interface PageInfo {
@@ -151,7 +152,8 @@ const QuestionAnswerList : React.FC = () => {
             status: item.status,
             comment: item.comment,
             auditStatus: item.auditStatus,
-            projectName: item.projectName
+            projectName: item.projectName,
+            updateTime: item.updateTime
           }
         } );
         const c = LocalStorage.getStatusFlag( 'deepseek:application:create' );
@@ -651,7 +653,7 @@ const QuestionAnswerList : React.FC = () => {
                                     color: '#999',
                                     fontSize: 12,
                                     margin: 0
-                                  } }>创建时间: { item.createItme }</span>
+                                  } }>更新时间: { item.updateTime }</span>
                                 </div>
                                 <div style={ {
                                   display: 'flex',