Browse Source

美化首页

qukaidi 4 years ago
parent
commit
d4f13e7cb4
1 changed files with 9 additions and 2 deletions
  1. 9 2
      src/views/index.vue

+ 9 - 2
src/views/index.vue

@@ -416,8 +416,15 @@
           :More="true"
         >
           <div slot="content" style="height: 312px">
-            <div style="padding: 5px 5px 0 5px; font-size: 16px" v-for="(item,index) in tableDataTwo" :key="index">
-              {{item.noticeTitle}}
+            <div
+              style="padding: 5px 5px 0 5px; font-size: 14px"
+              v-for="(item, index) in tableDataTwo"
+              :key="index"
+              :style="{
+                backgroundColor: index % 2 == 0 ? '#fafbfd' : '#FFFFFF',
+              }"
+            >
+              {{ item.noticeTitle }}
             </div>
           </div>
         </chi-card>