Browse Source

会议列表以及详情UI展示问题

RaoMeng 6 years ago
parent
commit
2752093c8d

+ 8 - 1
frontend/wechat-web/src/modules/announce/AnnounceRelease.jsx

@@ -196,7 +196,14 @@ class AnnounceRelease extends Component {
         const fileUrls = []
         if (fileList) {
             fileList.forEach((value, index) => {
-                fileUrls.push(value.picUrl)
+                if (value.status === 'uploading') {
+                    Toast.fail('有附件正在上传,请稍候')
+                    return
+                }
+
+                if (value.status === 'done') {
+                    fileUrls.push(value.picUrl)
+                }
             })
         }
         const stuList = [], teacherList = []

+ 4 - 1
frontend/wechat-web/src/modules/hiPages/meet-detail/MeetDetail.css

@@ -63,9 +63,9 @@
     letter-spacing: 0;
 }
 
+
 .contentItem {
     display: flex;
-    align-items: center;
     padding: 6px 0;
     background: white;
 }
@@ -86,6 +86,9 @@
     font-size: 12px;
     color: #333333;
     letter-spacing: 0;
+    -ms-word-wrap: break-word;
+    word-wrap: break-word;
+    overflow: hidden;
 }
 
 .bottomLayout {

+ 3 - 1
frontend/wechat-web/src/style/css/meeting.css

@@ -63,7 +63,6 @@
 
 .contentItem {
     display: flex;
-    align-items: center;
     padding: 6px 0;
     background: white;
 }
@@ -84,6 +83,9 @@
     font-size: 12px;
     color: #333333;
     letter-spacing: 0;
+    -ms-word-wrap: break-word;
+    word-wrap: break-word;
+    overflow: hidden;
 }
 
 .bottomLayout {