Home.vue 2.1 KB

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