123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- <template>
- <div class="conduct-houst">
- <div class="banner">
- <h1 v-html="$t('conduct.conductHouse.bannerTitle')"></h1>
- <h4 v-html="$t('conduct.conductHouse.bannerSubTitle')"></h4>
- </div>
- <ul class="desc-video">
- <li v-for="item in list" :key="item.name">
- <h1 class="common-title" v-html="item.name"></h1>
- <img :src="item.img">
- </li>
- </ul>
- </div>
- </template>
- <script>
- import { i18n } from '@/lang'
- export default {
- data () {
- return {
- list: [
- {
- name: i18n.t('conduct.conductHouse.itemTitle1'),
- img: require('@/assets/images/refactor/conduct/house/item1.png')
- },
- {
- name: i18n.t('conduct.conductHouse.itemTitle2'),
- img: require('@/assets/images/refactor/conduct/house/item2.png')
- },
- {
- name: i18n.t('conduct.conductHouse.itemTitle3'),
- img: require('@/assets/images/refactor/conduct/house/item3.png')
- },
- {
- name: i18n.t('conduct.conductHouse.itemTitle4'),
- img: require('@/assets/images/refactor/conduct/house/item4.png')
- }
- ]
- }
- }
- }
- </script>
- <style lang="less" scoped>
- .conduct-houst {
- .banner {
- width: 100%;
- height: 140px;
- display: flex;
- padding-left: 42px;
- font-size: 22px;
- color: #202020;
- font-weight: bold;
- background: #D4D4D4;
- flex-direction: column;
- justify-content: center;
- background: url(~@/assets/images/refactor/conduct/house/banner.png) no-repeat center center;
- background-size: cover;
- }
- h4 {
- font-size: 16px;
- margin-top: 20px;
- }
- ul {
- padding: 27px 20px 0;
- }
- li {
- margin-bottom: 56px;
- }
- img {
- margin-top: 30px;
- width: 100%;
- }
- }
- </style>
|