<template>
  <!-- 产业光源-产业光源概况 -->
  <div class="wrap">
    <div class="single-banner single-banner-overview">
      <img class="banner-img"
           :src="modules[0].form.pic"
           alt="">
      <div class="texts">
        <h6 class="banner-title">{{ modules[0].form.title }}</h6>
      </div>
    </div>

    <ul class="tabs wow fadeInLeft">
      <template v-for="(item, i) in tabs">
        <li :class="{active: item.id == active}"
            :key="i"
            @click="tabChange(item)">{{ item.columnName }}</li>
      </template>
    </ul>

    <div class="tab-content">
      <div class="survey">
        <h6>
          {{ modules[1].form.title }}
          <img class="title-bg"
               src="http://10.10.11.7/images/overviewIntro/2.png"
               alt="">
        </h6>
        <div class="text"
             v-html="modules[1].form.des"></div>
      </div>
      <div class="lg-bg">
        <img width="100%"
             src="http://10.10.11.7/images/estate/3.png"
             alt="">
      </div>
    </div>
  </div>
</template>

<script>
import mixins from '@/mixins/page'
import overview from '@/mixins/estate'
import WOW from 'wow.js'
export default {
  mixins: [mixins, overview],
  data () {
    return {

    }
  },
  mounted () {
    new WOW().init()
  },
  methods: {

  }
};
</script>

<style lang="scss" scoped>
@import url(../../../plugins/wow/animate.css);
@import '../../../styles/page/page.scss';
.tab-content {
    padding-top: 70px;
}
.survey {
    width: 1294px;
    min-height: 500px;
    padding: 80px 86px 29px 597px;
    margin: 0 auto 200px;
    background: url(http://10.10.11.7/images/estate/2.png) 0 0/100% 100% no-repeat;
    border-radius: 160px;
    h6 {
        position: relative;
        margin-bottom: 30px;
        font-size: 1.2rem;
        font-family: AlimamaShuHeiTi-Bold, AlimamaShuHeiTi;
        font-weight: bold;
        color: #333;
    }
    .title-bg {
        position: absolute;
        top: -40px;
        left: -20px;
    }
    .text {
        margin-top: 10px;
        font-size: 1rem;
        color: #020202;
        line-height: 2rem;
        // @include mul-ellipsis(10);
    }
}
.lg-bg {
    width: 40%;
}
@media (max-width: 1300px) {
    .tab-content {
        padding: 20px 0;
    }
    .lg-bg {
        width: 100%;
    }
    .survey {
        width: 95%;
        padding: 80px 86px 29px 47%;
        margin-bottom: 2rem;
    }
}
@media (max-width: 768px) {
    .survey {
        padding: 30px;
        background: none;
    }
}
</style>