<template>
  <div class="footer__container footer-friendlink">
    <div class="footer__box footer-wrap width-1200">
      <div class="footer-friendlink__box">
        <img src="@/public/images/logo.png" class="footer-friendlink__logo" />
        <div class="footer-friendlink__baseinfo">
          <div v-for="(item, i) in baseInfoList" :key="i" class="footer-friendlink__baseinfo-item">
            <span class="footer-friendlink__baseinfo-label">{{ item.label }}</span>
            <span class="footer-friendlink__baseinfo-content">{{ item.content }}</span>
          </div>
        </div>
      </div>
      <div class="footer-friendlink__box">
        <div v-for="(link, i) in linkList1" :key="i" class="footer-friendlink__item">
          <span class="text_hover_underline">{{ $t(`textLink["${link.text}"]`) }}</span>
        </div>
      </div>
      <div class="footer-friendlink__box">
        <div v-for="(link, i) in linkList2" :key="i" class="footer-friendlink__item">
          <span class="text_hover_underline">{{ $t(`textLink["${link.text}"]`) }}</span>
        </div>
      </div>
      <div class="footer-friendlink__box">
        <div v-for="(link, i) in linkList3" :key="i" class="footer-friendlink__item">
          <span class="text_hover_underline">{{ $t(`textLink["${link.text}"]`) }}</span>
        </div>
      </div>
    </div>
  </div>

  <div class="footer__container footer-right">
    <div class="footer__box width-1200">
      <span>©1997-2025 VAVA BUY.com All Rights Reserved</span>
    </div>
  </div>

  <!-- <div class="footer__container footer-footnote">
    <div class="footer__box width-1200">
      <span>{{
        $t(
          'paragraph["我们使用 cookie 来提供更好的在线体验。 访问和使用 VAVA BUY.com，即表示您同意我们使用 Cookie。 通过阅读我们的条款和条件、使用条款、 和隐私政策。"]'
        )
      }}</span>
    </div>
  </div> -->
</template>


<script setup lang="ts">
const baseInfoList = [
  { label: '', content: '4299 Express Lane' },
  { label: '', content: 'Sarasota,FL 34249 USA' },
  { label: 'WhatsApp Message: ', content: '1.941.225.7374' },
  { label: 'Phone: ', content: '1.941.227.4444' },
  { label: 'Fax: ', content: '1.941.827.2985' },
  { label: 'Local Time: ', content: '04:19' },
]

const linkList1 = [
  { link: '', text: 'VAVA BUY 是如何工作的' },
  { link: '', text: '为什么选择 VAVA BUY' },
  { link: '', text: '您所在国家/地区的运费和价格' },
  { link: '', text: '报名' },
  { link: '', text: '汇率' },
  { link: '', text: '不能寄送的物品' },
  { link: '', text: '常见问题' },
  { link: '', text: '日志' },
  { link: '', text: '您的隐私权利' },
]

const linkList2 = [
  { link: '', text: '关于 VAVA BUY' },
  { link: '', text: 'VAVA BUY 评论' },
  { link: '', text: '新闻与动态' },
  { link: '', text: 'VAVA BUY.com 的招聘信息' },
  { link: '', text: '与 VAVA BUY 合作' },
  { link: '', text: '联系我们' },
  { link: '', text: '网站地图' },
  { link: '', text: '奖学金' },
  { link: '', text: '顶级商店' },
]

const linkList3 = [
  { link: '', text: 'Facebook' },
  { link: '', text: '社交平台' },
  { link: '', text: 'X（原 Twitter）' },
  { link: '', text: '获取 VAVA BUY 应用程序' },
]
</script>


<style lang="less" scoped>
.footer__container {
  display: flex;
  justify-content: center;
  background-color: #f5f5f5;
}

.footer-friendlink {
  .footer__box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 30px 15px;
    padding: 1.875rem 0.9375rem;
  }

  .footer-friendlink__box {
    width: auto;
    padding: 6px 10px 10px;
    padding: 0.375rem 0.625rem 0.625rem;
  }

  .footer-friendlink__box:first-child {
    padding-top: 0;
  }

  .footer-friendlink__box .footer-friendlink__logo {
    width: 150px;
    width: 9.375rem;
    margin-bottom: 36px;
    margin-bottom: 2.25rem;
  }

  .footer-friendlink__baseinfo-item {
    margin-bottom: 4px;
    margin-bottom: 0.25rem;
    font-family: Poppins;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: normal;
    color: #3d3d3d;
  }

  .footer-friendlink__baseinfo-item:last-child {
    margin-bottom: 0;
    margin-top: 20px;
    margin-top: 1.25rem;
  }

  .footer-friendlink__item {
    margin-bottom: 6px;
    margin-bottom: 0.375rem;
    font-family: Poppins;
    font-weight: normal;
    letter-spacing: 1px;
    color: #3d3d3d;
  }
}

.footer-right {
  background-color: #000;

  .footer__box {
    padding: 15px;
    padding: 0.9375rem;
    font-family: Poppins;
    font-weight: 400;
    color: rgba(255, 255, 2555, 0.8);
  }
}

.footer-footnote {
  .footer__box {
    padding: 15px;
    padding: 0.9375rem;
    font-family: Source Han Sans;
    font-weight: 400;
    color: #5a6670;
  }
}
</style>

<style lang="less" scoped>
@import url(./css/footer@1200.less);
@import url(./css/footer@1024.less);
@import url(./css/footer@768.less);
@import url(./css/footer@512.less);
</style>