index.scss 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. .brand_list_page {
  2. width: 100vw;
  3. height: 100vh;
  4. display: flex;
  5. flex-direction: column;
  6. overflow: hidden;
  7. position: relative;
  8. .brand_list {
  9. background-color: #fff;
  10. padding: 20rpx;
  11. .u-nav-slot {
  12. display: flex;
  13. align-items: center;
  14. gap: 10rpx;
  15. }
  16. .suggest_list {
  17. margin-top: 20rpx;
  18. display: grid;
  19. grid-template-columns: repeat(4, 1fr);
  20. gap: 20rpx;
  21. .brand_item {
  22. display: flex;
  23. flex-direction: column;
  24. align-items: center;
  25. .brand_img {
  26. width: 140rpx;
  27. height: 80rpx;
  28. }
  29. .brand_name {
  30. font-size: 28rpx;
  31. font-weight: 600;
  32. }
  33. }
  34. }
  35. }
  36. .index_list{
  37. flex: 1;
  38. overflow: hidden;
  39. ::v-deep uni-scroll-view{
  40. height: 100%;
  41. overflow: auto;
  42. .uni-scroll-view-content{
  43. padding-bottom: 120rpx;
  44. }
  45. }
  46. }
  47. .u-index-list{
  48. height: 100%;
  49. overflow: hidden;
  50. }
  51. .no_brand{
  52. position:fixed;
  53. bottom:0;
  54. left: 0;
  55. right: 0;
  56. padding: 20rpx;
  57. background-color: #fff;
  58. z-index: 1;
  59. ::v-deep .u-button__text{
  60. color: #108cff;
  61. }
  62. }
  63. }
  64. // 确保整个页面没有滚动条
  65. body {
  66. overflow: hidden;
  67. }
  68. // 确保 u-popup 内部也没有滚动条
  69. ::v-deep .brand_list_popup {
  70. overflow: hidden;
  71. }
  72. ::v-deep .u-index-anchor{
  73. background-color: #efefef !important;
  74. }
  75. ::v-deep .u-border-bottom{
  76. border:none;
  77. }
  78. ::v-deep .list-cell{
  79. font-size: 28rpx;
  80. display: flex;
  81. align-items: center;
  82. gap: 20rpx;
  83. padding: 16rpx;
  84. border-bottom: 1rpx solid #f0eded;
  85. .brand_img{
  86. width: 140rpx;
  87. height: 80rpx;
  88. }
  89. }