imghome.wxss 2.1 KB

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