StoreFooter.vue 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. <template>
  2. <div class="share-store-footer">
  3. <div class="more">
  4. <div class="hr"></div>
  5. <p>如需查看更多器件请登录<nuxt-link to="/">优软商城</nuxt-link></p>
  6. <div class="hr"></div>
  7. </div>
  8. <div class="info">
  9. <img src="/images/mobile/@2x/shareStore/store-info.png" alt="">
  10. <div class="info-line">
  11. <div class="fl">
  12. <img src="/images/mobile/@2x/shareStore/phone.png" alt="">
  13. <span>联系电话</span>
  14. </div>
  15. <div class="fr">{{storeInfo.enterprise.enTel || '无'}}</div>
  16. </div>
  17. <div class="info-line">
  18. <div class="fl">
  19. <img src="/images/mobile/@2x/shareStore/fax.png" alt="">
  20. <span>传真</span>
  21. </div>
  22. <div class="fr">{{storeInfo.enterprise.enFax || '无'}}</div>
  23. </div>
  24. <div class="info-line">
  25. <div class="fl">
  26. <img src="/images/mobile/@2x/shareStore/address.png" alt="">
  27. <span>公司地址</span>
  28. </div>
  29. <div class="fr">{{storeInfo.enterprise.address || storeInfo.enterprise.enAddress}}</div>
  30. </div>
  31. </div>
  32. <div class="company">
  33. <div class="hr"></div>
  34. <img src="/images/mobile/@2x/shareStore/logo.png" alt="">
  35. <div class="hr right"></div>
  36. <p>此页面由深圳市优软商城科技有限公司提供</p>
  37. <a href="https://www.usoftmall.com">www.usoftmall.com</a>
  38. </div>
  39. </div>
  40. </template>
  41. <script>
  42. export default {
  43. computed: {
  44. storeInfo () {
  45. return this.$store.state.shop.storeInfo.store.data
  46. }
  47. }
  48. }
  49. </script>
  50. <style lang="scss" scoped>
  51. .share-store-footer {
  52. .more {
  53. height: .62rem;
  54. line-height: .62rem;
  55. font-size: .24rem;
  56. background: #f4f4f4;
  57. text-align: center;
  58. position: relative;
  59. p {
  60. color: #a9a9aa;
  61. a {
  62. color: #2f50f7;
  63. }
  64. }
  65. .hr {
  66. width: 1.09rem;
  67. height: .02rem;
  68. background: #d9d9d9;
  69. position: absolute;
  70. left: .77rem;
  71. top: .3rem;
  72. &:last-child {
  73. right: .77rem;
  74. left: auto;
  75. }
  76. }
  77. }
  78. .info {
  79. height: 2.82rem;
  80. background: #fff;
  81. padding: .19rem .38rem 0 .35rem ;
  82. > img {
  83. width: 1.38rem;
  84. height: .45rem;
  85. margin-bottom: .25rem;
  86. }
  87. .info-line {
  88. margin-top: .2rem;
  89. height: .28rem;
  90. .fl {
  91. > img {
  92. width: .28rem;
  93. height: .28rem;
  94. }
  95. span {
  96. font-size: .24rem;
  97. color: #3c3c3c;
  98. line-height: .28rem;
  99. margin-left: .18rem;
  100. }
  101. }
  102. .fr {
  103. font-size: .21rem;
  104. color: #ef873a;
  105. line-height: .28rem;
  106. max-width: 4.2rem;
  107. overflow: hidden;
  108. text-overflow: ellipsis;
  109. white-space: nowrap;
  110. }
  111. }
  112. }
  113. .company {
  114. position: relative;
  115. height: 1.36rem;
  116. background: #f4f4f4;
  117. text-align: center;
  118. img {
  119. width: 1.15rem;
  120. height: .23rem;
  121. margin-top: .24rem;
  122. }
  123. p {
  124. font-size: .21rem;
  125. color: #aaa;
  126. margin: .13rem 0 0 0;
  127. }
  128. a {
  129. margin-top: .12rem;
  130. font-size: .18rem;
  131. color: #bbb;
  132. }
  133. .hr {
  134. width: 1.09rem;
  135. height: .02rem;
  136. background: #d9d9d9;
  137. position: absolute;
  138. left: 1.94rem;
  139. top: .35rem;
  140. &.right {
  141. right: 1.94rem;
  142. left: auto;
  143. }
  144. }
  145. }
  146. }
  147. </style>