Ver código fonte

修改界面

gaoxiong 1 ano atrás
pai
commit
1acc305aed
1 arquivos alterados com 3 adições e 2 exclusões
  1. 3 2
      src/views/index.vue

+ 3 - 2
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,7 +403,8 @@ export default {
       word-break: break-word;
       white-space: pre-wrap;
       text-align: justify;
-      width: 100%;
+      margin-left: 34px;
+      margin-right: 34px;
       color: #777;
       height: 450px;
       overflow: auto;