list.scss 854 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. .item {
  2. width: 100vw;
  3. margin-bottom: 20rpx;
  4. background-color: #ffffff;
  5. .top {
  6. display: flex;
  7. align-items: center;
  8. justify-content: space-between;
  9. height: 80rpx;
  10. width: 100%;
  11. border-bottom: 1rpx solid #ddd;
  12. box-sizing: border-box;
  13. padding-right: 30rpx;
  14. font-size: 28rpx;
  15. padding-left: 30rpx;
  16. box-sizing: border-box;
  17. text{
  18. color: var(--assist);
  19. }
  20. }
  21. .content {
  22. position: relative;
  23. padding-bottom: 20rpx;
  24. padding-left: 30rpx;
  25. box-sizing: border-box;
  26. .num {
  27. height: 40rpx;
  28. line-height: 40rpx;
  29. font-size: 28rpx;
  30. color: #333333;
  31. padding: 20rpx 0;
  32. }
  33. .exp {
  34. height: 34rpx;
  35. font-size: 24rpx;
  36. margin-bottom: 8rpx;
  37. color: #999999;
  38. }
  39. }
  40. }
  41. /* 文本行数限制 */
  42. .line-1 {
  43. overflow: hidden;
  44. white-space: nowrap;
  45. text-overflow: ellipsis;
  46. }