Home.vue 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. <template>
  2. <div class="home">
  3. <div class="header">
  4. <input type="text" placeholder="请输入您要查找的型号或品牌">
  5. <span>
  6. <i class="iconfont icon-sousuo"></i>
  7. </span>
  8. <img src="/images/mobile/@2x/applyPurchase/home/phone.png" alt="">
  9. </div>
  10. <ul class="link-list">
  11. <li>
  12. <a href="">
  13. <img src="/images/mobile/@2x/applyPurchase/home/shop.png" alt="">
  14. <span>店铺列表</span>
  15. </a>
  16. </li>
  17. <li>
  18. <a href="">
  19. <img src="/images/mobile/@2x/applyPurchase/home/brand.png" alt="">
  20. <span>品牌列表</span>
  21. </a>
  22. </li>
  23. <li>
  24. <a href="">
  25. <img src="/images/mobile/@2x/applyPurchase/home/seek.png" alt="">
  26. <span>求购询价</span>
  27. </a>
  28. </li>
  29. </ul>
  30. <div class="seek-title">
  31. <img src="/images/mobile/@2x/applyPurchase/home/seek-title.png" alt="">
  32. <span>最新求购信息</span>
  33. <nuxt-link to="/mobile/applyPurchase/list">查看更多 <img src="/images/mobile/@2x/applyPurchase/home/arrow-right.png" alt=""></nuxt-link>
  34. </div>
  35. <seek-list></seek-list>
  36. </div>
  37. </template>
  38. <script>
  39. import SeekList from './applyPurchase/SeekList.vue'
  40. export default {
  41. components: {
  42. SeekList
  43. }
  44. }
  45. </script>
  46. <style lang="scss" scoped>
  47. .home {
  48. padding-bottom: 1rem;
  49. .header {
  50. background: url('/images/mobile/@2x/applyPurchase/home/home-bg.png') no-repeat;
  51. background-size: cover;
  52. height: 3.26rem;
  53. input {
  54. width: 6.48rem;
  55. height: .58rem;
  56. border-radius: .14rem;
  57. margin: .15rem 0 0 .11rem;
  58. font-size: .23rem;
  59. padding: 0 0 0 .21rem;
  60. }
  61. span {
  62. display: inline-block;
  63. height: .46rem;
  64. line-height: .46rem;
  65. width: .68rem;
  66. color: #376ff3;
  67. border-left: .04rem solid #376ff3;
  68. margin-left: -.68rem;
  69. text-align: center;
  70. vertical-align: middle;
  71. margin-bottom: .08rem;
  72. i {
  73. font-size: .3rem;
  74. }
  75. }
  76. img {
  77. width: .44rem;
  78. height: .44rem;
  79. float: right;
  80. margin-right: .2rem;
  81. margin-top: .2rem;
  82. }
  83. }
  84. .link-list {
  85. background: #f3f3f7;
  86. height: 1.36rem;
  87. li {
  88. display: inline-block;
  89. width: 33.3%;
  90. text-align: center;
  91. float: left;
  92. height: 1.36rem;
  93. img {
  94. width: .63rem;
  95. margin-top: .2rem;
  96. }
  97. span {
  98. font-size: .22rem;
  99. color: #666;
  100. display: block;
  101. margin-top: .15rem;
  102. }
  103. }
  104. }
  105. }
  106. </style>