Footer.vue 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. <template>
  2. <footer class="footer">
  3. <div class="footer-container container">
  4. <div class="footer-guide">
  5. <div class="item">
  6. <h5>用户指南</h5>
  7. <ul class="list-unstyled">
  8. <li><a href="https://mall.usoftchina.com/help/helpDetail/50" target="_blank">服务条款</a></li>
  9. <li><a href="https://mall.usoftchina.com/help/helpDetail/16" target="_blank">买卖条例</a></li>
  10. <li><a href="https://mall.usoftchina.com/help/helpDetail/51" target="_blank">代收代付协议</a></li>
  11. </ul>
  12. </div>
  13. <div class="item">
  14. <h5>关于我们</h5>
  15. <ul class="list-unstyled">
  16. <li><a href="https://mall.usoftchina.com/help/helpDetail/1" target="_blank">公司简介</a></li>
  17. <li><a href="https://mall.usoftchina.com/help/helpDetail/28" target="_blank">公司地址</a></li>
  18. <li><a href="https://mall.usoftchina.com/help/helpDetail/28" target="_blank">联系我们</a></li>
  19. </ul>
  20. </div>
  21. <div class="item">
  22. <h5>更多服务</h5>
  23. <ul class="list-unstyled">
  24. <li><a href="http://uas.usoftchina.com/" target="_blank">优软科技</a></li>
  25. <li><a href="http://www.usoftchina.com" target="_blank">优软云</a></li>
  26. </ul>
  27. </div>
  28. <div class="item">
  29. <h5>商城公众号</h5>
  30. <img src="/images/qrcode/mall.png" />
  31. </div>
  32. <div class="item">
  33. <h5>科技公众号</h5>
  34. <img src="/images/qrcode/uas.png" />
  35. </div>
  36. </div>
  37. <ul class="footer-link list-unstyled">
  38. <span>友情链接:</span>
  39. <li v-for="(link, index) in links" class="footer-link-item">
  40. <span v-if="index!=0" class="separation">|</span>
  41. <a :href="link.url" target="_blank" :title="link.title">{{ link.title }}</a>
  42. </li>
  43. </ul>
  44. <ul class="footer-notice list-unstyled">
  45. <li>客服电话:400-830-1818</li>
  46. <li>公司地址:深圳市南山区英唐大厦一楼</li>
  47. <li>©2016 深圳市优软科技有限公司 粤ICP备15112126号-4</li>
  48. </ul>
  49. <div class="footer-credit">
  50. <a href="javascript:void(0)"><img src="/images/credit/1.jpg" /></a>
  51. <a href="javascript:void(0)"><img src="/images/credit/2.jpg" /></a>
  52. <a href="javascript:void(0)"><img src="/images/credit/3.jpg" /></a>
  53. <a href="javascript:void(0)"><img src="/images/credit/4.jpg" /></a>
  54. <a href="javascript:void(0)"><img src="/images/credit/5.jpg" /></a>
  55. </div>
  56. </div>
  57. </footer>
  58. </template>
  59. <script>
  60. export default {
  61. name: 'footerView',
  62. data () {
  63. return {
  64. links: [{
  65. url: 'http://www.worldshine.net',
  66. title: '深圳华商龙'
  67. }, {
  68. url: 'http://www.yitoa.com',
  69. title: '深圳市英唐智能科技'
  70. }, {
  71. url: 'http://uas.usoftchina.com',
  72. title: '深圳市优软科技'
  73. }, {
  74. url: 'http://www.51cube.com',
  75. title: '酷比魔方'
  76. }, {
  77. url: 'http://www.szsoling.com/home',
  78. title: 'SOLING 索菱'
  79. }, {
  80. url: 'http://www.huashangweitai.com',
  81. title: '深圳市华商维泰显示科技'
  82. }, {
  83. url: 'http://www.szmadigi.com',
  84. title: '迈迪杰科技'
  85. }, {
  86. url: 'http://www.hi-mantech.com',
  87. title: '怡海能达'
  88. }]
  89. }
  90. }
  91. // watch: {
  92. // $route: function (val, oldVal) {
  93. // let footer = document.getElementsByClassName('footer')[0]
  94. // if (this.$route.path === '/applyPurchase') {
  95. // footer.style.position = 'absolute'
  96. // footer.style.top = '2581px'
  97. // } else {
  98. // footer.style.position = 'initial'
  99. // }
  100. // }
  101. // }
  102. // mounted () {
  103. // let footer = document.getElementsByClassName('footer')[0]
  104. // if (this.$route.path === '/applyPurchase') {
  105. // footer.style.position = 'absolute'
  106. // footer.style.top = '2581px'
  107. // } else {
  108. // footer.style.position = 'initial'
  109. // }
  110. // }
  111. }
  112. </script>
  113. <style lang="scss" scoped>
  114. @import '~assets/scss/variables';
  115. .footer-guide h5{
  116. font-size: 16px;
  117. margin-bottom: 10px;
  118. }
  119. .footer {
  120. font-size: $font-size-small;
  121. background-color: $grey-bg;
  122. .footer-container {
  123. position: relative;
  124. text-align: center;
  125. text-transform: uppercase;
  126. a {
  127. color: $text;
  128. &:hover {
  129. color: $red;
  130. }
  131. }
  132. .footer-guide {
  133. margin-bottom: $pad;
  134. > .item {
  135. display: inline-block;
  136. width: 16%;
  137. text-align: center;
  138. vertical-align: top;
  139. > h5 {
  140. font-weight: bold;
  141. }
  142. > ul > li {
  143. padding: $xs-pad;
  144. }
  145. }
  146. }
  147. .footer-link {
  148. margin-bottom: $pad;
  149. color: $dark;
  150. .footer-link-item {
  151. display: inline-block;
  152. margin-left: $pad;
  153. .separation {
  154. margin-right: $pad;
  155. }
  156. }
  157. }
  158. .footer-notice {
  159. border-top: $border;
  160. padding: $lg-pad 0;
  161. > li {
  162. display: inline-block;
  163. padding: 0 2em;
  164. }
  165. }
  166. .footer-credit {
  167. padding-bottom: $xlg-pad;
  168. > a {
  169. margin: 0 $sm-pad;
  170. }
  171. }
  172. }
  173. }
  174. </style>