src/views/index.vue
@@ -1,9 +1,9 @@ <template> <div class="centre"> <!-- 今日通知 --> <div style="display: flex; justify-content: center; align-items: center;"> <!-- <div style="display: flex; justify-content: center; align-items: center;"> <h4>今日通知</h4> </div> </div> --> <div class="notice-area"> <el-carousel :interval="2000" direction="vertical" :autoplay="true" :loop="true" height="120px" v-if="groupedNoticeList.length > 0" class="carousel">