list.scss 811 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. font-size: 28rpx;
  28. color: #333333;
  29. padding: 20rpx 0;
  30. }
  31. .exp {
  32. height: 34rpx;
  33. font-size: 24rpx;
  34. margin-bottom: 8rpx;
  35. color: #999999;
  36. }
  37. }
  38. }
  39. /* 文本行数限制 */
  40. .line-1 {
  41. overflow: hidden;
  42. white-space: nowrap;
  43. text-overflow: ellipsis;
  44. }