<template>
  <div class="can-do">
    <div class="can-do-head">
      <img :src="leftImg" />
      <div class="can-do-head__center">
        <span class="title">我们可以帮您做</span>
      </div>
      <img :src="rightImg" />
    </div>
    <div class="can-do-tip tip-1">全面分析您的产品在目标市场的情况，并可追踪竞争对手的 Google 表现。</div>
    <div class="can-do-tip tip-2">搜索任何产品，精准定位他们在 Google 上的所有曝光位置</div>
    <div class="can-do-img">
      <div class="img-left">
        <img :src="imgLeft" />
      </div>
      <div class="img-right">
        <img :src="imgRight" />
      </div>
    </div>
  </div>
</template>

<script lang="ts" setup>
import { computed, ref } from 'vue';
import leftImg from '@/assets/images/home/left.png';
import rightImg from '@/assets/images/home/right.png';
import imgLeft from '@/assets/images/home/img-left.png';
import imgRight from '@/assets/images/home/img-right.png';
</script>

<style lang="scss" scoped>
.can-do {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  // justify-content: center;
  align-items: center;
  background-color: #f6f8fa;
  &-head {
    display: flex;
    align-items: center;
    width: 744px;
    height: 166px;

    img {
      width: 192px;
      height: 46px;
    }

    &__center {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      flex: 1;
      width: 100%;
      overflow: hidden;
      padding: 0 40px;

      .title {
        font-weight: bold;
        font-size: 30px;
        color: #282e30;
      }
    }
  }

  &-tip {
    font-weight: bold;
    font-size: 16px;
    color: #282e30;

    &.tip-1 {
      margin-top: 20px;
    }

    &.tip-2 {
      margin-bottom: 55px;
    }
  }

  &-img {
    display: flex;
    justify-content: center;
    align-items: center;
    .img-left {
      width: 380px;
      height: 274px;
      margin-right: 44px;
    }

    .img-right {
      width: 882px;
      height: 384px;
    }

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }
}
</style>
