lunbo.vue 982 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <template>
  2. <div id="lunbo">
  3. <el-row>
  4. <el-col :span="24" class="lunbo">
  5. <el-col :span="24" class="lunboTop">
  6. <span>合作单位</span>
  7. </el-col>
  8. <el-col :span="24">
  9. <el-carousel height="270px" direction="vertical" :autoplay="true">
  10. <el-carousel-item v-for="(item, index) in lunboList" :key="index">
  11. <img :src="item.url" class="imgList" />
  12. </el-carousel-item>
  13. </el-carousel>
  14. </el-col>
  15. </el-col>
  16. </el-row>
  17. </div>
  18. </template>
  19. <script>
  20. export default {
  21. name: 'lunbo',
  22. props: {
  23. lunboList: null,
  24. },
  25. components: {},
  26. data: () => ({}),
  27. created() {},
  28. computed: {},
  29. methods: {},
  30. };
  31. </script>
  32. <style lang="less" scoped>
  33. .lunboTop {
  34. height: 30px;
  35. border-bottom: 1px solid #ccc;
  36. margin: 0 0 10px 0;
  37. }
  38. .lunboTop span {
  39. display: inline-block;
  40. height: 29px;
  41. line-height: 29px;
  42. border-bottom: 1px solid #850000;
  43. padding: 0 5px;
  44. }
  45. </style>