dahome.wxss 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. .container {
  2. margin: 0rpx 30rpx;
  3. width: calc(100% - 60rpx);
  4. overflow: hidden;
  5. /* height: calc(100vh - 40rpx); */
  6. padding: 0 0;
  7. }
  8. .top_boxs {
  9. width: 100%;
  10. height: 80rpx;
  11. display: flex;
  12. justify-content: space-between;
  13. }
  14. .search-bar {
  15. width: 55%;
  16. position: relative;
  17. display: flex;
  18. align-items: center;
  19. background-color: #fff;
  20. border: 1rpx solid #dcdfe6;
  21. border-radius: 12rpx;
  22. padding: 16rpx 20rpx;
  23. }
  24. .search-bar input {
  25. flex: 1;
  26. height: 100%;
  27. padding-right: 60rpx;
  28. font-size: 32rpx;
  29. border: none;
  30. background: transparent;
  31. }
  32. .search-icon {
  33. position: absolute;
  34. right: 20rpx;
  35. width: 45rpx;
  36. height: 45rpx;
  37. }
  38. .dropdown-box {
  39. display: flex;
  40. align-items: center;
  41. }
  42. .dropdown-item {
  43. margin-left: 20rpx;
  44. padding: 12rpx 16rpx;
  45. background-color: #409eff;
  46. color: #fff;
  47. border-radius: 8rpx;
  48. font-size: 30rpx;
  49. display: flex;
  50. align-content: center;
  51. justify-content: center;
  52. }
  53. .xiala_boxs {
  54. width: 45rpx;
  55. height: 45rpx;
  56. margin: 0;
  57. padding: 0rpx;
  58. }
  59. .list-box {
  60. width: calc(100% - 60rpx);
  61. /* margin-top: 20rpx; */
  62. display: flex;
  63. flex-wrap: wrap;
  64. }
  65. .item {
  66. width: 48%;
  67. margin-right: 4%;
  68. margin-bottom: 20rpx;
  69. background-color: #fff;
  70. border-radius: 12rpx;
  71. overflow: hidden;
  72. box-shadow: 0 2rpx 6rpx rgba(0, 0, 0, 0.1);
  73. }
  74. .item:nth-child(2n) {
  75. margin-right: 0;
  76. }
  77. .item-image {
  78. width: 100%;
  79. height: 300rpx;
  80. object-fit: cover;
  81. }
  82. .item-content {
  83. padding: 20rpx;
  84. }
  85. .item-title {
  86. font-size: 32rpx;
  87. color: #333;
  88. margin-bottom: 10rpx;
  89. }
  90. .item-subtitle {
  91. font-size: 28rpx;
  92. color: #666;
  93. margin-bottom: 10rpx;
  94. }
  95. .item-download-count {
  96. font-size: 24rpx;
  97. color: #999;
  98. margin-bottom: 20rpx;
  99. }
  100. .item-buttons {
  101. display: flex;
  102. align-items: center;
  103. align-content: center;
  104. }
  105. .preview-button {
  106. flex: 1;
  107. background-color: #409eff;
  108. color: #fff;
  109. border: none;
  110. border-radius: 40rpx;
  111. padding: 12rpx 0;
  112. font-size: 32rpx;
  113. display: flex;
  114. justify-content: center;
  115. align-content: center;
  116. }
  117. .download-icon {
  118. width: 45rpx;
  119. height: 40rpx;
  120. margin-left: 20rpx;
  121. }
  122. .download-icons {
  123. width: 45rpx;
  124. height: 40rpx;
  125. margin-right: 20rpx;
  126. }
  127. .list_boxsss {
  128. /* width: calc( 100% - 60rpx); */
  129. padding: 0rpx 30rpx;
  130. height: calc(100% - 10rpx);
  131. position: fixed;
  132. top: 120rpx;
  133. left: 0;
  134. }
  135. .loading-text {
  136. padding-top: 20rpx;
  137. width: 100%;
  138. text-align: center;
  139. }
  140. .no-more-text {
  141. padding-top: 20rpx;
  142. width: 100%;
  143. text-align: center;
  144. }