Footer.vue 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304
  1. <template>
  2. <footer class="footer">
  3. <!-- 主要内容区域 -->
  4. <div class="footer-main">
  5. <div class="container">
  6. <div class="footer-content">
  7. <!-- 左侧联系方式 -->
  8. <div class="contact-section">
  9. <h3 class="section-title">联系我们</h3>
  10. <div class="contact-item phone">
  11. <img src="@assets/footer-phone.png" alt="电话" class="contact-icon">
  12. <span class="contact-text">400-624-0069</span>
  13. </div>
  14. <div class="contact-item addr">
  15. <img src="@assets/footer-addr.png" alt="地址" class="contact-icon">
  16. <span class="contact-text">贵州省贵阳市观山湖区金融城MAX-A座</span>
  17. </div>
  18. <div class="qrcode-section">
  19. <img src="@assets/footer-qrcode.png" alt="微信公众号" class="qrcode">
  20. <p class="qrcode-text">微信公众号入口</p>
  21. </div>
  22. </div>
  23. <!-- 右侧导航链接 -->
  24. <div class="nav-sections">
  25. <!-- 达泽科技 -->
  26. <div class="nav-column">
  27. <h3 class="section-title">达泽科技</h3>
  28. <ul class="nav-list">
  29. <li><a href="#" class="nav-link">首页</a></li>
  30. <li><a href="/about" class="nav-link">关于我们</a></li>
  31. <li><a href="/cases" class="nav-link">解决方案</a></li>
  32. <li><a href="/products" class="nav-link">技术框架</a></li>
  33. </ul>
  34. </div>
  35. <!-- 关于我们 -->
  36. <div class="nav-column">
  37. <h3 class="section-title">关于我们</h3>
  38. <ul class="nav-list">
  39. <li><a href="/about" class="nav-link">企业简介</a></li>
  40. <li><a href="/about" class="nav-link">发展历程</a></li>
  41. <li><a href="/about" class="nav-link">企业荣誉</a></li>
  42. </ul>
  43. </div>
  44. <!-- 联系我们 -->
  45. <div class="nav-column">
  46. <h3 class="section-title">联系我们</h3>
  47. <ul class="nav-list">
  48. <li><a href="/contact" class="nav-link">联系方式</a></li>
  49. </ul>
  50. </div>
  51. </div>
  52. </div>
  53. </div>
  54. </div>
  55. <!-- 底部版权信息 -->
  56. <div class="footer-bottom">
  57. <div class="container">
  58. <div class="copyright-content">
  59. <p class="copyright-text">
  60. CopyRight © 贵州达泽科技有限公司 Guizhou Gui Daze Technology Co.,Ltd. 黔ICP备19000775号-1 贵公网安备52062102001026号
  61. </p>
  62. </div>
  63. </div>
  64. </div>
  65. </footer>
  66. </template>
  67. <script>
  68. export default {
  69. name: 'Footer'
  70. }
  71. </script>
  72. <style lang="scss" scoped>
  73. .footer {
  74. // background: linear-gradient(135deg, #4a6cf7 0%, #1e3a8a 50%, #0f172a 100%);
  75. background: url('@assets/footer-bg.png') no-repeat center top;
  76. background-size: cover;
  77. // background-color: #07122A;
  78. color: white;
  79. position: relative;
  80. }
  81. .footer-main {
  82. padding: 205px 0 $spacing-xl 0;
  83. }
  84. .container {
  85. max-width: $container-width;
  86. margin: 0 auto;
  87. padding: 0 $container-padding;
  88. }
  89. .footer-content {
  90. display: grid;
  91. grid-template-columns: 1fr 2fr;
  92. gap: 300px;
  93. align-items: flex-start;
  94. }
  95. .contact-section {
  96. .section-title {
  97. font-size: 32px;
  98. font-weight: 400;
  99. margin-bottom: 50px;
  100. color: white;
  101. padding-bottom: 15px;
  102. display: inline-block;
  103. position: relative;;
  104. &::after{
  105. content: '';
  106. width: 64px;
  107. height: 4px;
  108. position: absolute;
  109. left: 0;
  110. bottom: 0;
  111. background-color: #2E64AF;
  112. }
  113. }
  114. .contact-item {
  115. font-size: 18px;
  116. display: flex;
  117. align-items: flex-start;
  118. margin-bottom: $spacing-base;
  119. .contact-icon {
  120. width: 20px;
  121. height: 20px;
  122. margin-right: 10px;
  123. margin-top: 2px;
  124. flex-shrink: 0;
  125. }
  126. .contact-text {
  127. color: rgba(255, 255, 255, 0.9);
  128. }
  129. &.phone{font-size: 32px;margin-bottom: 24px;}
  130. &.addr{margin-bottom: 32px;}
  131. }
  132. .qrcode-section {
  133. margin-top: 12px;
  134. text-align: left;
  135. .qrcode {
  136. width: 120px;
  137. height: 120px;
  138. border-radius: $border-radius-base;
  139. background: white;
  140. padding: 4px;
  141. }
  142. .qrcode-text {
  143. margin-top: $spacing-small;
  144. color: rgba(255, 255, 255, 0.8);
  145. }
  146. }
  147. }
  148. .nav-sections {
  149. display: grid;
  150. grid-template-columns: repeat(3, 1fr);
  151. gap: $spacing-xl;
  152. }
  153. .nav-column {
  154. .section-title {
  155. font-size: 28px;
  156. font-weight: 400;
  157. margin-bottom: 50px;
  158. color: white;
  159. display: inline-block;
  160. }
  161. .nav-list {
  162. list-style: none;
  163. padding: 0;
  164. margin: 0;
  165. li {
  166. margin-bottom: 30px;
  167. }
  168. .nav-link {
  169. color: rgba(255, 255, 255, 0.8);
  170. text-decoration: none;
  171. font-size: 18px;
  172. transition: color 0.3s ease;
  173. &:hover {
  174. color: white;
  175. // text-decoration: underline;
  176. }
  177. }
  178. }
  179. }
  180. .footer-bottom {
  181. // background: rgba(0, 0, 0, 0.3);
  182. padding: $spacing-base 0;
  183. border-top: 1px solid rgba(255, 255, 255, 0.1);
  184. .copyright-content {
  185. text-align: center;
  186. .copyright-text {
  187. font-size: $font-size-small;
  188. color: rgba(255, 255, 255, 0.4);
  189. margin: 0;
  190. line-height: 1.5;
  191. }
  192. }
  193. }
  194. // 移动端适配
  195. @media (max-width: 768px) {
  196. .footer-main {
  197. padding: $spacing-xl 0 $spacing-large 0;
  198. }
  199. .footer-content {
  200. grid-template-columns: 1fr;
  201. gap: $spacing-large;
  202. }
  203. .contact-section {
  204. .contact-item {
  205. .contact-text {
  206. font-size: $font-size-small;
  207. }
  208. }
  209. .qrcode-section {
  210. text-align: center;
  211. margin-top: $spacing-medium;
  212. .qrcode {
  213. width: 100px;
  214. height: 100px;
  215. }
  216. }
  217. }
  218. .nav-sections {
  219. // grid-template-columns: 1fr;
  220. gap: $spacing-medium;
  221. }
  222. .nav-column {
  223. .section-title {
  224. font-size: $font-size-medium;
  225. }
  226. .nav-list {
  227. .nav-link {
  228. font-size: $font-size-small;
  229. }
  230. }
  231. }
  232. .footer-bottom {
  233. .copyright-text {
  234. font-size: 11px;
  235. padding: 0 $spacing-small;
  236. }
  237. }
  238. }
  239. // 超小屏幕适配
  240. @media (max-width: 480px) {
  241. .footer{
  242. background-position: 0px -35px;
  243. background-color: #07122A;
  244. }
  245. .container {
  246. padding: 0 $spacing-base;
  247. }
  248. .footer-main {
  249. padding: $spacing-large 0;
  250. }
  251. .contact-section {
  252. .contact-item {
  253. flex-direction: row;
  254. align-items: center;
  255. .contact-icon {
  256. margin-bottom: $spacing-xs;
  257. // margin-right: 0;
  258. }
  259. }
  260. }
  261. .nav-sections {
  262. gap: $spacing-base;
  263. }
  264. }
  265. </style>