Footer.vue 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  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="http://www.usoftmall.com/help/helpDetail/50" target="_blank">服务条款</a></li>
  9. <li><a href="http://www.usoftmall.com/help/helpDetail/16" target="_blank">买卖条例</a></li>
  10. <li><a href="http://www.usoftmall.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="http://www.usoftmall.com/help/helpDetail/1" target="_blank">公司简介</a></li>
  17. <li><a href="http://www.usoftmall.com/help/helpDetail/28" target="_blank">公司地址</a></li>
  18. <li><a href="https://www.usoftmall.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://www.usoftchina.com/" target="_blank">优软科技</a></li>
  25. <li><a href="http://www.ubtob.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://www.usoftchina.com/usoft',
  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. }
  87. }
  88. // watch: {
  89. // $route: function (val, oldVal) {
  90. // let footer = document.getElementsByClassName('footer')[0]
  91. // if (this.$route.path === '/applyPurchase') {
  92. // footer.style.position = 'absolute'
  93. // footer.style.top = '2581px'
  94. // } else {
  95. // footer.style.position = 'initial'
  96. // }
  97. // }
  98. // }
  99. // mounted () {
  100. // let footer = document.getElementsByClassName('footer')[0]
  101. // if (this.$route.path === '/applyPurchase') {
  102. // footer.style.position = 'absolute'
  103. // footer.style.top = '2581px'
  104. // } else {
  105. // footer.style.position = 'initial'
  106. // }
  107. // }
  108. }
  109. </script>
  110. <style lang="scss" scoped>
  111. @import '~assets/scss/variables';
  112. .footer-guide h5{
  113. font-size: 16px;
  114. margin-bottom: 10px;
  115. }
  116. .footer {
  117. font-size: $font-size-small;
  118. background-color: $grey-bg;
  119. .footer-container {
  120. position: relative;
  121. text-align: center;
  122. text-transform: uppercase;
  123. a {
  124. color: $text;
  125. &:hover {
  126. color: $red;
  127. }
  128. }
  129. .footer-guide {
  130. margin-bottom: $pad;
  131. > .item {
  132. display: inline-block;
  133. width: 16%;
  134. text-align: center;
  135. vertical-align: top;
  136. > h5 {
  137. font-weight: bold;
  138. }
  139. > ul > li {
  140. padding: $xs-pad;
  141. }
  142. }
  143. }
  144. .footer-link {
  145. margin-bottom: $pad;
  146. color: $dark;
  147. .footer-link-item {
  148. display: inline-block;
  149. margin-left: $pad;
  150. .separation {
  151. margin-right: $pad;
  152. }
  153. }
  154. }
  155. .footer-notice {
  156. border-top: $border;
  157. padding: $lg-pad 0;
  158. > li {
  159. display: inline-block;
  160. padding: 0 2em;
  161. }
  162. }
  163. .footer-credit {
  164. padding-bottom: $xlg-pad;
  165. > a {
  166. margin: 0 $sm-pad;
  167. }
  168. }
  169. }
  170. }
  171. </style>