footer.vue 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278
  1. <template>
  2. <div>
  3. <div class="plate07" v-if="!$route.meta.hideFooterFind">
  4. <p>{{ $t('header.footer.bannerTitle') }}</p>
  5. <div class="btn" @click="toCase">{{ $t('header.footer.find') }}</div>
  6. </div>
  7. <div class="footer" :style="{position: 'relative'}" >
  8. <div class="layout container">
  9. <div class="infos clear">
  10. <div class="infos-contact">
  11. <img src="@/assets/images/home/grey-logo.png" alt="logo" class="logo">
  12. <ul>
  13. <li>{{ $t('header.footer.saleEmail') }}:sales@4dage.com</li>
  14. <li>{{ $t('header.footer.meitiEmail') }}:pr@4dage.com</li>
  15. <li>{{ $t('header.footer.phone') }}:400-669-8025</li>
  16. </ul>
  17. </div>
  18. <div class="infos-list">
  19. <div class="infos-item" v-for="item in infosList" :key="item.title">
  20. <h6>{{ item.title }}</h6>
  21. <a v-for="i in item.list" :key="i.text" target="_blank" :href="`${i.link.indexOf('http') > -1 ? i.link : `${pathname}#/${i.link}`}`">{{ i.text }}</a>
  22. </div>
  23. </div>
  24. <ul class="contacts-w">
  25. <popup
  26. :icon="require('@/assets/images/refactor/footer/wechat.svg')"
  27. :hovericon="require('@/assets/images/refactor/footer/wechat.svg')"
  28. :code="`${$cdn}images/code_wx.jpg`"
  29. />
  30. <popup
  31. :icon="require('@/assets/images/refactor/footer/wb.svg')"
  32. :hovericon="require('@/assets/images/refactor/footer/wb.svg')"
  33. :code="`${$cdn}images/code_wb.jpg`"
  34. />
  35. <popup
  36. :icon="require('@/assets/images/refactor/footer/dy.svg')"
  37. :hovericon="require('@/assets/images/refactor/footer/dy.svg')"
  38. :code="`${$cdn}images/code_dy.jpg`"
  39. />
  40. </ul>
  41. </div>
  42. <div class="relevant clear">
  43. <!-- <div>
  44. <a :href="language==='en'?'https://www.4dage.com/en':'https://www.4dage.com'" target="_blank">{{langFooter.fdage}}</a>
  45. <a :href="language==='en'?'https://www.cgaii.com/en':'https://www.cgaii.com'" target="_blank">{{langFooter.cgaii}}</a>
  46. <a href="http://www.4dmodel.com/" target="_blank">{{langFooter.model}}</a>
  47. </div> -->
  48. <p class="relevant-1">Copyright © 2020 4DAGE Co., Ltd. All rights reserved. </p>
  49. <p class="relevant-2"><a class="a_class">粤ICP备14078495号-3</a></p>
  50. </div>
  51. </div>
  52. </div>
  53. </div>
  54. </template>
  55. <script>
  56. import popup from '@/components/popup'
  57. import {mapState} from 'vuex'
  58. export default {
  59. name: 'Footer',
  60. data () {
  61. return {
  62. pathname: window.location.pathname,
  63. infosList: [
  64. {
  65. title: this.$t('header.solutions'),
  66. list: [
  67. {
  68. text: this.$t('header.solutionsHouse'),
  69. link: 'conductHouse'
  70. },
  71. {
  72. text: this.$t('header.solutionsExi'),
  73. link: 'conductExhibition'
  74. },
  75. {
  76. text: this.$t('header.solutionsSubject'),
  77. link: 'conductSubject'
  78. },
  79. {
  80. text: this.$t('header.solutionsShop'),
  81. link: 'conductShop'
  82. },
  83. {
  84. text: this.$t('header.solutionsSec'),
  85. link: 'conductSecury'
  86. }
  87. ]
  88. },
  89. {
  90. title: this.$t('header.about'),
  91. list: [
  92. {
  93. text: this.$t('header.aboutCompany'),
  94. link: 'about'
  95. },
  96. {
  97. text: this.$t('header.aboutNews'),
  98. link: 'news'
  99. },
  100. {
  101. text: this.$t('header.aboutAgent'),
  102. link: 'distributor'
  103. }
  104. ]
  105. },
  106. {
  107. title: this.$t('header.footer.find4D'),
  108. list: [
  109. {
  110. text: this.$t('header.footer.kankan'),
  111. link: 'http://www.4dage.com/cn'
  112. },
  113. {
  114. text: this.$t('header.footer.zhongde'),
  115. link: 'https://www.cgaii.com'
  116. },
  117. {
  118. text: this.$t('header.footer.moku'),
  119. link: 'http://www.4dmodel.com/'
  120. }
  121. ]
  122. }
  123. ]
  124. }
  125. },
  126. components: {popup},
  127. computed: {
  128. ...mapState({
  129. split: state => state.ui.navDivision,
  130. langFooter: state => state.language.home.footer,
  131. language: state => state.language.current
  132. })
  133. },
  134. methods: {
  135. toCase () {
  136. this.$router.push('/cases/全部')
  137. window.scrollTo({top: 0})
  138. }
  139. }
  140. }
  141. </script>
  142. <style lang="scss" scoped>
  143. .a_class,.a_class:hover,.a_class:active{
  144. color: #fff;
  145. text-decoration: none;
  146. cursor: initial;
  147. }
  148. .footer {
  149. padding-top: 76px 0 26px;
  150. background-color: #202020 !important;
  151. position: relative;
  152. width: 100%;
  153. bottom: 0;
  154. z-index: 888;
  155. .layout {
  156. margin: 0 auto;
  157. max-width: 1440px;
  158. padding-left: 20px;
  159. padding-right: 20px;
  160. .relevant {
  161. margin-top: 86px;
  162. border-top: 1px solid #909090;
  163. padding: 26px 0;
  164. color: #909090;
  165. &-1 {
  166. float: left;
  167. background-color: transparent;
  168. }
  169. &-2 {
  170. float: right;
  171. }
  172. div {
  173. margin-bottom: 8px;
  174. a {
  175. color: #1fe4dc;
  176. font-size: 14px;
  177. text-decoration: underline;
  178. display: inline-block;
  179. line-height: 25px;
  180. &:nth-child(2) {
  181. margin: 0 42px;
  182. }
  183. }
  184. }
  185. p {
  186. font-size: 14px;
  187. color: #ffffff;
  188. margin-bottom: 8px;
  189. }
  190. }
  191. &::after {
  192. content: '';
  193. display: block;
  194. clear: both;
  195. }
  196. }
  197. }
  198. .infos {
  199. font-size: 16px;
  200. color: #EBEBEB;
  201. padding: 76px 0 0 0;
  202. .infos-contact {
  203. float: left;
  204. ul {
  205. margin-top: 27px;
  206. }
  207. li {
  208. margin-bottom: 15px;
  209. }
  210. }
  211. .infos-list {
  212. float: left;
  213. margin-left: 157px;
  214. padding-top: 25px;
  215. }
  216. .infos-item {
  217. float: left;
  218. color: #909090;
  219. min-width: 138px;
  220. h6 {
  221. margin-bottom: 27px;
  222. color: #fff;
  223. }
  224. a {
  225. display: block;
  226. color: #909090;
  227. margin-bottom: 15px;
  228. cursor: pointer;
  229. &:hover {
  230. color: #FFFFFF;
  231. }
  232. }
  233. }
  234. }
  235. .plate07 {
  236. width: 100%;
  237. height: 300px;
  238. background: url(~@/assets/images/home/bottom-bg.png) no-repeat center center;
  239. text-align: center;
  240. padding-top: 94px;
  241. color: #202020;
  242. position: relative;
  243. z-index: 100;
  244. p {
  245. font-size: 40px;
  246. margin-bottom: 27px;
  247. }
  248. .btn {
  249. width: 140px;
  250. height: 40px;
  251. line-height: 40px;
  252. margin: 0 auto;
  253. background: #1FE4DC;
  254. font-weight: 600;
  255. cursor: pointer;
  256. }
  257. }
  258. .contacts-w {
  259. float: right;
  260. }
  261. @media screen and (max-width: 1500px) {
  262. .footer {
  263. .layout{
  264. max-width:1200px;
  265. }
  266. }
  267. }
  268. </style>