tabs.scss 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. .body-view {
  2. height: 100vh;
  3. width: 100%;
  4. display: flex;
  5. flex: 1;
  6. flex-direction: column;
  7. overflow: hidden;
  8. align-items: flex-start;
  9. justify-content: center;
  10. }
  11. .top-menu-view {
  12. display: flex;
  13. // position: fixed;
  14. top: 100rpx;
  15. left: 0;
  16. white-space: nowrap;
  17. width: 100%;
  18. background-color: #FFFFFF;
  19. height: 80rpx;
  20. line-height: 80rpx;
  21. margin-bottom: 20rpx;
  22. border-top: 1rpx solid #d8dbe6;
  23. .menu-topic-view {
  24. display: inline-block;
  25. white-space: nowrap;
  26. height: 80rpx;
  27. position: relative;
  28. .menu-topic-text {
  29. // font-size: 30rpx;
  30. color: #303133;
  31. padding: 5rpx 20rpx;
  32. }
  33. // .menu-topic-act {
  34. // margin-left: 30upx;
  35. // margin-right: 10upx;
  36. // position: relative;
  37. // height: 100%;
  38. // display: flex;
  39. // align-items: center;
  40. // justify-content: center;
  41. // }
  42. .menu-topic-bottom {
  43. position: absolute;
  44. bottom: 0;
  45. width: 100%;
  46. .menu-topic-bottom-color {
  47. width: 80rpx;
  48. height: 6rpx;
  49. }
  50. }
  51. .menu-topic-act .menu-topic-bottom {
  52. display: flex;
  53. justify-content: center;
  54. }
  55. .menu-topic-act .menu-topic-bottom-color {
  56. background: #3d7eff;
  57. }
  58. }
  59. }
  60. .swiper-box-list {
  61. width: 100%;
  62. padding-top: 200rpx;
  63. flex: 1;
  64. background-color: #FFFFFF;
  65. .swiper-topic-list {
  66. width: 100%;
  67. }
  68. }