StoreFooter.vue 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  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="share_title"><span></span><a>店铺信息</a></div>
  11. <div class="info-line">
  12. <div class="fl">
  13. <img src="/images/mobile/@2x/shareStore/phone.png" alt="">
  14. <span>联系电话</span>
  15. </div>
  16. <div class="fr">{{storeInfo.enterprise.enTel || '无'}}</div>
  17. </div>
  18. <div class="info-line">
  19. <div class="fl">
  20. <img src="/images/mobile/@2x/shareStore/fax.png" alt="">
  21. <span>传真</span>
  22. </div>
  23. <div class="fr">{{storeInfo.enterprise.enFax || '无'}}</div>
  24. </div>
  25. <div class="info-line">
  26. <div class="fl">
  27. <img src="/images/mobile/@2x/shareStore/address.png" alt="">
  28. <span>公司地址</span>
  29. </div>
  30. <div class="fr">{{storeInfo.enterprise.address || storeInfo.enterprise.enAddress}}</div>
  31. </div>
  32. </div>
  33. <div class="company">
  34. <div class="hr"></div>
  35. <img src="/images/mobile/@2x/shareStore/logo.png" alt="">
  36. <div class="hr right"></div>
  37. <p>此页面由深圳优软商城科技有限公司提供</p>
  38. <a href="https://mall.usoftchina.com">mall.usoftchina.com</a>
  39. </div>
  40. </div>
  41. </template>
  42. <script>
  43. export default {
  44. computed: {
  45. storeInfo () {
  46. return this.$store.state.shop.storeInfo.store.data
  47. }
  48. }
  49. }
  50. </script>
  51. <style lang="scss" scoped>
  52. .share-store-footer {
  53. .share_title {
  54. font-weight: bold;
  55. display: inline-block;
  56. span {
  57. width: 0.08rem;
  58. height: 0.3rem;
  59. line-height: 0.3rem;
  60. background-image: linear-gradient(90deg,
  61. #7188ff 0%,
  62. #6066fe 84%,
  63. #4f44fd 100%),
  64. linear-gradient(
  65. #000000,
  66. #000000);
  67. display: inline-block;
  68. margin-top: 0.02rem;
  69. margin-right: 0.09rem;
  70. vertical-align: top;
  71. }
  72. a {
  73. font-size: 0.28rem;
  74. color: #09061e;
  75. display: inline-block;
  76. vertical-align: top;
  77. }
  78. }
  79. .more {
  80. height: .82rem;
  81. line-height: .82rem;
  82. font-size: .28rem;
  83. background: #f4f4f4;
  84. text-align: center;
  85. position: relative;
  86. p {
  87. color: #a9a9aa;
  88. a {
  89. color: #2f50f7;
  90. }
  91. }
  92. .hr {
  93. width: 1.09rem;
  94. height: .02rem;
  95. background: #d9d9d9;
  96. position: absolute;
  97. left: .47rem;
  98. top: .4rem;
  99. &:last-child {
  100. right: .47rem;
  101. left: auto;
  102. }
  103. }
  104. }
  105. .info {
  106. height: 2.82rem;
  107. background: #fff;
  108. padding: .19rem .38rem 0 .35rem ;
  109. > img {
  110. width: 1.38rem;
  111. height: .45rem;
  112. margin-bottom: .25rem;
  113. }
  114. .info-line {
  115. margin-top: .2rem;
  116. height: .28rem;
  117. .fl {
  118. > img {
  119. width: .28rem;
  120. height: .28rem;
  121. }
  122. span {
  123. font-size: .26rem;
  124. color: #3c3c3c;
  125. line-height: .28rem;
  126. margin-left: .18rem;
  127. }
  128. }
  129. .fr {
  130. font-size: .26rem;
  131. color: #fb6f03;
  132. line-height: .28rem;
  133. max-width: 4.2rem;
  134. overflow: hidden;
  135. text-overflow: ellipsis;
  136. white-space: nowrap;
  137. }
  138. }
  139. }
  140. .company {
  141. position: relative;
  142. height: 1.36rem;
  143. background: #f4f4f4;
  144. text-align: center;
  145. img {
  146. width: 1.15rem;
  147. height: .23rem;
  148. margin-top: .24rem;
  149. }
  150. p {
  151. font-size: .21rem;
  152. color: #aaa;
  153. margin: .13rem 0 0 0;
  154. }
  155. a {
  156. margin-top: .12rem;
  157. font-size: .18rem;
  158. color: #bbb;
  159. }
  160. .hr {
  161. width: 1.09rem;
  162. height: .02rem;
  163. background: #d9d9d9;
  164. position: absolute;
  165. left: 1.94rem;
  166. top: .35rem;
  167. &.right {
  168. right: 1.94rem;
  169. left: auto;
  170. }
  171. }
  172. }
  173. }
  174. </style>