brandList.vue 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <template>
  2. <div class="brand-list">
  3. <div class="brand-list-content">
  4. <div class="brand-list-top">
  5. <span>品牌墙</span>
  6. <span @click="onclick()">展开<i class="iconfont icon-jiantoushang"></i></span>
  7. </div>
  8. <div class="brand-list-item">
  9. <img src="/images/component/default.png"/>
  10. </div>
  11. </div>
  12. </div>
  13. </template>
  14. <script>
  15. export default {}
  16. </script>
  17. <style scoped lang="scss">
  18. .brand-list{
  19. width:100%;
  20. .brand-list-content{
  21. margin:0 auto;
  22. border-top:.02rem solid #dedfdf;
  23. border-bottom:.02rem solid #dedfdf;
  24. width:7.1rem;
  25. min-height:3.02rem;
  26. text-align: center;
  27. padding-top:.33rem;
  28. .brand-list-top{
  29. span:first-child{
  30. font-size:.32rem;
  31. margin-right:4.78rem;
  32. }
  33. span:last-child{
  34. font-size:.28rem;
  35. color:#53a0f7;
  36. }
  37. }
  38. .brand-list-item{
  39. justify-content: flex-start;
  40. flex-wrap: wrap;
  41. display:flex;
  42. img{
  43. width:1.75rem;
  44. height:.78rem;
  45. margin-top:.2rem;
  46. }
  47. }
  48. }
  49. }
  50. </style>