12345678910111213141516171819202122 |
- <template>
- <li class="header-news-slider__item">
- <div
- class="header-news-slider__item-img"
- :style="'background-image: url(' + news.image + ')'"
- ></div>
- <div class="header-news-slider__title" v-html="news.title"></div>
- </li>
- </template>
- <script>
- export default {
- props: {
- news: {
- type: Object,
- },
- },
- };
- </script>
- <style>
- </style>
|