product.vue 2.04 KB

<template>
  <div class="content">
    <div class="banner">
      <div class="btn btn-position">{{$t('product.btnPosition')}}</div>
      <img src="@/assets/images/product/banner.jpg" />
    </div>

    <div class="box bottom-space">
      <div class="rule-btn-out-group" ref="ruleBtnGroup">
        <div class="rule-btn-group" :class="{fix : fixTop}">
          <div
            class="rule-btn"
            :class="{activity : activity == 'product'}"
            @click="activity = 'product'"
          >
            <div>
              <i class="icon-product"></i> {{$t('product.iconProduct')}}
            </div>
            <div class="triangle"></div>
          </div>
          <div
            class="rule-btn"
            :class="{activity : activity == 'process'}"
            @click="activity = 'process'"
          >
            <div>
              <i class="icon-process"></i> {{$t('product.iconProcess')}}
            </div>
            <div class="triangle"></div>
          </div>
          <div
            class="rule-btn"
            :class="{activity : activity == 'problem'}"
            @click="activity = 'problem'"
          >
            <div>
              <i class="icon-problem"></i> {{$t('product.iconProblem')}}
            </div>
            <div class="triangle"></div>
          </div>
        </div>
      </div>
      <div class="blank-pannel"></div>
      <div class="rule-container" :class="{activity : activity == 'product'}">
        <img src="@/assets/images/product/product1.jpg" />
        <img src="@/assets/images/product/product2.jpg" />
        <img src="@/assets/images/product/product3.jpg" />
      </div>
      <div class="rule-container" :class="{activity : activity == 'process'}">
        <img src="@/assets/images/product/process.jpg" />
      </div>
      <div class="rule-container" :class="{activity : activity == 'problem'}">
        <img src="@/assets/images/product/question.jpg" />
      </div>
    </div>
  </div>
</template>

<script src="./product.js"></script>
<style lang="scss" scoped>
@import "./product.scss";
</style>