Przeglądaj źródła

Merge branch 'V0.0.5' of http://10.87.21.221:8000/jzyd_yyds/soc_web into V0.0.5

zhulu 1 rok temu
rodzic
commit
b2e8935a8a
1 zmienionych plików z 5 dodań i 3 usunięć
  1. 5 3
      src/views/index.vue

+ 5 - 3
src/views/index.vue

@@ -83,7 +83,7 @@
         <p>发布日期:{{selectMsg.publishTime}}</p>
         <div class="content-box">
           <p class="text-box">{{selectMsg.content}}</p>
-          <div>
+          <div v-if="selectMsg.fileList && selectMsg.fileList.length > 0">
             附件:
             <ul v-if="selectMsg.fileList && selectMsg.fileList.length > 0">
               <li v-for="(v,i) in selectMsg.fileList" :key="v.url">
@@ -403,12 +403,14 @@ export default {
       word-break: break-word;
       white-space: pre-wrap;
       text-align: justify;
-      width: 100%;
+      margin-left: 34px;
+      margin-right: 34px;
       color: #777;
-      max-height: 450px;
+      height: 450px;
       overflow: auto;
       background-color: #f5f5f5;
       padding: 10px;
+      line-height: 1.5;
     }
     >div{
       >ul{