footer.vue 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233
  1. <template>
  2. <div class="footer">
  3. <div id="footContent">
  4. <div class="top">
  5. <div class="tit">
  6. <h4>联系我们</h4>
  7. <span>CONTACT US</span>
  8. </div>
  9. <div class="tit1">
  10. <div class="line">
  11. <div class="weixin">
  12. <img :src="img1" alt="微信二维码">
  13. <p>官方微信</p>
  14. </div>
  15. <div class="contact">
  16. <p class="text-muted">{{webSite}}</p>
  17. <p class="text-muted">电话:{{tel}}</p>
  18. <p class="text-muted">合作邮箱:{{email}}</p>
  19. <p class="text-muted">地址:{{address}}</p>
  20. </div>
  21. </div>
  22. </div>
  23. </div>
  24. <div class="bottom">
  25. <h4>Copyright @ 芝麻开花科技有限公司 保留所有权利 京ICP备13040720号-8</h4>
  26. </div>
  27. </div>
  28. </div>
  29. </template>
  30. <script>
  31. /* eslint-disable */
  32. import img1 from "./img/weixin.png";
  33. export default {
  34. name: 'HomeFooter',
  35. data(){
  36. return{
  37. img1:img1,
  38. webSite:"网址:http://www.zhimakahua.com",
  39. tel:"400-0018-318",
  40. email:"123456789@163.com",
  41. address:"陕西省西安市曲江新区雁塔南路1201号金辉环球中心B座1209室"
  42. }
  43. }
  44. }
  45. </script>
  46. <style scoped>
  47. *{
  48. margin: 0px;
  49. padding: 0px;
  50. text-align: left;
  51. }
  52. .footer{
  53. width: 100%;
  54. height: 480px;
  55. background: #F6F6F6;
  56. color: aliceblue;
  57. }
  58. #footContent{
  59. width: 1440px;
  60. margin: 0 auto;
  61. }
  62. @media screen and (max-width:1440px){
  63. #footContent{
  64. width: 100%;
  65. }
  66. }
  67. .footer .top{
  68. color: black;
  69. }
  70. .footer .top .tit{
  71. height: 158px;
  72. padding-top: 60px;
  73. padding-left: 8.3%;
  74. }
  75. .footer .top div h4{
  76. font-family: PingFangSC-Regular;
  77. font-size: 28px;
  78. height: 40px;
  79. line-height: 40px;
  80. color: #4A4A4A;
  81. letter-spacing: 0;
  82. margin-bottom: 6px;
  83. }
  84. .footer .top div span{
  85. font-family: PingFangSC-Regular;
  86. font-size: 18px;
  87. color: #999999;
  88. letter-spacing: 0.2px;
  89. line-height: 25px;
  90. }
  91. .footer .top .tit1{
  92. display: flex;
  93. flex-direction: row;
  94. height: 233px;
  95. padding-left: 8.3%;
  96. }
  97. .footer .top .tit1 .line{
  98. padding-top: 43px;
  99. border-top: 1px solid #E4E4E4;
  100. border-bottom: 1px solid #E4E4E4;
  101. width: 84%;
  102. }
  103. .footer .top .tit1 .contact{
  104. height: 118px;
  105. padding-left:5%;
  106. display: flex;
  107. flex-direction: column;
  108. flex: 1;
  109. }
  110. .footer .top .tit1 div p{
  111. font-family: PingFangSC-Regular;
  112. font-size: 16px;
  113. flex: 1;
  114. color: #999999;
  115. letter-spacing: 0;
  116. }
  117. .footer .top .tit1 .weixin{
  118. float: left;
  119. width: 118px;
  120. display: flex;
  121. flex-direction: column;
  122. }
  123. .footer .top .tit1 .weixin img{
  124. width: 118px;
  125. height: 118px;
  126. margin-bottom: 10px;
  127. }
  128. .footer .top .tit1 .weixin p{
  129. font-family: PingFangSC-Regular;
  130. font-size: 18px;
  131. color: #999999;
  132. letter-spacing: 0;
  133. height: 22px;
  134. line-height: 22px;
  135. text-align: center;
  136. }
  137. .footer .top .tit1 .weixin img{
  138. float: left;
  139. width: 118px;
  140. height: 118px;
  141. }
  142. .footer .top h4{
  143. color: black;
  144. }
  145. .footer .bottom{
  146. padding-left: 8.3%;
  147. height: 88px;
  148. display: flex;
  149. align-items: center;
  150. color: black;
  151. }
  152. .footer .bottom h4{
  153. font-size: 16px;
  154. color: #999999;
  155. }
  156. @media screen and (max-width:900px){
  157. .footer .top div h4{
  158. font-size: 24px;
  159. }
  160. .footer .top div span{
  161. font-size: 15px;
  162. }
  163. .footer .top .tit1 div p{
  164. font-size: 15px;
  165. }
  166. .footer .top .tit1 .weixin p{
  167. font-size: 16px;
  168. }
  169. .footer .bottom h4{
  170. font-size: 15px;
  171. text-align: center;
  172. }
  173. }
  174. @media screen and (max-width:500px){
  175. .footer{
  176. height: 490px;
  177. }
  178. .footer .top div h4{
  179. font-size: 20px;
  180. }
  181. .footer .top div span{
  182. font-size: 12px;
  183. }
  184. .line{
  185. display: flex;
  186. flex-direction: column;
  187. }
  188. .line .weixin{
  189. padding: 0;
  190. margin: 0 auto;
  191. }
  192. .footer .top .tit{
  193. height: 108px;
  194. padding-top: 20px;
  195. }
  196. .footer .top .tit1{
  197. height: 303px;
  198. padding-left: 8.3%;
  199. }
  200. .footer .top .tit1 .weixin img{
  201. width: 90px;
  202. height: 90px;
  203. margin-bottom: 2px;
  204. }
  205. .footer .top .tit1 .weixin p{
  206. font-size: 14px;
  207. color: #999999;
  208. letter-spacing: 4px;
  209. height: 22px;
  210. line-height: 22px;
  211. text-align: center;
  212. width: 90px;
  213. }
  214. .footer .contact{
  215. padding: 10px 0px ;
  216. }
  217. .footer .bottom{
  218. height: 78px;
  219. padding: 0px 20px
  220. }
  221. .footer .bottom h4{
  222. font-size: 13px;
  223. color: #999999;
  224. }
  225. .footer .top .tit1 div p{
  226. font-size: 13px;
  227. }
  228. }
  229. </style>