电速宝
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.wxss 1.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. .list-container {
  2. height: 100vh;
  3. background-color: #f5f5f5;
  4. }
  5. .list-scroll {
  6. height: 100%;
  7. }
  8. .list-items {
  9. padding: 20rpx;
  10. }
  11. .project{
  12. background-color: #fff;
  13. border-radius: 10rpx;
  14. padding: 20rpx;
  15. margin-top: 20rpx;
  16. }
  17. .list-item {
  18. display: flex;
  19. margin-top: 20rpx;
  20. }
  21. .item-left {
  22. width: 120rpx;
  23. height: 120rpx;
  24. margin-right: 20rpx;
  25. }
  26. .item-img {
  27. width: 100%;
  28. height: 100%;
  29. border-radius: 8rpx;
  30. }
  31. .item-right {
  32. flex: 1;
  33. display: flex;
  34. flex-direction: column;
  35. justify-content: space-between;
  36. }
  37. .item-title {
  38. font-size: 32rpx;
  39. font-weight: 600;
  40. color: #333;
  41. line-height: 1.4;
  42. overflow: hidden;
  43. text-overflow: ellipsis;
  44. display: -webkit-box;
  45. -webkit-line-clamp: 2;
  46. -webkit-box-orient: vertical;
  47. }
  48. .item-desc {
  49. font-size: 26rpx;
  50. color: #666;
  51. line-height: 1.4;
  52. overflow: hidden;
  53. text-overflow: ellipsis;
  54. display: -webkit-box;
  55. -webkit-line-clamp: 1;
  56. -webkit-box-orient: vertical;
  57. margin: 10rpx 0;
  58. }
  59. .item-meta {
  60. display: flex;
  61. justify-content: space-between;
  62. align-items: center;
  63. font-size: 24rpx;
  64. color: #999;
  65. }
  66. .item-tag {
  67. padding: 4rpx 12rpx;
  68. background-color: #f0f8ff;
  69. color: #007545;
  70. border-radius: 12rpx;
  71. }
  72. /* 状态提示样式 */
  73. .list-status {
  74. padding: 30rpx 0;
  75. text-align: center;
  76. }
  77. .loading {
  78. display: flex;
  79. align-items: center;
  80. justify-content: center;
  81. color: #999;
  82. font-size: 26rpx;
  83. }
  84. .loading text {
  85. margin-left: 10rpx;
  86. }
  87. .no-more {
  88. color: #999;
  89. font-size: 26rpx;
  90. }
  91. .empty {
  92. padding: 100rpx 0;
  93. }
  94. .empty-img {
  95. width: 200rpx;
  96. height: 200rpx;
  97. margin-bottom: 20rpx;
  98. }
  99. .empty-text {
  100. display: block;
  101. color: #999;
  102. font-size: 28rpx;
  103. margin-bottom: 30rpx;
  104. }
  105. .empty-btn {
  106. padding: 12rpx 30rpx;
  107. background-color: #007545;
  108. color: #fff;
  109. border: none;
  110. border-radius: 24rpx;
  111. font-size: 26rpx;
  112. }
  113. /* */