Browse Source

首页轮播图

master
song 3 years ago
parent
commit
2ebd6831fc
  1. 3
      src/views/FirstPages/FirstPage.vue

3
src/views/FirstPages/FirstPage.vue

@ -96,8 +96,7 @@
<el-carousel :interval="4000" type="card" class="banner mt-4" indicator-position="none"> <el-carousel :interval="4000" type="card" class="banner mt-4" indicator-position="none">
<el-carousel-item v-for="newContent in ImgNews2" :key="newContent.introId"> <el-carousel-item v-for="newContent in ImgNews2" :key="newContent.introId">
<div class="rotation-box"> <div class="rotation-box">
<img :src="newContent.titleUrl" /> <img :src="newContent.titleUrl" style="height: 340px;width: 100%" alt="" />
<!-- <img :src="newContent.titleUrl" style="height: 340px;width: 100%" alt="" /> -->
<div class="rotation-div one-text"> <div class="rotation-div one-text">
{{ newContent.title }} {{ newContent.title }}
</div> </div>

Loading…
Cancel
Save