index.vue 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  1. <template>
  2. <section>
  3. <div class="footer__container footer-friendlink">
  4. <div class="footer__box footer-wrap width-1200">
  5. <div class="footer-friendlink__box">
  6. <img src="@/public/images/logo.png" class="footer-friendlink__logo" />
  7. <div class="footer-friendlink__baseinfo">
  8. <div
  9. v-for="(item, i) in baseInfoList"
  10. :key="i"
  11. class="footer-friendlink__baseinfo-item"
  12. >
  13. <span class="footer-friendlink__baseinfo-label">{{ item.label }}</span>
  14. <span class="footer-friendlink__baseinfo-content">{{ item.content }}</span>
  15. </div>
  16. </div>
  17. </div>
  18. <div class="footer-friendlink__box">
  19. <div
  20. v-for="(link, i) in linkList1"
  21. :key="i"
  22. class="footer-friendlink__item"
  23. @click="handleTextLinkClick(link, link.id ? link.id : '')"
  24. >
  25. <span
  26. class="text_hover_underline"
  27. :class="[
  28. (currentId && currentId == link.id && currentPath == link.path) ||
  29. (!currentId && currentPath == link.path)
  30. ? 'text_hover_underline--active'
  31. : '',
  32. ]"
  33. >{{ $t(`textLink["${link.text}"]`) }}</span
  34. >
  35. </div>
  36. </div>
  37. <div class="footer-friendlink__box">
  38. <div
  39. v-for="(link, i) in linkList2"
  40. :key="i"
  41. class="footer-friendlink__item"
  42. @click="handleTextLinkClick(link, link.id ? link.id : '')"
  43. >
  44. <span
  45. class="text_hover_underline"
  46. :class="[
  47. (currentId && currentId == link.id && currentPath == link.path) ||
  48. (!currentId && currentPath == link.path)
  49. ? 'text_hover_underline--active'
  50. : '',
  51. ]"
  52. >{{ $t(`textLink["${link.text}"]`) }}</span
  53. >
  54. </div>
  55. </div>
  56. <div class="footer-friendlink__box">
  57. <div
  58. v-for="(link, i) in linkList3"
  59. :key="i"
  60. class="footer-friendlink__item"
  61. @click="handleTextLinkClick(link, link.id ? link.id : '')"
  62. >
  63. <span
  64. class="text_hover_underline"
  65. :class="[
  66. (currentId && currentId == link.id && currentPath == link.path) ||
  67. (!currentId && currentPath == link.path)
  68. ? 'text_hover_underline--active'
  69. : '',
  70. ]"
  71. >{{ $t(`textLink["${link.text}"]`) }}</span
  72. >
  73. </div>
  74. </div>
  75. </div>
  76. </div>
  77. <div class="footer__container footer-right">
  78. <div class="footer__box width-1200">
  79. <span>©1997-2025 VAVA BUY.com All Rights Reserved</span>
  80. </div>
  81. </div>
  82. <!-- <div class="footer__container footer-footnote">
  83. <div class="footer__box width-1200">
  84. <span>{{
  85. $t(
  86. 'paragraph["我们使用 cookie 来提供更好的在线体验。 访问和使用 VAVA BUY.com,即表示您同意我们使用 Cookie。 通过阅读我们的条款和条件、使用条款、 和隐私政策。"]'
  87. )
  88. }}</span>
  89. </div>
  90. </div> -->
  91. </section>
  92. </template>
  93. <script setup lang="ts">
  94. import useLink from './hooks/useLink'
  95. const {
  96. linkList1,
  97. linkList2,
  98. linkList3,
  99. route,
  100. router,
  101. currentPath,
  102. currentId,
  103. handleTextLinkClick,
  104. } = useLink()
  105. const baseInfoList = [
  106. { label: '', content: '4299 Express Lane' },
  107. { label: '', content: 'Sarasota,FL 34249 USA' },
  108. { label: 'WhatsApp Message: ', content: '1.941.225.7374' },
  109. { label: 'Phone: ', content: '1.941.227.4444' },
  110. { label: 'Fax: ', content: '1.941.827.2985' },
  111. { label: 'Local Time: ', content: '04:19' },
  112. ]
  113. </script>
  114. <style lang="less" scoped>
  115. .footer__container {
  116. display: flex;
  117. justify-content: center;
  118. background-color: #f5f5f5;
  119. }
  120. .footer-friendlink {
  121. .footer__box {
  122. display: flex;
  123. flex-wrap: wrap;
  124. justify-content: space-between;
  125. padding: 30px 15px;
  126. padding: 1.875rem 0.9375rem;
  127. }
  128. .footer-friendlink__box {
  129. width: auto;
  130. padding: 6px 10px 10px;
  131. padding: 0.375rem 0.625rem 0.625rem;
  132. }
  133. .footer-friendlink__box:first-child {
  134. padding-top: 0;
  135. }
  136. .footer-friendlink__box .footer-friendlink__logo {
  137. width: 150px;
  138. width: 9.375rem;
  139. margin-bottom: 36px;
  140. margin-bottom: 2.25rem;
  141. }
  142. .footer-friendlink__baseinfo-item {
  143. margin-bottom: 4px;
  144. margin-bottom: 0.25rem;
  145. font-family: Poppins;
  146. font-size: 14px;
  147. font-size: 0.875rem;
  148. font-weight: normal;
  149. color: #3d3d3d;
  150. }
  151. .footer-friendlink__baseinfo-item:last-child {
  152. margin-bottom: 0;
  153. margin-top: 20px;
  154. margin-top: 1.25rem;
  155. }
  156. .footer-friendlink__item {
  157. margin-bottom: 6px;
  158. margin-bottom: 0.375rem;
  159. font-family: Poppins;
  160. font-weight: normal;
  161. letter-spacing: 1px;
  162. color: #3d3d3d;
  163. }
  164. }
  165. .footer-right {
  166. background-color: #000;
  167. .footer__box {
  168. padding: 15px;
  169. padding: 0.9375rem;
  170. font-family: Poppins;
  171. font-weight: 400;
  172. color: rgba(255, 255, 2555, 0.8);
  173. }
  174. }
  175. .footer-footnote {
  176. .footer__box {
  177. padding: 15px;
  178. padding: 0.9375rem;
  179. font-family: Source Han Sans;
  180. font-weight: 400;
  181. color: #5a6670;
  182. }
  183. }
  184. </style>
  185. <style lang="less" scoped>
  186. @import url(./css/footer@1200.less);
  187. @import url(./css/footer@1024.less);
  188. @import url(./css/footer@768.less);
  189. @import url(./css/footer@512.less);
  190. </style>