guhongwei 4 år sedan
förälder
incheckning
59757aa2c6
1 ändrade filer med 19 tillägg och 16 borttagningar
  1. 19 16
      src/views/notice/index.vue

+ 19 - 16
src/views/notice/index.vue

@@ -1,14 +1,16 @@
 <template>
   <div id="index">
     <el-row>
-      <el-col :span="24">
+      <el-col :span="24" class="main">
         <div class="w_1200">
-          <el-col class="bt">{{ noticeInfo.title }}</el-col>
-          <el-col :span="5" class="ly">来源:{{ noticeInfo.source }}</el-col>
-          <el-col :span="5" class="time">时间:{{ noticeInfo.create_time }}</el-col>
+          <el-col :span="24" class="bt">{{ noticeInfo.title }}</el-col>
+          <el-col :span="24" class="date">
+            <span>来源:{{ noticeInfo.source }}</span>
+            <span>发布时间:{{ noticeInfo.create_time }}</span>
+          </el-col>
           <el-col :span="24" class="content" v-html="noticeInfo.content"></el-col>
           <el-col :span="24" class="sb">
-            <el-button type="primary" @click="click(noticeInfo.id)">信息申报</el-button>
+            <el-button type="primary" size="mini" @click="click(noticeInfo.id)">技术需求%科技成果信息征集填报</el-button>
           </el-col>
         </div>
       </el-col>
@@ -60,21 +62,22 @@ export default {
   width: 80%;
   margin: 0 auto;
 }
+.main {
+  margin: 0 0 30px 0;
+}
 .bt {
-  font-size: 36px;
+  font-size: 30px;
   text-align: center;
-  margin-top: 50px;
+  padding: 60px 0 20px 0;
 }
-.ly {
-  margin: 20px 120px 0 480px;
-  font-size: 24px;
-}
-.time {
-  margin-top: 20px;
-  font-size: 24px;
+.date {
+  text-align: center;
+  font-size: 18px;
+  span {
+    margin: 0 10px;
+  }
 }
 .content {
-  margin-top: 20px;
-  text-indent: 5em;
+  margin: 15px 0;
 }
 </style>